Modify

Opened 3 years ago

Closed 3 years ago

#13313 closed defect (fixed)

[Patch] Copy no longer only copies the selected object ID to clipboard

Reported by: simon04 Owned by: team
Priority: normal Milestone: 16.08
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Select a way
  2. Ctrl+C
  3. Paste in any editor

What is the expected result?

way 1234 is pasted (with 1234 being the ID)

What happens instead?

way 1234 and all node 1234 (nodes of the way) are pasted

Please provide any additional information below. Attach a screenshot if possible.

I especially used this feature to copy the way/relation ID in order to download that via Help/Action/DownloadObject on another layer.

Maybe the stringFlavor in PrimitiveTransferable should only contain the explicitly copied objects (and not their members).

Build-Date:2016-08-10 20:03:22
Revision:10774
Is-Local-Build:true

Identification: JOSM/1.5 (10774 SVN en) Linux Arch Linux
Memory Usage: 567 MB / 3504 MB (418 MB allocated, but free)
Java version: 1.8.0_102-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:45829,suspend=y,server=n, -Djosm.home=<josm.pref>, -javaagent:/usr/share/intellijidea-ce/plugins/Groovy/lib/agent/gragent.jar, -Dfile.encoding=UTF-8]
Program arguments: [--set=use.native.file.dialog=true, --set=expert=true, --set=remotecontrol.enabled=true, --set=debug.edt-checker.enable=true, --set=dialog.dynamic.buttons=false, --set=iso.dates=true]
Dataset consistency test: No problems found

Attachments (1)

patch-fix-13313.patch (738 bytes) - added by michael2402 3 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 3 years ago by simon04

Milestone: 16.08

comment:2 Changed 3 years ago by aceman

Confirming.

Changed 3 years ago by michael2402

Attachment: patch-fix-13313.patch added

comment:3 Changed 3 years ago by michael2402

Summary: Copy no longer only copies the selected object ID to clipboard[Patch] Copy no longer only copies the selected object ID to clipboard

Changed that one word ;-)

comment:4 Changed 3 years ago by Don-vip

Cc: michael2404 removed

comment:5 Changed 3 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 10812/josm:

fix #13313 - Copy no longer only copies the selected object ID to clipboard (patch by michael2402) - gsoc-core

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.