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 37255 - [win] Tab text colors don't follow OS schema
Summary: [win] Tab text colors don't follow OS schema
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows 95/98
: P3 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: L&F
Depends on:
Blocks:
 
Reported: 2003-11-15 11:44 UTC by vbrabant
Modified: 2008-12-22 19:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
try to read the error message. Seems very difficult (17.39 KB, image/jpeg)
2003-11-15 11:45 UTC, vbrabant
Details
difficult to read inactive tabs. Very dark. (Not also the problem with editor's toolbar) (13.22 KB, image/jpeg)
2003-11-15 11:47 UTC, vbrabant
Details
the windows standard theme (for Windows 98) (46.56 KB, image/jpeg)
2003-11-18 14:19 UTC, vbrabant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vbrabant 2003-11-15 11:44:52 UTC
Just a remark: before the new windows system, I
runned with the Metal L&F. Now, it's running by
default with native windows look and feel.
So, I have really no idea if the colors problems
are due to the new windows systems or it they
already existing in the previous one.

I use Windows 98 and windows default template.
And somes background colors are darken. But under
windows, it's not a problem because, if background
colors are darken, text is then displayed in white
in place of black.

But with NetBeans, it's not the case. So, it means
that you have black text displaying upon a dark
background ==> so, it's unreadable.

In attach you will find two screenshots: 
1 with editor tabulations;
1 with a selected compilation error.
Comment 1 vbrabant 2003-11-15 11:45:42 UTC
Created attachment 12169 [details]
try to read the error message. Seems very difficult
Comment 2 vbrabant 2003-11-15 11:47:50 UTC
Created attachment 12170 [details]
difficult to read inactive tabs. Very dark. (Not also the problem with editor's toolbar)
Comment 3 David Simonek 2003-11-18 12:46:08 UTC
Jano please specify what we should do in this case - custom color
theme on Win. Is it really true that Win systems are changing the text
of the color automatically depending on the color of background? Or
did I misinterpreted what was written here?
Comment 4 vbrabant 2003-11-18 13:40:56 UTC
No, it's true that color of text is changing automatically under
windows. It's my fault.
Sorry to this misunderstanding.
But if you look at my default theme of windows 98, you will see that
selected items should appears as white text with dark blue background.
And you can see that in the screenshot (Switch tabulation - zoom) I
sended, the selected tab appears as white text and dark blue background.
A selected node in the explore appears as white text and dark blue
background.
Even the java text editor, who come with his own font and colors,
display selected text as white text.
The only place where I discoverd the problem is with the output. And,
there, the select text remain black, but the background color is well
the one defined in the window theme. So, for my point of view, it's
well a bug. If you replace the background color of the selection by
color defined in the theme, you have to replace the text color of the
selection by the color defined in the theme.
Comment 5 David Simonek 2003-11-18 13:46:43 UTC
I see, thanks. IMO it is bug, we probably take text color from
inaccurate source.
Comment 6 David Simonek 2003-11-18 13:57:39 UTC
I created separate bug 37297 fot tracking output window issue.
Vincent, can you attach the theme you are using? (for my testing)
Perhaps together with the screenshot of Appearance dialog showing
controls in your scheme, so that I can see how it looks like and test
well. Thx.
Comment 7 vbrabant 2003-11-18 14:18:43 UTC
In attach a printscreen of the windows 98 default theme.
Normally inactive windows title are light gray as text and black gray
as background color.
Comment 8 vbrabant 2003-11-18 14:19:39 UTC
Created attachment 12190 [details]
the windows standard theme (for Windows 98)
Comment 9 jrojcek 2003-11-19 16:39:00 UTC
If the dark gray is not the standard swing color then it should be
derived from the standard panel color. Is it how it is implemented
right now?
Comment 10 David Simonek 2003-11-19 17:00:54 UTC
I'll check it but I think so. I know that color deriving is probably
the way to go, so do you plan to add color deriving guidelines into
visual UI spec?
Comment 11 David Simonek 2003-12-05 11:52:38 UTC
fixed
Comment 12 David Simonek 2003-12-05 11:53:21 UTC
Oops sorry, reopening, made a mistake.
Comment 13 David Simonek 2004-01-09 13:46:09 UTC
Planned to be fixed for 3.6.
Comment 14 _ tboudreau 2004-02-26 20:17:04 UTC
Taking this issue.
Comment 15 _ tboudreau 2004-02-26 20:19:10 UTC
Both of these problems are fixed in the current trunk - the output window highlight color 
is derived, and the win classic tabs use gradients.
Comment 16 Marian Mirilovic 2004-07-30 10:10:54 UTC
verified