<Swing Dev> [13] RFR JDK-8214253: Tooltip is transparent rather than having a black background

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Fri Mar 1 23:18:00 UTC 2019


Looks fine.

On 28/02/2019 23:55, Pankaj Bansal wrote:
> 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
> 


-- 
Best regards, Sergey.


More information about the swing-dev mailing list