Community
Participate
Working Groups
When 1) there is two menu items in the menu bar, one of which has a mnemonic set for a given letter (say, 'P'), and another menu doesn't have a mnemonic, but starts with the same letter, the user won't be able to access that menu using the Alt-P shortcut from views that have a control as focused widget.
Reproducibility steps: 1) Create a plugin that adds a new menu that starts with 'P', but doesn't contain any mnemonic, for example the 'Hello World' PDE plugin template, and change the name of the "Sample Menu" menu to "Profiler". 2) Once that plugin is installed, set the 'Package Explorer' view active, and verify that the key shortcut 'Alt-P' does not work. 3) Set the 'Outline' view active, and verify that the key shortcut 'Alt-P' does work. The shortcut should work in both cases.
Created attachment 196128 [details] Fix. Here's a fix for this bug.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.
Problem is still present, and leads to unpredictable behavior.
*** Bug 244061 has been marked as a duplicate of this bug. ***
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/175585
Created attachment 285530 [details] Testcase
Note that this bug is only triggered when SWT.KeyDown or SWT.KeyUp is hooked. When not hooked, the default windows behavior is used this is the scope of Bug 570998.
*** Bug 177294 has been marked as a duplicate of this bug. ***