This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In GTK it seems that if I make changes to Fonts & Colors I get a corrupted dialog display. Also I sometimes see a repaint coming from the GC toolbar button (I have it in the main menu) - no idea why. Or sometimes I see a fragment of the menu bar superimposed over some checkbox as I mouse over it. Weird effects. Corrected by repaint, e.g. moving dialog offscreen and back on again.
Created attachment 14794 [details] Example screenshot after changing comment font to plain (not italic)
The display of the coloring editor in Fonts & Colors is entirely done by using org.openide.explorer.propertysheet.PropertyPanel. We construct PropertyModel impl for org.netbeans.modules.editor.options.ColoringBean. Therefore transferring to openide/propertysheet for evaluation. BTW I've searched "+gtk +repaint" Bug Parade and there is several issues related to GTK L&F repaint deficiencies although I did not find a one that would correspond to our problem. It could be worth to try the latest JDKs whether some of the issues got fixed helping our problem to get eliminated too. Just guessing.
I *was* using the latest JDK, actually (build 50).
Fixed. GTK ignores setOpaque() on JComponent subclasses (among other things) Checking in PropertyPanel.java; /cvs/openide/src/org/openide/explorer/propertysheet/PropertyPanel.java,v <-- PropertyPanel.java new revision: 1.144; previous revision: 1.143 done Processing log script arguments... Mailing the commit message to cvs@openide.netbeans.org (from tboudreau@netbeans.org)
Did you mean to mark this FIXED or not?
Fixed.
verified in [nb_dev](200407281800)
It's seems that the correction done via the boolean isGtk is not available with jdk 7 because the parent hierarchy of the com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel changed between jdk 6 and jdk 7. Is it a wanted behavior ( problem solved in jdk 7) ? A test project can be found in the forum : https://forums.netbeans.org/download.php?id=3447 Launching the Test file with JRE 6 and JRE 7 gives different results ( see the background color of button ...)
Please open a new bug, since this one seems unrelated. If gtk l&f is now a subclass of nimbus, probably most gtk-related fixes are no longer correct.