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.

Bug 205804 - GTK+ LAF uses bad menu font color
Summary: GTK+ LAF uses bad menu font color
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: L&F
Depends on:
Blocks:
 
Reported: 2011-12-01 20:11 UTC by LiborJelinek
Modified: 2011-12-05 10:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Example font color of native/other Swing apps vs. NB IDE (54.56 KB, image/png)
2011-12-01 20:11 UTC, LiborJelinek
Details
Not only NB IDE but every Swing app uses bad menu font color (115.34 KB, image/png)
2011-12-04 02:29 UTC, LiborJelinek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LiborJelinek 2011-12-01 20:11:16 UTC
Created attachment 113726 [details]
Example font color of native/other Swing apps vs. NB IDE

To get the most native look I added

--laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel

in netbeans_default_options in etc/netbeans.conf file. Obtained LAF is nearly perfect but bad color of font used in menubar.

In native GTK+ apps and other Swing apps it's black, NB IDE uses white. Please have a look on attachment.
Comment 1 Stanislav Aubrecht 2011-12-02 12:50:56 UTC
please attach a screenshot of swingset demo application running in the same environment

i also need the os and java version info, thanks
Comment 2 LiborJelinek 2011-12-04 02:29:53 UTC
Created attachment 113798 [details]
Not only NB IDE but every Swing app uses bad menu font color
Comment 3 LiborJelinek 2011-12-04 02:30:57 UTC
I am so sorry. Not only NB IDE but every Swing app including SwingSet2 with GTK+ LAF use bad menu font color...

(On Xubuntu 11.10 32b, Greybird theme and Oracle JDK 7.)

$ java -version
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Server VM (build 21.1-b02, mixed mode)

$ uname -a
Linux libor-OptiPlex-360 3.0.0-13-generic-pae #22-Ubuntu SMP Wed Nov 2 15:17:35 UTC 2011 i686 i686 i386 GNU/Linux
Comment 4 Stanislav Aubrecht 2011-12-05 09:45:07 UTC
file a JDK bug please and post the bug link here, thanks
Comment 5 LiborJelinek 2011-12-05 10:43:07 UTC
I'm always unsure where... To Oracle/Sun's bug parade or to OpenJDK?

Alternatively maybe I also should file a bug on Xubuntu issuezilla Launchpad...