-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b82
-
x86
-
linux
A DESCRIPTION OF THE REGRESSION :
JCheckBoxMenuItems and JRadioButtonMenuItems are not rendered properly when "com.sun.java.swing.plaf.gtk.GTKLookAndFeel" is set. The label is fine but the checkbox is almost invisible.
Gtk-WARNING **: gtkwidget.c:6689: widget class `GtkCheckMenuItem' has no property named `indicator_size'
is printed on stderr.
REPRODUCIBLE TESTCASE OR STEPS TO REPRODUCE:
In a swing application call UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");
and add a JCheckBoxMenuItem to a JMenu.
Can also be seen at the SwingSet2 demo. Launch it, select "GTK Style Look & Feel" at the "Look & Feel" menu item and than reopen "Look & Feel" menu item.
RELEASE LAST WORKED:
5.0 Update 6
RELEASE TEST FAILS:
mustang-b70
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Correctly rendererd menu items with text and checkbox
ACTUAL -
No checkbox is displayed with the checkbox or radiobutton menu items.
OBSERVED APPLICATION IMPACT:
GTK L&F can not be used with mustang applications
This occured between builds 1.6 b41 and b42. The OS I tested this with was RHAS3. As noted by the user, you can see the checkbox is almost invisible in the SwingSet2 demo once you select the "GTK Style Look & Feel" at the "Look & Feel" menu.
JCheckBoxMenuItems and JRadioButtonMenuItems are not rendered properly when "com.sun.java.swing.plaf.gtk.GTKLookAndFeel" is set. The label is fine but the checkbox is almost invisible.
Gtk-WARNING **: gtkwidget.c:6689: widget class `GtkCheckMenuItem' has no property named `indicator_size'
is printed on stderr.
REPRODUCIBLE TESTCASE OR STEPS TO REPRODUCE:
In a swing application call UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");
and add a JCheckBoxMenuItem to a JMenu.
Can also be seen at the SwingSet2 demo. Launch it, select "GTK Style Look & Feel" at the "Look & Feel" menu item and than reopen "Look & Feel" menu item.
RELEASE LAST WORKED:
5.0 Update 6
RELEASE TEST FAILS:
mustang-b70
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Correctly rendererd menu items with text and checkbox
ACTUAL -
No checkbox is displayed with the checkbox or radiobutton menu items.
OBSERVED APPLICATION IMPACT:
GTK L&F can not be used with mustang applications
This occured between builds 1.6 b41 and b42. The OS I tested this with was RHAS3. As noted by the user, you can see the checkbox is almost invisible in the SwingSet2 demo once you select the "GTK Style Look & Feel" at the "Look & Feel" menu.