Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#8500 closed defect (fixed)

Paste tags from clipboard breaks old behavior

Reported by: NE2 Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc: akks

Description

It used to be that you could copy an object and then paste its tags, even after using the clipboard for other purposes. Now putting something else on the clipboard results in having to go back to the object and copy again, even if the clipboard cannot be pasted. I recommend returning to the old behavior unless the clipboard actually contains pasteable tags.

Attachments (1)

pastingFallback.patch (5.8 KB) - added by akks 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by Don-vip

Cc: akks added

comment:2 Changed 7 years ago by akks

There is no technical problem with this solution, but usability should be discussed.

Clipboard can contain really "bad text", then pasting from JOSM buffer seem to be OK (see patch and sample build: https://dl.dropbox.com/u/63393258/josm-custom.jar).

But what to do if clipboard contains something like "123 456"? It is a suspicious combination (warning arise) but formally it can be pasted as 123=456.

Another problem - there is no convenient way for user to clean JOSM or text clipboard, so when user copy something in JOSM, he will not see any text-pasting errors since that moment.

Last edited 7 years ago by akks (previous) (diff)

Changed 7 years ago by akks

Attachment: pastingFallback.patch added

comment:3 Changed 7 years ago by akks

Resolution: fixed
Status: newclosed

In 5809/josm:

fix #8500, see #8384: added "Clear buffer" button to the messages shown for incorrect buffer (clipboard)
(next Ctrl-Shift-V will paste tags from JOSM-copied objects, if available)

comment:4 Changed 7 years ago by akks

Please reopen if there is a better solution.

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.