I've tested this fix on
- OL 7.3 (aka RH 7.3)
- OL 7.6 (aka RH 7.6)
- Ubuntu 16.04
- Ubuntu 18.04
- Ubuntu 18.10

All looks good to me.

-phil.

On 2/12/19 1:42 PM, Pankaj Bansal wrote:

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:* [email protected]
*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


Reply via email to