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

Popup menu is not disabled on XToolkit even when calling setEnabled (false)

XMLWordPrintable

    • b43
    • x86
    • linux_sun
    • Verified

      I am adding multiple menus to a popup menu and disabling the popup menu by calling setEnabled(false). When right clicking inside the textarea, the popup menu appears but it is not disabled on XToolkit. I am able to navigate and click any of the menuitems. On win32 and Motif toolkit, all the menus in the popup menu are disabled. Hence this is a bug in XToolkit.

      This is reproducible on Solaris / Linux with XToolkit. Reproducible on Tiger as well as Mustang.

      I have attached a sample test. Execute the sample test. You would see a frame with a textarea. Right click inside the textarea. A popup menu will appear. If none of the menus in the popup menu is disabled, the bug is reproduced.
      ###@###.### 10/26/04 12:31 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: