Opened 9 months ago
Last modified 7 months 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: | |
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 (3)
comment:1 by , 8 months ago
Milestone: | 24.06 → 24.07 |
---|
comment:3 by , 7 months ago
Milestone: | 24.08 |
---|
Making Copy selected X Keys/Values
update the recent tag list would probably be the right thing to do.
@Nantaiji Yakxin: As an FYI, the milestone
field in tickets is for the maintainers to indicate that they intend to fix the ticket in that milestone.
Milestone closed.