<Swing Dev> [13] RFR JDK-8214253: Tooltip is transparent rather than having a black background
Pankaj Bansal
pankaj.b.bansal at oracle.com
Fri Mar 1 07:55:22 UTC 2019
Hi All,
Please review the following fix.
Bug:
https://bugs.openjdk.java.net/browse/JDK-8214253
webrev
http://cr.openjdk.java.net/~pbansal/8214253/webrev00/
Issue:
>From gtk 3.20, gtk has changed the way themes and styles work for many widgets. Due to which, jdk is not able to render some widgets properly including JTooltip. The tooltip background looks transparent, but tooltip background is of same color as background panel.
gtk 3.20 release notes: https://developer.gnome.org/gtk3/stable/ch32s10.html
Fix:
This patch fixes rendering issues in JTooltip by using correct way to define styles.
Testing:
This fix can be verified by running SwingSet2 and using the tooltip. I have verified this on Ubuntu 16.04, 18.04, 18.10 and OEL 7.5.
Regards,
Pankaj Bansal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20190228/14273226/attachment.html>
More information about the swing-dev
mailing list