Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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:


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)

josm-black-on-blue.png (96.6 KB) - added by Zverikk 12 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 12 years ago by stoecker

Owner: changed from team to Zverikk
Status: newneedinfo

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?

comment:2 in reply to:  1 Changed 12 years ago by Zverikk

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 Changed 12 years ago by stoecker

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?

Changed 12 years ago by Zverikk

Attachment: josm-black-on-blue.png added

comment:4 Changed 12 years ago by Zverikk

Setting dialog.layer.colorname=false fixed the problem, but it seems it's not the default value.

comment:5 Changed 12 years ago by stoecker

Owner: changed from Zverikk to team
Status: needinfonew

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:6 Changed 12 years ago by stoecker

Ticket #6663 has been marked as a duplicate of this ticket.

comment:7 Changed 12 years ago by stoecker

Resolution: fixed
Status: newclosed

In [4432/josm]:

hopefully fix #6662 - selected layer color wrong

comment:8 Changed 12 years ago by stoecker

Ooops, this was too much in checkin. Hopefully nothing borken.

comment:9 Changed 12 years ago by rickmastfan67

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.