Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8903 closed defect (fixed)

[patch] Unglueing tagged node moves it to viewport corner

Reported by: alv Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: unglue Cc: akks

Description

With the latest tested, the unglue functionality has changed; whenever I unglue a node that has tags, and that is a part of only one way, the new node with the tags is moved to the top left corner of the visible area in the map view. The unglued node used to be placed under the mouse cursor.

When there are several ways using that node, it keeps all the nodes in place.

Attachments (1)

8903.patch (1.2 KB ) - added by AlfonZ 11 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by rickmastfan67, 11 years ago

I can verify this happening in [6082] as well.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-07-25 01:35:05
Last Changed Author: akks
Revision: 6082
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-07-24 16:01:19 +0200 (Wed, 24 Jul 2013)
Last Changed Rev: 6082

Identification: JOSM/1.5 (6082 en) Windows 7 64-Bit
Memory Usage: 154 MB / 2730 MB (74 MB allocated, but free)
Java version: 1.7.0_25, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Xmx3072M]

Plugin: ImageryCache (29690)
Plugin: OpeningHoursEditor (29771)
Plugin: buildings_tools (29771)
Plugin: mapdust (29525)
Plugin: measurement (29750)
Plugin: mirrored_download (29643)
Plugin: openstreetbugs (29435)
Plugin: osmarender (29639)
Plugin: reverter (29771)
Plugin: turnrestrictions (29435)
Plugin: undelete (29555)
Plugin: utilsplugin2 (29771)

by AlfonZ, 11 years ago

Attachment: 8903.patch added

comment:2 by AlfonZ, 11 years ago

Summary: Unglueing tagged node moves it to viewport corner[patch] Unglueing tagged node moves it to viewport corner

Caused by r6018.

comment:3 by Don-vip, 11 years ago

Cc: akks added

comment:4 by bastiK, 11 years ago

Resolution: fixed
Status: newclosed

In 6100/josm:

fixed - #8903 Unglueing tagged node moves it to viewport corner (patch by AlfonZ)

comment:5 by bastiK, 11 years ago

Thanks for the patch!

comment:6 by akks, 11 years ago

Just missed that one, thank you.

So, addMouseListener does not listen for mouse movement and addMouseMotionListener - to mouse clicks. That MouseAdapter confused me, sorry.

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.