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 161975 - line numbers are not visible with dark color schemes
Summary: line numbers are not visible with dark color schemes
Status: CLOSED DUPLICATE of bug 166738
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P4 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-05 04:23 UTC by jorgeluis
Modified: 2013-06-27 12:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot displaying white strip. (31.33 KB, image/png)
2009-04-05 04:24 UTC, jorgeluis
Details
example of broken line number background color. (119.72 KB, image/png)
2009-07-28 14:37 UTC, jeremyclarke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jorgeluis 2009-04-05 04:23:06 UTC
Hi,

Line numbers disappear when I configure my color scheme as Norway Today, or City Lights. It becomes a white strip. It's 100% reproducible. I'm using 
NB6.7M3.
Comment 1 jorgeluis 2009-04-05 04:24:32 UTC
Created attachment 79461 [details]
Screenshot displaying white strip.
Comment 2 jeremyclarke 2009-07-28 14:37:11 UTC
Created attachment 85346 [details]
example of broken line number background color.
Comment 3 jeremyclarke 2009-07-28 14:38:52 UTC
I think the real problem here is that the setting for 'background' on line numbers in the colors pane is broken. It lets
you select a color for both background and foreground but only the foreground is effective. You can make the text any
color but the background is always white. 

It looks like the default 'dark' themes are just depending on the background setting on line numbers to work. City
lights has reasonably set background to black and foreground to white, but because the background is white no matter
what they seem invisible. 

I attatched a screenshot of the problem. You can see that I've set the background to magenta but it strangely only shows
in a space under the line numbers. This is on a mac of course. I'm using hte PHP only setup. 

So for jorgelouis, its pretty easy to fix, just go to Settings > Fonts and Colors > Highlighting pane and find 'line
numbers' in the list then change the foreground to dark grey or black. You'll be able to keep using the dark themes that
way. 

That said its still pretty important to fix this as it looks really dumb to have super-prominent white line numbers with
a dark theme, and even with just a mild background (#eee) it looks dumb to have a white bar along the side. 

If nothing else the default themes shoudl be changed temporarily to have darker foreground colors on line numbers.
Comment 4 Jiri Prox 2009-07-28 14:45:05 UTC
This issue should be fixed in 6.7.1 

*** This issue has been marked as a duplicate of 166738 ***