<Swing Dev> [13] RFR JDK-8226964 [Yaru] - GTK L&F: There is no difference between menu selected and de-selected
Pankaj Bansal
pankaj.b.bansal at oracle.com
Wed Jul 31 22:16:50 UTC 2019
Hi All,
Please review the following fix for jdk13.
Bug:
https://bugs.openjdk.java.net/browse/JDK-8226964
webrev
http://cr.openjdk.java.net/~pbansal/8226964/webrev00/
Issue:
The menu is not getting highlighted on being selected.
The issue is only reproducible on Yaru theme as the menu highlight color used by java is very similar to the background color of menubar. So the highlight is not properly visible due to poor contrast.
Fix:
The fix checks that if the background menubar color and highlight color are very close, make the highlight more darker or lighter, so that it is clearly visible.
Testing:
The fix can be verified by running SwingSet2. I have verified this on Ubuntu 16.04, 18.04, 19.04 and OEL 7.5.
Regards,
Pankaj Bansal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20190731/7cfbdc48/attachment.html>
More information about the swing-dev
mailing list