Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7124217

[macosx] key events are posted to the event queue twice

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7
    • Fix Version/s: 7u4
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      os_x

      Description

      http://java.net/jira/browse/MACOSX_PORT-761 submitted 2011/12/01 by Anton Tarasov
      The CPlatformView.deliverKeyEvent method wraps a peer.dispatchKeyEvent call (which posts the event to the queue) into EventQueue.invokeLater. It looks like a temporary workaround (because this is not a standard way to dispatch event in AWT). The problem it solves (solved) is unclear. I compared the behavior with and without the invocation against test/java/awt/Focus and found a single failure with the invocation call commented. It's ShowFrameCheckForegroundTest. So, with help of this test the issue should be investigated.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ant Anton Tarasov
              Reporter:
              vasya Vassili Igouchkine (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: