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 230710 - [nimbus] Text is not visible in the disabled buttons and menus in nimbus look and feel
Summary: [nimbus] Text is not visible in the disabled buttons and menus in nimbus look...
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Marian Mirilovic
URL:
Keywords:
: 230711 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-06-04 09:44 UTC by adithyank
Modified: 2013-06-07 11:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
showing invisible text in disabled buttons (55.51 KB, image/png)
2013-06-04 11:55 UTC, adithyank
Details
Real Nimbus look and feel in JDK 1.7 u21 (58.22 KB, image/png)
2013-06-06 08:11 UTC, Stanislav Aubrecht
Details
IDE log (64.29 KB, text/plain)
2013-06-06 22:01 UTC, adithyank
Details
screenshot of non-readable disabled button (121.46 KB, image/png)
2013-06-07 09:57 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adithyank 2013-06-04 09:44:59 UTC
[ BUILD # : 20130604 ]
[ JDK VERSION : 1.7.0_21 ]

If nimbus look and feel is set for the IDE, then text is not visible on the
disabled buttons. Only button is visible.

Similarly, text is not available for disabled menu items
Comment 1 adithyank 2013-06-04 09:50:20 UTC
In metal laf, text is visible in disabled menu items and buttons
attached screenshot for showing invisible text in disabled buttons.
Comment 2 adithyank 2013-06-04 11:55:04 UTC
Created attachment 135316 [details]
showing invisible text in disabled buttons
Comment 3 Marian Mirilovic 2013-06-06 05:52:06 UTC
*** Bug 230711 has been marked as a duplicate of this bug. ***
Comment 4 Marian Mirilovic 2013-06-06 05:53:19 UTC
I think this is an issue in Nimbus, so can't do anything about it .. Standa ?
Comment 5 adithyank 2013-06-06 06:52:57 UTC
but, in other java apps with nimbus look and feel, the text is visible in the disabled buttons. only after confirming that, i raised this bug
Comment 6 Stanislav Aubrecht 2013-06-06 08:10:27 UTC
The screen shot doesn't show Java Nimbus look and feel. It looks more like Nimbus theme in GTK look and feel.
Comment 7 Stanislav Aubrecht 2013-06-06 08:11:09 UTC
Created attachment 135423 [details]
Real Nimbus look and feel in JDK 1.7 u21
Comment 8 Stanislav Aubrecht 2013-06-06 08:11:50 UTC
Please provide OS version info and your IDE log and reopen, thanks.
Comment 9 adithyank 2013-06-06 22:01:35 UTC
Created attachment 135470 [details]
IDE log
Comment 10 adithyank 2013-06-06 22:03:53 UTC
OS : Cent OS Version 6.4. Reopening after attaching the IDE Log
Comment 11 Stanislav Aubrecht 2013-06-07 05:54:26 UTC
You are using some third-party tool to change the look and feel: 

INFO [com.adi.dev.java.netbeans.plugins.laf.changer.Installer]: Configured Look and feel class name = javax.swing.plaf.nimbus.NimbusLookAndFeel

In NetBeans you must use --laf Nimbus command-line parameter to use Nimbus look and feel.
Comment 12 Marian Mirilovic 2013-06-07 09:57:35 UTC
Created attachment 135490 [details]
screenshot of non-readable disabled button

Disabled button is not really readable, I just changed L&F from the IDE :
Tools | Options | Miscellaneous | Windows | Dark Nimbus
Comment 13 Stanislav Aubrecht 2013-06-07 10:00:35 UTC
(In reply to comment #12)
> Created attachment 135490 [details]
> screenshot of non-readable disabled button
> 
> Disabled button is not really readable, I just changed L&F from the IDE :
> Tools | Options | Miscellaneous | Windows | Dark Nimbus

That's a different issue (Dark Nimbus) so please file a new issue for it, thanks.
Comment 14 Marian Mirilovic 2013-06-07 10:06:31 UTC
(In reply to comment #13)
> > Disabled button is not really readable, I just changed L&F from the IDE :
> > Tools | Options | Miscellaneous | Windows | Dark Nimbus
> 
> That's a different issue (Dark Nimbus) so please file a new issue for it,
> thanks.

Ok, reported as Bug 230910 .. thanks.
Comment 15 adithyank 2013-06-07 11:30:37 UTC
Following are the observations after by detailed testing on this issue

1. If the LAF is set using the command line --laf <laf class name>, then there is no problem in the UI (i.e., text is visible in the disabled buttons, menus). This is applicable for both nb 7.3 and nb 7.4
2. If LAF is set programatically using a plugin (Unfortunately or fortunately I am the developer for that [Dynamic Look And Feel Changer] plugin), then issue is coming
3. This is consistent behavior
4. After LAF is set by plugin during nb startup, this issue comes. But, after I open Options > Misc > Dynamic LAF Changer and set the same LAF again, then issue disappears and the text in the disabled buttons become visible immediately.
5. May be some issue in Nimbus PLAF implementation. I am not sure ??!??!!??!

After these observations, I modified my plugin to set the LAF twice during nb startup. Now, this issue is not there. I have tested this multiple times.