Modify

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#16192 closed enhancement (fixed)

Settings sorted

Reported by: wulfmorn Owned by: team
Priority: normal Milestone: 18.05
Component: Core mappaint Version:
Keywords: sort settings Cc:

Description (last modified by Klumbumbus)

Hello

I have created a number of settings for my mapcss but I cant find a way to sort them in the list.

The list of settings when shown in JOSM is neither alphabetical or same order as listed in the mapcss file. Is there a setting in mapcss I dont know about or is it straight up weakness of JOSM?

screenshot of josm using the style

Attachments (2)

josm-stylesettings-order.PNG (21.4 KB ) - added by wulfmorn 6 years ago.
screenshot of josm using the style
style-with-settings.mapcss (1.3 KB ) - added by wulfmorn 6 years ago.
mapcss with style used in the screenshot

Download all attachments as: .zip

Change History (10)

comment:1 by Don-vip, 6 years ago

Owner: changed from team to wulfmorn
Status: newneedinfo

Can you please post your style and a screenshot? Thanks.

comment:2 by wulfmorn, 6 years ago

Ok, im hoping im not making a fool out of myself here but as far as i can tell:

The setting name seems to have an influence on the ordering and stays alphabetical as long as the setting and label has only one character. So settings A-C end up in A-C order. If i reverse order of setting names, but keep label names, the label names end up in reverse order in the UI. If i start adding longer names to the style names the order becomes very chaotic.

To make test easier i made a simple test-style. Attaching now.

by wulfmorn, 6 years ago

screenshot of josm using the style

by wulfmorn, 6 years ago

Attachment: style-with-settings.mapcss added

mapcss with style used in the screenshot

comment:3 by Klumbumbus, 6 years ago

Owner: changed from wulfmorn to team
Status: needinfonew

comment:4 by Klumbumbus, 6 years ago

Description: modified (diff)

comment:5 by Don-vip, 6 years ago

Component: CoreCore mappaint
Keywords: sort added

comment:6 by Don-vip, 6 years ago

Milestone: 18.05

comment:7 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

In 13800/josm:

fix #16192 - sort map paint style settings by label

comment:8 by Don-vip, 5 years ago

Keywords: settings added

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.