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 147898 - Different background in individual tabs of Editor Options
Summary: Different background in individual tabs of Editor Options
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jan Jancura
URL:
Keywords: UI
: 149744 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-22 16:08 UTC by Jana Maleckova
Modified: 2008-10-17 15:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (345.53 KB, image/png)
2008-09-22 16:17 UTC, Jana Maleckova
Details
Correct background color of tabs on Win XP. (33.87 KB, image/png)
2008-10-14 09:05 UTC, jrojcek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2008-09-22 16:08:59 UTC
Product Version: NetBeans IDE Dev (Build 20080922033230)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)

Description:
============
It is about tabs: Formatting, Hints, Mark Occurrences, Task List in Editor Options
see screenshots
Comment 1 Jana Maleckova 2008-09-22 16:17:41 UTC
Created attachment 70220 [details]
screenshot
Comment 2 Jan Jancura 2008-09-23 08:59:15 UTC
reproducible
Comment 3 Petr Dvorak 2008-09-23 13:16:20 UTC
This is Windows specific issue (see also issue 145905).
Comment 4 Jan Jancura 2008-10-10 13:19:58 UTC
*** Issue 149744 has been marked as a duplicate of this issue. ***
Comment 5 Lukas Hasik 2008-10-10 20:38:29 UTC
pity that it isn't fixed for 6.5. Majority of the users is on Windows therefore they will probably notice it as the
editor is the most used feature too.
As this is "just" UI issue I'm cc'ing UI experts to decide if it is something to be fixed for 6.5 in HR when only P2s
can be fixed.
Comment 6 jrojcek 2008-10-13 10:23:38 UTC
I guess the fix for this issue means setting the opaque property of the panel with wrong background color. I definitely vote for fixing it as currently it looks 
very unprofessional.
Comment 7 Vitezslav Stejskal 2008-10-13 22:08:48 UTC
Ok, I fixed that - http://hg.netbeans.org/main/rev/084c88a91578.

The panels are now consistent with the rest of Tools-Options, even though I'm not sure if this is the expected 
coloring for tabs on Windows. I also noticed that panels under C/C++ options look different than the rest of Tools-
Options. Jano or Ondro what is the expected background color for tabs on Win OS? Isn't this actually a L&F problem?
Comment 8 Quality Engineering 2008-10-14 06:02:01 UTC
Integrated into 'main-golden', will be available in build *200810140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/084c88a91578
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #147898 - fixing panels' background and making it consistent with the rest of Tools-Options
Comment 9 jrojcek 2008-10-14 09:03:59 UTC
Tabs on Win XP should have lighter color than regular panels. See the attached screenshot. AFAIK, if you want to achieve it in Java, you need to set the opaque 
property of all components and nested panels to false.
Comment 10 jrojcek 2008-10-14 09:05:50 UTC
Created attachment 71730 [details]
Correct background color of tabs on Win XP.
Comment 11 Jana Maleckova 2008-10-17 14:39:39 UTC
to jrojcek: from your last comments, it looks like you are not satisfied with the fix. Should this issue be reopened?
otherwise all tab from options should be reworked not only Editors ones.
Comment 12 Jan Jancura 2008-10-17 15:29:06 UTC
I know that default background of tabs on Windows is different than background of other components. But, Swing support
for this is wrong. And I think that we should not try to workaround it on our side, because we can not guarantee that
such workarounds will work in all situations. 
So, if you do not like current state, fee free to fire bug on swing.