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 195324 - Missing active "Display as" option
Summary: Missing active "Display as" option
Status: VERIFIED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords: GTK
Depends on:
Blocks:
 
Reported: 2011-02-11 11:27 UTC by Jiri Kovalsky
Modified: 2011-12-10 19:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
"Display As" submenu with invisible "Decimal" item. (79.29 KB, image/png)
2011-02-11 11:27 UTC, Jiri Kovalsky
Details
Invisible checked items in the View main menu. (116.56 KB, image/png)
2011-02-11 13:10 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2011-02-11 11:27:43 UTC
Created attachment 105859 [details]
"Display As" submenu with invisible "Decimal" item.

Product Version: NetBeans IDE 7.0 Beta 2 (Build 201102100000)
Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09
System: Linux version 2.6.35-22-generic running on amd64; UTF-8; cs_CZ (nb)
Userdir: /home/cesilko/.netbeans/7.0beta2

Description:
============
Variables view does not for some reason display actual option determining how variable values should be displayed. It looks like the text uses white or background color, because if mouse hovers over the item it all of a sudden gets displayed correctly. Please look at the attached screenshot. I am on Linux Mint (Julia) with Gnome window manager.

Steps to reproduce:
===================
1. Create new Anagram Game sample application.
2. Toggle breakpoint at line 54 in Anagrams.java file.
3. Invoke "Debug > Debug Project" from the main menu.
4. Once the breakpoint is hit, create new watch "wordIdx".
5. Right click its value "O" and select "Display As" submenu.
6. The "Decimal" option should not be visible.
Comment 1 Jiri Kovalsky 2011-02-11 13:10:50 UTC
Created attachment 105866 [details]
Invisible checked items in the View main menu.
Comment 2 Jiri Kovalsky 2011-02-11 13:13:19 UTC
This looks like a more serious problem. Please see the second screenshot which shows that it concerns main "View" menu as well! The interesting observation is that it affects only selectable menu items. Window system's fault?

Martine please reassign upon your evaluation. Thanks.
Comment 3 Martin Entlicher 2011-02-11 13:55:44 UTC
I have no problems on my Linux Ubuntu 10.10.
I've even installed JDK 1.6.0_23.
Product Version: NetBeans IDE Dev (Build 110128-55d8fb030ed4)
Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09
System: Linux version 2.6.35-25-generic-pae running on i386; UTF-8; en_US (nb)

I see all menu items correctly. I've tried Metal L&F and default GTK L&F (which is quite ugly).
But your screenshot does not look like my GTK L&F, therefore it's probable that Mint have a different L&F.

From this it looks like it's Mint's L&F problem.
Comment 4 Martin Entlicher 2011-02-11 14:04:58 UTC
Jirko, can you please test if the menus are visible correctly on your system with some usable L&F, like --laf javax.swing.plaf.metal.MetalLookAndFeel ?
Comment 5 Jiri Kovalsky 2011-02-11 14:54:56 UTC
The bug is NOT reproducible with --laf javax.swing.plaf.metal.MetalLookAndFeel.
Comment 6 Martin Entlicher 2011-02-11 15:04:48 UTC
Thanks. Looks like Mint's GTK bug, really.
I wasn't able to find a bug like this mentioned somewhere though.
Last thing - could you check if this happens to be fixed on JDK 7?
Comment 7 Jiri Kovalsky 2011-02-11 15:21:47 UTC
Where can I get the latest JDK 7 please? I only found internal sources with 2 years old build #74.
Comment 8 Martin Entlicher 2011-02-11 15:27:35 UTC
Unfortunately I did not find it at java.sun.com, it seems to be available only at http://jdk7.java.net/ Thanks.
Comment 9 Jiri Kovalsky 2011-02-11 15:52:41 UTC
No, build #128 from February 3rd does not help. Items are still invisible...

Product Version: NetBeans IDE 7.0 Beta 2 (Build 201102052128)
Java: 1.7.0-ea; Java HotSpot(TM) 64-Bit Server VM 20.0-b07
System: Linux version 2.6.35-22-generic running on amd64; UTF-8; cs_CZ (nb)
Userdir: /home/cesilko/.netbeans/7.0beta2
Comment 10 Jiri Kovalsky 2011-02-24 09:04:28 UTC
This is not a JDK 7 specific bug.
Comment 11 Antonin Nebuzelsky 2011-03-07 16:42:18 UTC
Confirmed by the reporter as reproducible with SwingSet2 demo. Not NetBeans specific. A problem specific to "Mint-X-Metal" gnome theme. Switching to a different gnome color theme fixed the problem.

Closing wontfix.
Comment 12 Jiri Kovalsky 2011-03-08 09:17:46 UTC
Correct, verifying...
Comment 13 blaxcan 2011-12-10 19:37:58 UTC
Hello, in Linux Mint12 it isn't java problem.
I just turn off "Menus have Icons" in "Advanced Settings" and the problem has disappeared.