RFR: 8155030: The Menu Mnemonics are always displayed for GTK LAF [v2]
Abhishek Kumar
abhiscxk at openjdk.org
Fri May 10 04:57:03 UTC 2024
On Thu, 9 May 2024 17:47:03 GMT, Phil Race <prr at openjdk.org> wrote:
> Or perhaps this should be pushed down to the GTK L&F
I tried to have this implementation in GTK L&F but there were some build issue I was facing. So, moved it to Synth L&F but that impacts Nimbus L&F as well.
> This doesn't seem like an ideal way of doing this.
I don't see any precedent for this approach in the Swing implementation.
We need some method that is more about the properties of a L&F rather than keying off name.
Please look around at LookAndFeel and UIDefaults (etc) for a place you could store a property that tells you what to do.
Or perhaps you this "altProcessor" would be the value you retrieve and if it is non-null you install it.
Sure, I will check for the fix other way around.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18992#discussion_r1596253167
More information about the client-libs-dev
mailing list