Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12554 closed enhancement (fixed)

Disable storing last used values for some tags

Reported by: Zverikk Owned by: team
Priority: normal Milestone: 16.04
Component: Core Version: latest
Keywords: Cc:

Description

Some tags, like roof:colour, or addr:housenumber, or pk, or ref, rarely repeat, and just take up space in the last used tags list (in the tag editor dialog), which is quite short. Could you please make an option to exclude some keys from that list?

Attachments (1)

2016-03-06-171138_1200x1920_scrot.png (12.1 KB ) - added by simon04 9 years ago.

Download all attachments as: .zip

Change History (19)

comment:1 by Klumbumbus, 9 years ago

you can change the number of displayed tags. see also #12438 for new option to hide already set tags.

comment:2 by Zverikk, 9 years ago

The idea is to keep the list small, by not showing key-value pairs that won't be used again. These pairs shift useful pairs off the list, so hiding them doesn't help.

comment:3 by malenki, 9 years ago

@Zverikk: Hiding the tags with "useless" values would sure help. ;)
Thanks for posting this ticket so I don't have to.

Last edited 9 years ago by malenki (previous) (diff)

comment:4 by simon04, 9 years ago

A criterion to decide "useless" keys/values without having to maintain yet-another key-list in the code is welcome :)

comment:5 by malenki, 9 years ago

@simon04: I would be satisfied with a filter the user can configure to his own liking.

comment:6 by Don-vip, 9 years ago

Maybe only keys with values defined in presets?

comment:7 by simon04, 9 years ago

Or an ignore system similar to the validation errors: right click on a recent tag → "ignore key", "ignore tag"?

in reply to:  6 comment:8 by malenki, 9 years ago

Replying to Don-vip:

Maybe only keys with values defined in presets?

For housenumbers and colours this wouldn't work.
There is no addr:housenumber=77Q nor roof:colour=89ab12 and similar stuff set as preset.

in reply to:  4 ; comment:9 by bastiK, 9 years ago

Replying to simon04:

A criterion to decide "useless" keys/values without having to maintain yet-another key-list in the code is welcome :)

I don't think it is possible:

  • addr:street=* -> keep
  • addr:housenumber=* -> ignore
  • height=* -> keep (?)
  • ...

Replying to simon04:

Or an ignore system similar to the validation errors: right click on a recent tag → "ignore key", "ignore tag"?

Sounds good.

in reply to:  9 comment:10 by Klumbumbus, 9 years ago

Just a thought: even when tagging the same housenumber twice seems unlikely, I maybe want to see it in the list anyway, because I maybe want to click on it to set the key and just adjust the value. So user should decide, which tags he wants to hide.

Replying to bastiK:

Replying to simon04:

Or an ignore system similar to the validation errors: right click on a recent tag → "ignore key", "ignore tag"?

Sounds good.

yes.

comment:11 by simon04, 9 years ago

Milestone: 16.03

comment:12 by simon04, 9 years ago

In 9939/josm:

see #12554 - Factor out RecentTagCollection, add unit tests

comment:13 by simon04, 9 years ago

In 9940/josm:

see #12554 - Allow to ignore keys/tags from recent tags

comment:14 by simon04, 9 years ago


comment:15 by malenki, 9 years ago

Nice work – Thank you!

comment:16 by Don-vip, 9 years ago

is this fixed?

comment:17 by Zverikk, 9 years ago

Resolution: fixed
Status: newclosed

Yes.

comment:18 by Don-vip, 9 years ago

Milestone: 16.0316.04

Milestone renamed

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.