Hi All,

Please review the following fix. 


Bug: https://bugs.openjdk.java.net/browse/JDK-8214112

webrev: http://cr.openjdk.java.net/~pbansal/8214112/webrev00/

Issue:

The whole text in target JPasswordField image are not selected.

 

Fix:

This bug is similar to https://bugs.openjdk.java.net/browse/JDK-8218473. Gtk3 
does not set the selected background color for some widgets like 
SPINNER_TEXT_FIELD, FORMATTED_TEXT_FIELD, PASSWORD_FIELD and TEXT_FIELD after 
gtk version 3.20. The TEXT_FIELD widget case was corrected by 
https://bugs.openjdk.java.net/browse/JDK-8218473. This fix corrects the other 
widgets.

 

This can be verified by running any sample/demo of these widgets and selecting 
the text in the widget. This issue is coming in Adwaita and Yaru themes. So, 
this will be easily reproducible on OEL 7.5, 7.6 and Ubuntu 18.10. To reproduce 
this on Ubuntu 18.04, switch the gtk3 theme to Adwaita. I have tested this on 
Ubuntu 18.10, 18.04, 16.04 and OEL 7.5.


Regards,
Pankaj Bansal

Reply via email to