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

REGRESSION: Unable to click the menu when the frame is non-focusable, win32

XMLWordPrintable

    • x86
    • windows_xp

      I have a non-focusable frame with a menu and a button. Since it is non-focusable, it is not active and KeyboardFocusManager.getActiveWindow() returns null (title bar is grayed out). When the frame is shown, I am able to click the button but I could not click the menu. I don't see any direct relationship between focusability and accessing the menu through mouse. This looks like a bug.

      This is reproducible only on win32 since 1.4.2. This is not reproducible on earlier releases. This is not reproducible on solaris / linux with XToolkit/ Motif toolkit.

      I have attached a sample test. Execute the sample test. You would see a frame with a menu and a button. Try clicking the menu using mouse. If you are not able to click, the bug is reproduced.
      ###@###.### 10/20/04 07:10 GMT

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: