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.
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
Created attachment 70220 [details] screenshot
reproducible
This is Windows specific issue (see also issue 145905).
*** Issue 149744 has been marked as a duplicate of this issue. ***
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.
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.
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?
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
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.
Created attachment 71730 [details] Correct background color of tabs on Win XP.
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.
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.