<Swing Dev> [12] RFR JDK-8218469, JDK-8218470, JDK-8218472, JDK-8203627 : GTK3 rendering fixes for tck-red bugs

Pankaj Bansal pankaj.b.bansal at oracle.com
Tue Feb 12 21:42:26 UTC 2019


Hi All,

 

Some more fixes are included in the patch to fix some rendering issues with RadioButton or CheckBox in MenuItems, RadioButton and Checkbox state flags. 

webrev: http://cr.openjdk.java.net/~pbansal/8218469/webrev01/

 

-Pankaj

 

From: Pankaj Bansal 
Sent: Tuesday, February 12, 2019 11:38 PM
To: swing-dev at openjdk.java.net
Subject: <Swing Dev> [12] RFR JDK-8218469, JDK-8218470, JDK-8218472, JDK-8203627 : GTK3 rendering fixes for tck-red bugs

 

Hi All,

Please review the following fix.


Bug: 

https://bugs.openjdk.java.net/browse/JDK-8218469 -  JSlider display issue with slider for GTKLookAndFeel

https://bugs.openjdk.java.net/browse/JDK-8218470 -  JScrollBar display issue with GTKLookAndFeel

https://bugs.openjdk.java.net/browse/JDK-8218472 - JProgressBar display issue with GTKLookAndFeel

https://bugs.openjdk.java.net/browse/JDK-8203627 - Swing applications with JRadioButton and JCheckbox fail to render correctly when using GTK3 and the GTK L&F    

 

webrev

http://cr.openjdk.java.net/~pbansal/8218469/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 JSlider, JProgressBar, JScrollBar, JRadioButton, JCheckbox.

gtk 3.20 release notes: https://developer.gnome.org/gtk3/stable/ch32s10.html

 

Fix:

This patch fixes rendering issues in all these widgets by using correct way to define styles. 


Regards,
Pankaj Bansal

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/swing-dev/attachments/20190212/b02af0c8/attachment.html>


More information about the swing-dev mailing list