<Swing Dev> [13] RFR JDK-8214112: The whole text in target JPasswordField image are not selected.

Pankaj Bansal pankaj.b.bansal at oracle.com
Tue Feb 26 10:33:20 UTC 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20190226/d328b1b9/attachment.html>


More information about the swing-dev mailing list