#6662 closed defect (fixed)
Selected layer in layer list is unreadable (is black, must be white)
Reported by: | Zverikk | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | |
Keywords: | layer | Cc: |
Description
In the layer list selected item is marked with blue background, and the name is always written in black. While it is supposed to be ok when blue is light blue, on XP it is very dark, and the selected layer name is completely unreadable.
In josm-tested (r4223) selected layer name is white, and is perfectly visible.
Attachments (1)
Change History (10)
follow-up: 2 comment:1 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 13 years ago
Which settings? I just start JOSM, download data, and have one Data Layer, with name in black. After installing LicenseChange plugin there are two layers with black names. I haven't configure anything, and don't even know about those color features. Could it be that there is a new feature to customize layer names colors, and the default is black? Can you process this case, so when selected, layer name is white instead?
comment:3 by , 13 years ago
You can configure GPX layer colors and a new feature is, that the layer list then shows these colors. But that only applies to GPX/Marker layers and only if there are at least 2 different colors. Otherwise it should be as before -- > i.e. default value of the display boxes.
Can you add a screenshot?
Does setting "dialog.layer.colorname" to false in expert settings help?
by , 13 years ago
Attachment: | josm-black-on-blue.png added |
---|
comment:4 by , 13 years ago
Setting dialog.layer.colorname=false fixed the problem, but it seems it's not the default value.
comment:5 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
Sure it's not. Hmm, seems the default color setting is somewhat broken for Windows. It worked fine with Linux.
NOTE to team: Probably label.setForeground(null) isn't really equal to default settings. But simply omitting this call does also not work in case previous calls did set a Color and current call needs to remove it.
comment:9 by , 13 years ago
I just want to comment that it's working correctly now in Windows 7. The currently selected layer text is now white when highlighted instead of staying black.
There shouldn't be a change in this area except you have multiple layers with different colors. Than every layer shows the relevant color and such effects may happen.
Do you display multiple layers with individual settings?