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

Abhishek Kumar abhiscxk at openjdk.org
Fri May 24 06:29:24 UTC 2024


On Thu, 23 May 2024 17:44:15 GMT, Phil Race <prr at openjdk.org> wrote:

>> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Alt press property added for GTK L&F
>
> src/java.desktop/share/classes/javax/swing/plaf/synth/SynthGraphicsUtils.java line 677:
> 
>> 675:                 // Check to see if the Mnemonic should be rendered in GTK.
>> 676:                 if ((UIManager.getLookAndFeel().getName().contains("GTK"))
>> 677:                     && SynthLookAndFeel.isMnemonicHidden() == true) {
> 
> I was not expecting this check for GTK to still be here.

I missed this to update last time.
Updated now to check using alt press property.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18992#discussion_r1612897838


More information about the client-libs-dev mailing list