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

MenuItems within a disabled menu are accessible through Accelerator keys

XMLWordPrintable

      A menu contains 4 menu items and I have set an accelerator key for one of the menu items. Now when I disable the menu, I expect all the menuitems within the menu to be disabled alongwith their accelerator keys. But unfortunately, the menu item inside the disabled menu is still accessible through the accelerator key, in the sense that pressing the accelerator key triggers an action event for that menu item.

      This is reproducible on SolSparc10 as well as WinXP atleast since 1.4.2.

      I have attached a sample test. Execute the sample test. Click on the 'Messages' menu. Check whether 'move' menu is disabled. Move menu contains a menu item 'Work Account' which is set with the accelerator key 'ALT + W'. Press ALT+W. If you see an action event on the console, the bug is reproduced.

            shickeysunw Shannon Hickey (Inactive)
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: