#11114 closed defect (fixed)
Copying Tags with Relations Editor
Reported by: | daganzdaanda | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.07 |
Component: | Core | Version: | tested |
Keywords: | relation editor paste tags focus | Cc: | akks |
Description
Hi,
I've got two copying issues with the relation editor (current stable).
First, say I want to move all tags of a way to a relation.
So I select the way, choose "copy all keys/values" in the tags window, and then in the relation window, I press the "paste tags from buffer" button. The result: the first key is left empty, the values are all there.
It looks like http://josm.openstreetmap.de/ticket/9176, except that pressing "Esc" does not make the missing key show up.
Second issue: Is there a way to easily copy all keys/values from a relation to a way via the relation editor? I can select all keys/values with the mouse and press Ctrl-C, but pasting does not work since there is no usable data in the buffer. I know that copying all k/v is possible from the tags window if the relation is selected, but maybe that could be an improvement to the workflow with the relations editor.
Attachments (0)
Change History (10)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:3 follow-up: 4 Changed 9 years ago by
Ah, ok, thanks for the tip! I'll try and change my workflow.
But - does the +++ button (paste tags from buffer) work as it should for you? If there's always one key that disappears, maybe it would be better to remove the button altogether and make it clear that copying tags is better done without the relation editor.
comment:4 Changed 9 years ago by
Replying to daganzdaanda:
But - does the +++ button (paste tags from buffer) work as it should for you? If there's always one key that disappears, maybe it would be better to remove the button altogether and make it clear that copying tags is better done without the relation editor.
Yes, there is definitely a problem with paste buffer and the relation manager.
comment:5 Changed 9 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
comment:6 Changed 9 years ago by
Keywords: | relation editor paste tags added; Relation Editor copying keys/values removed |
---|
indeed, closed too fast, I'm able to reproduce the bug.
comment:7 Changed 9 years ago by
Cc: | akks added |
---|---|
Keywords: | focus added |
however I'm unable to fix it. It looks like related to the focus handling of cells in TagTable: if I select the first cell of the last line prior to pasting tags, it will always result in an empty key (but the value is pasted).
Can't figure why. akks, do you have any idea?
comment:8 Changed 7 years ago by
I will fix this when updating the copy/paste patch. See #12478
A simple editor.stopCellEditing()
before doing any manual data updates is enough.
comment:10 Changed 7 years ago by
Milestone: | → 16.07 |
---|
The relation editor is the wrong place to do the job and not needed at all.
For both ways you simply need to select the relation using the relation list dialog. Once selected you can work with relations in the same way as other objects.