Modify

Opened 6 years ago

Closed 6 years ago

#8293 closed enhancement (fixed)

Properties dialog: select newly added or edited keys automatically

Reported by: akks Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: properties Cc:

Description (last modified by akks)

Currently after we add some tag or edit it by Alt-A or Alt-S, new tag is not selected automatically in Properties table (except changing name of existing tag to another existing tag).

I tried to improve this behaviour. Now if user edits or adds some tag, it will be preselected in properties table.

PropertiesDialog seemed far too big for me to edit, so it was split into PropertiesDialog (ToggleDialog GUI and events) and TagEditHelper (add and edit windows, autocompletion, applying changes). Now they can be modified separately (I planned to add multiple recent tags adding).

Please see the changes of the code and behaviour. I hope it is more convenient, but maybe I missed something.

Attachments (0)

Change History (6)

comment:1 Changed 6 years ago by akks

Type: defectenhancement

comment:2 Changed 6 years ago by akks

Summary: Properties dialog: select newly added or edited keys automaicallyProperties dialog: select newly added or edited keys automatically

comment:3 Changed 6 years ago by akks

In 5633/josm:

see #8293: Auto-select edited or added tag in Properties table, refactoring of PropertiesDialog
(TagEditHelper introduced)

comment:4 Changed 6 years ago by akks

Description: modified (diff)

comment:5 Changed 6 years ago by akks

Further refactoring was done in r5636 , see #8024. Hope that no bugs will arise.

comment:6 Changed 6 years ago by akks

Resolution: fixed
Status: newclosed

Reopen if needed.

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.

Add Comment


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

 
Note: See TracTickets for help on using tickets.