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.
NetBeans IDE Dev (Build 200702281900) 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b04 Linux version 2.6.17-11-generic running on i386 en_US (nb); UTF-8 There is a problem with running nb with GTK L&F under KDE. KDE tries to substitute GTK theme with it's own Qt theme by default (to make GTK applications look native in KDE). In case of netbeans the result is a disaster - see screen shot. Everything works fine, but it looks horrible. Netbeans runs with GTK L&F by default in JDK 1.6.0_01. But in KDE, it doesn't look neither good or native. Metal theme doesn't look native in KDE, but it looks OK. It is easy to setup KDE to use GTK themes when running GTK applications, but it is not default KDE setting. So Netbeans should run with Metal theme in KDE by default. An option to use GTK would be nice for advanced users - they could use it with some "real" GTK theme and not with KDE's GTK-Qt substitute.
Created attachment 39044 [details] Netbeans in KDE using gtk-qt theme
JDK bug, nothing we can do on NetBeans side. JDK bug entered: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6536584
Created attachment 41165 [details] test from JDK team to run on reporter's machine
reopening, we need pchytil to run the test on his configuration when he reproduced the bug
Reassigned to pchytil. Please, run attached test on your configuration that you used to reproduce the bug and put results here, thanks a lot.
I'm now unable to reproduce the issue - even on the same machine, with same IDE and and same JDK. I've only updated Kubuntu (which is installed on the machine) since the time, when the issue appeared. I've also executed the test in both KDE and GNOME. Results are not surprising: KDE (with GTK-Qt theme installed and used by other applications like firefox): System LAF = javax.swing.plaf.metal.MetalLookAndFeel GNOME: System LAF = com.sun.java.swing.plaf.gtk.GTKLookAndFeel Only way to force NetBeans run using the GTK-Qt theme is having both KDE and GNOME installed, starting IDE from GNOME. And I agree, that it is not common use case, thus it is not an issue.
v/c