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 130217 - Ugly color scheme in C/C++ options tabs.
Summary: Ugly color scheme in C/C++ options tabs.
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Sergey Grinev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-15 10:08 UTC by Alexander Simon
Modified: 2008-05-20 19:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Formatting tab (35.17 KB, image/png)
2008-03-15 10:10 UTC, Alexander Simon
Details
Other tab (28.91 KB, image/png)
2008-03-15 10:11 UTC, Alexander Simon
Details
Compare with right Java color (29.66 KB, image/png)
2008-03-15 10:12 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2008-03-15 10:08:55 UTC
Tab header color differs from tab content color.
Defect exists in all C/C++ tabs.
See java tabs. They have right colors.
Comment 1 Alexander Simon 2008-03-15 10:10:16 UTC
Created attachment 58425 [details]
Formatting tab
Comment 2 Alexander Simon 2008-03-15 10:11:22 UTC
Created attachment 58426 [details]
Other tab
Comment 3 Alexander Simon 2008-03-15 10:12:50 UTC
Created attachment 58427 [details]
Compare with right Java color
Comment 4 Sergey Grinev 2008-03-17 20:37:04 UTC
fixed for tabs "Formatting Style", "Semantic Highlighting" and "Other" in http://hg.netbeans.org/main/rev/d293e5b19e72

Thomas, can you, please, fix for first 3 tabs. I didn't touch them, because you can work on them and merging .form files
can be painful process. The fix (taken from JavaFormatting) is next:

add to the end init() method of Panel class:

+        if( "Windows".equals(UIManager.getLookAndFeel().getID()) ) { //NOI18N
+            setOpaque( false );
+        }

and set Opaque property of each Panel subcomponent to "false".
Comment 5 Alexander Pepin 2008-05-10 22:29:31 UTC
The issue is mostly fixed. Thomas please apply your part of the fix as soon as practical.
Comment 6 Thomas Preisler 2008-05-19 20:17:16 UTC
Build Tools, Project Options, and  Code Assistance tabs fixed:

changeset 1002c0698899 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=1002c0698899
description:
	130217 Ugly color scheme in C/C++ options tabs.

changeset 668bc09f97a5 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=668bc09f97a5
description:
	130217 Ugly color scheme in C/C++ options tabs.

changeset d20e4205282c in main
details: http://hg.netbeans.org/main?cmd=changeset;node=d20e4205282c
description:
	130217 Ugly color scheme in C/C++ options tabs.

changeset c3f39c48fde9 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=c3f39c48fde9
description:
	130217 Ugly color scheme in C/C++ options tabs.

Comment 7 Thomas Preisler 2008-05-19 20:37:03 UTC
Still problems with Semantic Highlighting tab. The panel including Highlight Class' Fields to Highlight Typedefs has
wrong background on Windows.
Comment 8 Sergey Grinev 2008-05-19 21:05:51 UTC
Yes, this panel is new and under development. I'll fix it tomorrow.
Comment 9 Sergey Grinev 2008-05-20 19:44:18 UTC
fixed by http://hg.netbeans.org/main?cmd=changeset;node=c2739fb120ba