#6857 closed enhancement (fixed)
Right-click->copy value directly from properties dialog
Reported by: | hjart | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
I very often find myself copying streetnames this way: Selecting a key/value pair in the properties dialog, then opening the edit dialog, selecting the value, pressing ctrl-c then Escape. This helps to avoid introducing unneccesary spelling errors, but when done many times in a single session, it starts to feel quite cumbersome.
So I would very much appreciate if it was possible to just select a key/value pair in the properties dialog, right-click and select "copy value". Thank you.
Attachments (0)
Change History (14)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
As I'm usually copying streetnames from imported address nodes (with addr:street keys) to nearby streets (with name keys), I only want to copy the value, not the key, nor do I want to copy more than exactly this one value.
comment:3 by , 13 years ago
What about separate entries for "Copy Value(s)"
and "Copy Key(s) and Value(s)"
?
How should a key-value-pair be formatted (=
delimited?)?
follow-up: 5 comment:4 by , 13 years ago
Replying to skyper:
Even better would be if you could select several key/vaulue pairs and copy or delete them.
This requires deeper changes than just copying a single selected tag.
What about separate entries for "Copy Value"
and "Copy Key and Value"
and "Copy all Keys and Values"
?
follow-up: 6 comment:5 by , 13 years ago
Replying to simon04:
What about separate entries for
"Copy Value"
and"Copy Key and Value"
and"Copy all Keys and Values"
?
That would be very nice. It's allready possible to copy all keys and values via Ctrl-c; Ctrl-Shift-v, so that one should be fairly (I'm not a coder, so I'm only guessing here) simple. I'm sure skyper will be happy though if "Copy Key and Value"
becomes "Copy Selected Keys and Values"
or just "Copy Selected Tags"
.
I'm looking forward to at least seeing my original wish come true ;-)
follow-up: 7 comment:6 by , 13 years ago
Replying to hjart:
That would be very nice. It's allready possible to copy all keys and values via Ctrl-c; Ctrl-Shift-v, so that one should be fairly (I'm not a coder, so I'm only guessing here) simple.
Please note that [Ctrl]+[C]
copies only the id
to the system clipboard and handles the insertion of tags via [Ctrl]+[Shift]+[V]
internally, whereas your request should only write the value of the selected tag to the system clipboard. Right?
I'm sure skyper will be happy though if
"Copy Key and Value"
becomes"Copy Selected Keys and Values"
or just"Copy Selected Tags"
.
As mentioned above, selecting multiple tags is currently not implemented, though, could be thought of an enhancement. Here, some questions arise, e.g., what should happen when selecting multiple tags and then performing edit
?
follow-up: 8 comment:7 by , 13 years ago
Replying to simon04:
Please note that
[Ctrl]+[C]
copies only theid
to the system clipboard and handles the insertion of tags via[Ctrl]+[Shift]+[V]
internally, whereas your request should only write the value of the selected tag to the system clipboard. Right?
Ah, I had no idea how it worked. And correct. I only want the value of the selected tag copied to the system clipboard.
I'm sure skyper will be happy though if
"Copy Key and Value"
becomes"Copy Selected Keys and Values"
or just"Copy Selected Tags"
.
As mentioned above, selecting multiple tags is currently not implemented, though, could be thought of an enhancement. Here, some questions arise, e.g., what should happen when selecting multiple tags and then performing
edit
?
Yeah, I see. Implementing that is not simple.
comment:8 by , 13 years ago
Replying to hjart:
Replying to simon04:
I'm sure skyper will be happy though if
"Copy Key and Value"
becomes"Copy Selected Keys and Values"
or just"Copy Selected Tags"
.
I am already happy about a developer showing interest and thankful + excited once implemented.
For sure, Copy Value and Copy Key/Value would be a big enhancement.
As mentioned above, selecting multiple tags is currently not implemented, though, could be thought of an enhancement. Here, some questions arise, e.g., what should happen when selecting multiple tags and then performing
edit
?
I think either a dialog with all selected keys like upper part of the relation editor should open or a seperate window for each key.
Should I open a new ticket on that, as it is not only about properties but could be used for the relations list, aswell.
follow-up: 11 comment:10 by , 13 years ago
Please open a separate ticket for further enhancements like editing several tags at once.
comment:11 by , 13 years ago
follow-up: 14 comment:13 by , 13 years ago
Thanks copy value works nice, but how am I supposed to use the other two functions ?
Are they only for txt files/editing ?
I am not able to add a single pair or all key/value to an another objects.
comment:14 by , 13 years ago
Replying to skyper:
Are they only for txt files/editing ?
Yes, they written to the operating system clipboard only, see my previous remark, 6:
Please note that
[Ctrl]+[C]
copies only theid
to the system clipboard and handles the insertion of tags via[Ctrl]+[Shift]+[V]
internally, whereas your request should only write the value of the selected tag to the system clipboard. Right?
Even better would be if you could select several key/vaulue pairs and copy or delete them.
I often find me deleting several pairs to copy the left ones into buffer, undo the detetion and copy from buffer.