This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 95739 - highlighted shortcut keys for menus
Summary: highlighted shortcut keys for menus
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ide
Keywords: A11Y, UI
Depends on:
Reported: 2007-02-15 20:49 UTC by brdohman
Modified: 2010-12-02 21:32 UTC (History)
1 user (show)

See Also:
Exception Reporter:

example of what is being asked for feature (18.30 KB, application/octet-stream)
2007-02-15 20:56 UTC, brdohman

Note You need to log in before you can comment on or make changes to this bug.
Description brdohman 2007-02-15 20:49:53 UTC
Instead of right clicking on a file and then selecting run from the menu that 
appears, or right clicking on a form object and going through the different 
event menus with my mouse, I would like to see what you might call hot keys or 
highlighted keys to navigate those menus.  For instance, I right click on 
a .java file and am able to press r to run it without having to select the run 
with my mouse.  Or when I click on a component of a frame and I want to add an 
event to that component, I could right click on that component, press e to 
bring up the events menu, then press m for the mouse menu and then have press c 
for the mouse clicked, or press e for mouse entered or x for mouse exited, or 
press p for mouse press or r for mouse release, after pushing one of these keys 
it would take me to the source code editor where my mouse event is placed, for 
me to add code to.

Also possibly add the ability to bind shortcut keys to menu items.

If more information or ideas is needed please contact me at
Comment 1 brdohman 2007-02-15 20:56:01 UTC
Created attachment 38579 [details]
example of what is being asked for feature
Comment 2 Marian Petras 2007-02-16 17:26:15 UTC
Thank you for filing this enhancement request.

I does not belong to the Utilities module, reassigned to the general "IDE"
category - it should be reassigned to the proper category soon.
Comment 3 Petr Dvorak 2008-04-22 15:04:05 UTC
Do I understand it correctly that this issue is about missing mnemonics in the pop-up menus? Well, they are there, but
it is true, that there is only a few items with mnemonics in most of the pop-up menus.

For example if you invoke a pop-up menu on the project root node in the Projects view, there is exactly one (yes, one)
item with a mnemonics ("&Find") and the keyboard shortcuts are not present in the menu either (again, there are some,

I have already experienced difficulties using a pop-up menus myself. I have a laptop and I tend to use a keyboard for
most of the manipulations with the NB IDE. I can't just remember every single keyboard shortcut, but sometimes it is
logical that some action must be in the context menu of some NB IDE control, so I open the context menu (using a context
menu key) so that I can see the options... Then I have to scroll down using arrow keys in order to select some option. A
mnemonics would be much more convenient.

I think appropriate mnemonics should be added to the pop-up menus (I know it is hardly possible to add mnemonics to
every pop-up menu item, but there should be much more mnemonics present in the pop-up menus). I also think that the
current state is a minor A11Y bug (P4, P5), but I will leave it as an enhancement.
Comment 4 Jaromir Uhrik 2010-11-01 07:34:31 UTC
As I understand the part with the mnemonic is the duplicate of issue #83952. Could you please confirm that (and also comment the former post of Petr Dvorak)?
Comment 5 draikes 2010-12-02 21:32:34 UTC
As noted in bug: 83952, part of the problem with enabling mnemonics is translation issues.  If the mnemonic is set for english, then if the ide is translated into another language that mnemonic may not be valid.

There is also the issue of duplicate mnemonics within a popup menu.  

Between the translation and duplication issues, this tends to be a less feasible request. However, mnemonics in menus are definitely helpful most fo the time.