RFR: 8155030: The Menu Mnemonics are always displayed for GTK LAF

Abhishek Kumar abhiscxk at openjdk.org
Tue May 7 17:46:53 UTC 2024


On Tue, 7 May 2024 10:40:41 GMT, Tejesh R <tr at openjdk.org> wrote:

> The fix applies to single/first menu, its doesn't apply to other Menu items when there are more than one. Since you have taken _gedit_ as reference where one Menu item is present you might have followed according to it, but when you see other native applications like _Libre_, on press of Alt key all the Menu Mnemonics are toggled. It would be better to consider update the fix for all Menus.

Checked with the SwingSet2 demo with GTK Look and Feel where more than one menu or menuitem are available to test. It is working as expected on press of ALT key, the mnemonics are toggled between show/hide for all menus and the menu items if menu is expanded.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18992#issuecomment-2098981652


More information about the client-libs-dev mailing list