Modify

Opened 10 days ago

#23739 new enhancement

Manually Adding Tags to the Recently Added Tag without Changing Them

Reported by: Nantaiji Yakxin Owned by: team
Priority: normal Milestone: 24.06
Component: Core Version:
Keywords: Cc:

Description

In JOSM a tag can be added to the "Recently Added Tag" after user adding or editing it, and it will be listed in the Recently Added Tag on adding tag dialog. It is very convenient for user to add tags when the tags are frequently used and play a role of quick tag adding in some degree. Before Ticket 22814, the tags would be added to the Recently Added Tag even if user only double-clicks on the tag without changing it. After the ticket, if user only double-clicks on the tag but does not change it, it would not be added to the Recently Added Tag, causing difficulties in copying tags.

There are other ways to copy the tag, such as using Shift+R of plugin "utilsplugin2", or the right-click menu "Copy selected X Keys/Values", but they are not convenient when there are many things to edit on the map.

  • For the first method, user must select the source feature before copying, and all tags of the source feature would be copied and pasted when pressing Shift+R after select the target feature. (User may not want to copy all the tags and every time user needs to select the source.)
  • For the second method (Or directly use Ctrl+C and Ctrl+V), it uses the clipboard of the operation system, and is easy to be covered with other content.
  • Also, user can manually add tags one by one and copy keys and values one by one, which is the least convenient option.

It seems that only the Recently Added Tag list is a stable, flexible and fast way to add frequently used tags.

Ticket 22814 did deal with a confusing bug, but also let it difficult to add tags to Recently Added Tag. In this ticket, if user does not change anything after opening tag edit dialog, the "performTagEdit()" function will return directly and "recentTags.add(new Tag(key, value));" at "src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java" (line 612) will be skipped.

So I have 2 suggestions:

  • One is that before the return, execute recentTags.add(new Tag(key, value)); even if the user did not change the tag.
  • The other one is that to create a new right-click menu in the tag list called "Add selected X Keys/Values to Recently Added Tag".

I think this would help when there are many things to draw in the map. Please consider this, thanks.

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to Nantaiji Yakxin.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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