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

 

Reply via email to