GNOME Bugzilla – Bug 82110
Menu item mnemonics don't work when menu is activated with mouse
Last modified: 2011-02-04 16:11:52 UTC
When a menu that has menu items that have mnemonics is activated with the mouse, the user cannot use the keyboard mnemomic to activate the menu item until the mouse is moved into the menu itself. To reproduce: start gtk-demo bring up Item Factory click on the File menu Press 'n' to activate the New item note that the item isn't activated move mouse down to the first menu item press 'n' to activte the New item note that the New item is activated.
I think the current behavior might be the right behavior. Think of: _File _Edit ... _New _Erase If the focus is on the "File" menu, E should give you the edit menu, not the Erase item.
Too bad that's not the current behavior either... I would argue that the behavior would be the same as other overloaded mnemonics. I.e., if there were: _File _Edit _Exit then pressing 'e' would toggle between Exit and Edit, requiring you to hit an activation key to take the action.
Hmm... just double-checked this on Windoze to see what the behaviour is there, and it's this: when a menu item has focus, only the items on the menu can be accessed by pressing the mnemonic. Even if an item on the menu clashes with the menu title itself, the item on the menu is activated.
Tis is the same as bug 89336, just a different method of getting to the "menu item on the menu bar is selected" state. *** This bug has been marked as a duplicate of 89336 ***