Modify

Opened 11 years ago

Closed 11 years ago

#8508 closed defect (fixed)

Pasting tags mangles values occasionally

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

Description

When pasting tags from previously copied objects, sometimes the value gets mangled to {value=n} where n is some integer, usually 1. When this happens, it will persist until something else is copied to the clipboard, even if it was the same object.

Attachments (0)

Change History (5)

comment:1 by akks, 11 years ago

Was it happening before pasting from text was added?
Can you tell how to reproduce it or attach sample osm file?

comment:2 by Daeron, 11 years ago

I think it started with that change, but I'm not entirely sure. I have not been able to consistently reproduce the bug, but will try to debug it later today/tomorrow if i have time.

comment:3 by akks, 11 years ago

If you find it again, please also paste the buffer contents here.
(JOSM objects should result into texts like 1234534,56546546,5465 or 0,0,0 for new ones)

comment:4 by Daeron, 11 years ago

I managed to get it happen once today, my debug prints indicated that the clipboard in that case contained the string: "highway {residential=2}" when i had just copied the selection, which was two new ways having tag highway=residential. All the times when it worked as expected, the clipboard had the id(s) of the copied object(s) in it.

comment:5 by akks, 11 years ago

Resolution: fixed
Status: newclosed

In 5843/josm:

fix #8508: correct pasting of tags copied from properties table by Ctrl-C

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. Next status will be 'reopened'.

Add Comment


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