Opened 15 years ago

Closed 15 years ago

#535 closed enhancement (fixed)

use of "presets" should not reset unspecified parameters

Reported by: lists@… Owned by: framm
Priority: minor Milestone:
Component: Core Version: latest
Keywords: presets unchanged reset property Cc: lists@…


I am using the "latest" josm version (downloaded on the 15th of December).

how to repdroduce:

  • select an arbitrary way
  • add the "lanes" property with a value of "2"
  • start the highway restriction editor (menu "Presets" -> "Restrictions")
  • select the "tunnel" property
  • click at "OK"

what happens:

  • the "lanes" setting is removed

what I would expect:

  • since I did not change the "lanes" settings (leaving it empty), I expected it to stay untouched

And I would also really like, that the "preset" dialogs would read the current settings of the selection and offer these in the dialog window. This would also solve the problem described above, since an unchanged setting would simply keep its value.

Thanks for your work,

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by framm

Resolution: fixed
Status: newclosed

Closed in r591: Tagging presets now take existing tags into account and will not change them unless specifically asked for. This introduces a new "<different>" value for some fields that is used if you have more than 1 object selected and they do not have the same tag setting. If you don't touch the "<different>" then each object will keep its setting. Checkboxes now have three states (yes,no,unset) and if multiple objects are selected which do not have the same value in a checkbox field, there are even four states (yes,no,unset,different). Maybe they should be replaced by a dropdown.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain framm.
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.