Modify

Opened 3 years ago

Closed 3 years ago

#13050 closed defect (fixed)

[Patch] cannot copy from the object history view

Reported by: dieterdreist Owned by: team
Priority: normal Milestone: 16.07
Component: Core Version:
Keywords: template_report Cc:

Description (last modified by dieterdreist)

What steps will reproduce the problem?

  1. open object history (ctrl+h)
  2. try to select a tag

What is the expected result?

selects a cell in a version (value or key) and lets you copy the content.

What happens instead?

cannot copy, can only select a row (key+value) and when I copy and paste, I only get the key twice, e.g.:
name name

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

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-06-24 01:49:51 +0200 (Fri, 24 Jun 2016)
Build-Date:2016-06-24 01:34:30
Revision:10473
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10473 en) Mac OS X 10.11.5
Memory Usage: 825 MB / 1820 MB (405 MB allocated, but free)
Java version: 1.8.0_66-b17, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Dsun.java2d.opengl=true]
Dataset consistency test: No problems found

Plugins:
- TombPlugin (46)
- alignways (32161)
- apache-commons (32158)
- apache-http (32158)
- buildings_tools (32158)
- ejml (32158)
- geochat (32158)
- geotools (31895)
- imagery_offset_db (32158)
- jts (31906)
- opendata (32289)
- print (32191)
- proj4j (32158)
- reltoolbox (32158)
- reverter (32158)
- undelete (32158)
- utilsplugin2 (32158)

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1

Last errors/warnings:
- W: Old style SideButton usage for action org.openstreetmap.josm.gui.history.HistoryBrowserDialog$CloseAction@64445f57
- W: Old style SideButton usage for action org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction@722ed8e2
- W: Old style SideButton usage for action org.openstreetmap.josm.gui.history.HistoryBrowserDialog$ReloadAction@4d93784c
- W: Old style SideButton usage for action org.openstreetmap.josm.gui.history.HistoryBrowserDialog$CloseAction@6294dfdd
- W: Old style SideButton usage for action org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction@575ff309

Attachments (1)

patch-fix-13050.patch (13.9 KB) - added by michael2402 3 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 3 years ago by dieterdreist

Description: modified (diff)

comment:2 Changed 3 years ago by Don-vip

Milestone: 16.06

comment:3 Changed 3 years ago by michael2402

When fixing this we should introduce a new DataFlavor for tags.

comment:4 Changed 3 years ago by Don-vip

Milestone: 16.0616.07

Changed 3 years ago by michael2402

Attachment: patch-fix-13050.patch added

comment:5 Changed 3 years ago by michael2402

Summary: cannot copy from the object history view[Patch] cannot copy from the object history view

I attached a patch that fixes this.

The tags are now transfered as own data type and as text version.

comment:6 Changed 3 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 10637/josm:

fix #13050 - cannot copy from the object history view (patch by michael2402, modified) - 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.