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

Disabling a frame does not disable the menus on the frame, on solaris/linux.

XMLWordPrintable

    • b43
    • sparc
    • solaris_9
    • Verified

      I have a frame with a menu and a button. On clicking the button, I am disabling the the frame by calling frame.setEnabled(false). On win32, menu also gets disabled and not clickable after that. But on Solaris / Linux, menu is not getting disabled and the user is able to click the menu and click on any of the menuitems inside the menu. This is incorrect. Menu should be disabled when the frame itself is disabled. This is reproducible on XToolkit as well Motif.

      I am able to reproduce this right from 1.4 on solaris9 (CDE) as well as Linux.

      I have attached a sample test. Execute the sample test. You would see a frame with a menu and a button. Click the button. The entire frame will be disabled. Now try clicking the menu. If the menuitems drop-down, the bug is reproduced.
      ###@###.### 10/27/04 09:00 GMT

            vbaranovsunw Vyacheslav Baranov (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: