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

two WM_TAKE_FOCUS messages on one mouse click in GNOME Metacity 2.16.0

XMLWordPrintable

    • b27
    • x86
    • linux
    • Not verified

      OS: Linux Fedora Core 6, GNOME Metacity 2.16.0 (not reproducible on KDE)
      JDK: 7.0 b18

      There's an owner Frame F1 and its owned Window with a button insude. There's also
      another Frame F2. I'm clicking the button - the Window becomes the focused window,
      F1 becomes the active window. Then I'm clicking F2, it gains focus, and then I'm
      clicking F1's title.

      EXPECTED:
      The button in the Window should gain focus as it had it before.

      ACTUAL:
      The button gains focus, but then F1 immediately steals it.

      It can be reproduced with the following regression test:
      test/closed/java/awt/Focus/ActualFocusWindowRetaining/ActualFocusWindowRetaining.java

            ant Anton Tarasov (Inactive)
            ant Anton Tarasov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: