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 161570 - Background of the row is too dark
Summary: Background of the row is too dark
Status: CLOSED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Bugzilla (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-31 12:15 UTC by Petr Dvorak
Modified: 2013-06-27 12:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The green color is quite OK (still could be lighter, i.e. #77cc66), the blue is too dark (could be #6677cc) (I haven't tested those colors, just think they could be better) (81.19 KB, image/png)
2009-03-31 12:19 UTC, Petr Dvorak
Details
Using white text for highlighted rows (227.94 KB, image/png)
2009-03-31 14:20 UTC, Ondrej Langr
Details
The white letters are hard to read on the light background. (99.38 KB, image/png)
2009-04-09 14:26 UTC, Petr Dvorak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Dvorak 2009-03-31 12:15:05 UTC
Product Version: NetBeans IDE Dev (Build 200903310200)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Linux version 2.6.27-14-generic running on i386; UTF-8; en_US (nb)

If you select an issue in the query view (in the table), the background colors are too dark, which makes text hard to
read. Please use much lighter colors instead.

See the screenshot.
Comment 1 Petr Dvorak 2009-03-31 12:19:51 UTC
Created attachment 79128 [details]
The green color is quite OK (still could be lighter, i.e. #77cc66), the blue is too dark (could be #6677cc) (I haven't tested those colors, just think they could be better)
Comment 2 Tomas Stupka 2009-03-31 13:54:30 UTC
ondra, any ideas?
Comment 3 Ondrej Langr 2009-03-31 14:19:59 UTC
The background color is not a problem, it is actually a common practice to use dark background colors for selection. 

Please use white text color to achieve good contrast between the text and background whenever the background is colored
.. see the attached screenshot demonstrating it (the screenshots only displays some texts in white, but in fact all
texts on darker/highlighted background should be white). 
Comment 4 Ondrej Langr 2009-03-31 14:20:52 UTC
Created attachment 79139 [details]
Using white text for highlighted rows
Comment 5 Tomas Stupka 2009-03-31 14:45:01 UTC
fixed

changeset   : 124518:ca0b6c778032
author      : Tomas Stupka <tstupka@netbeans.org>
date        : Tue Mar 31 15:44:27 CEST 2009
Comment 6 Quality Engineering 2009-04-03 20:03:50 UTC
Integrated into 'main-golden', will be available in build *200904031400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ca0b6c778032
User: Tomas Stupka <tstupka@netbeans.org>
Log: #161570 - Background of the row is too dark
Comment 7 Petr Dvorak 2009-04-09 14:25:08 UTC
Well, I think this just inverted the problem... :)
Comment 8 Petr Dvorak 2009-04-09 14:26:10 UTC
Created attachment 79822 [details]
The white letters are hard to read on the light background.
Comment 9 Ondrej Langr 2009-04-09 21:39:43 UTC
If I remember right, we use two different "types" of highlight colors in the issue list: 

1) Standard L&F highlight colors for "normal" issues
2) Hardcoded colors (blue&green) for "modified" and "new" issues

This problem is caused by the "standard" highlight colors being different on various L&Fs. While on various L&F the
highlight background and foreground color are always set to be distinguishable from each other, we only mimic the
background color and have the foreground(text) color always white. 

Tomas, is there feasible solution to: 

1) For "normal" issues, mimic both background color & foreground color of standard table selection on given L&F 
2) For "new" & "modified" issues use hardcoded green&blue with white text color?
Comment 10 Tomas Stupka 2009-04-10 12:42:47 UTC
fixed 

changeset   : 126121:048462b39a4e
author      : Tomas Stupka <tstupka@netbeans.org>
date        : Fri Apr 10 13:42:19 CEST 2009
Comment 11 Quality Engineering 2009-04-15 07:47:35 UTC
Integrated into 'main-golden', will be available in build *200904150201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/048462b39a4e
User: Tomas Stupka <tstupka@netbeans.org>
Log: #161570 - Background of the row is too dark
Comment 12 Petr Dvorak 2009-05-06 16:00:04 UTC
Product Version: NetBeans IDE Dev (Build 200905051401)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb)

It is still the same as on the original screenshot - when the issue row has a blue/green background, the font is black
=> REOPENING
Comment 13 Tomas Stupka 2009-05-12 09:59:30 UTC
fixed!

changeset   : 130981:bfd371aad50d
author      : Tomas Stupka <tstupka@netbeans.org>
date        : Tue May 12 10:59:10 CEST 2009
Comment 14 Quality Engineering 2009-05-14 07:56:12 UTC
Integrated into 'main-golden', will be available in build *200905140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/bfd371aad50d
User: Tomas Stupka <tstupka@netbeans.org>
Log: #161570 - Background of the row is too dark
Comment 15 Petr Dvorak 2009-05-14 13:48:38 UTC
Verified.