Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 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:

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)

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

Download all attachments as: .zip

Change History (10)

comment:1 by stoecker, 13 years ago

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?

in reply to:  1 comment:2 by Zverikk, 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 stoecker, 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 Zverikk, 13 years ago

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

comment:4 by Zverikk, 13 years ago

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

comment:5 by stoecker, 13 years ago

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 by stoecker, 13 years ago

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

comment:7 by stoecker, 13 years ago

Resolution: fixed
Status: newclosed

In [4432/josm]:

hopefully fix #6662 - selected layer color wrong

comment:8 by stoecker, 13 years ago

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

comment:9 by rickmastfan67, 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.