Modify

Opened 6 years ago

Closed 16 months ago

#9860 closed enhancement (fixed)

Zoom to undeleted object only

Reported by: naoliv Owned by: team
Priority: normal Milestone:
Component: Plugin undelete Version:
Keywords: Cc:

Description

Sometimes I extract all the administrative boundaries of Brazil to do some checks (broken relations, deleted ways, etc).
The problem happens when I undelete an object and the plugin zooms to my entire data (the whole country), making things slow and annoying until I find the object/area again and zoom into it.

Couldn't the undelete plugin only zooms to the recovered data (or maybe don't touch the zoom; leave it at the area that the user is seeing)

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-03-25 02:36:04
Last Changed Author: Don-vip
Revision: 6933
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-03-24 23:46:39 +0100 (Mon, 24 Mar 2014)
Last Changed Rev: 6933

Identification: JOSM/1.5 (6933 pt_BR) Linux Debian GNU/Linux testing (jessie)
Memory Usage: 247 MB / 1667 MB (109 MB allocated, but free)
Java version: 1.7.0_51, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u51-2.4.5-2
VM arguments: [-Djava.net.useSystemProxies=true, -Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Plugin: Create_grid_of_ways (30277)
Plugin: OpeningHoursEditor (30235)
Plugin: PicLayer (30277)
Plugin: SimplifyArea (30277)
Plugin: buildings_tools (30277)
Plugin: contourmerge (1010)
Plugin: editgpx (30197)
Plugin: geotools (30277)
Plugin: jts (30277)
Plugin: log4j (30197)
Plugin: measurement (30277)
Plugin: merge-overlap (30277)
Plugin: opendata (30303)
Plugin: pdfimport (30277)
Plugin: poly (30277)
Plugin: reverter (30319)
Plugin: scripting (30601)
Plugin: todo (29154)
Plugin: turnrestrictions (30307)
Plugin: undelete (30277)
Plugin: utilsplugin2 (30337)

Attachments (0)

Change History (6)

comment:1 Changed 16 months ago by GerdP

Do you know that you can use hot key "8" (zoom to previous) to go back to previous position and zoom?
Anyway:
I think it would be good to replace the current selection with the restored objects and zoom to that selection, like pressing "3".

comment:2 Changed 16 months ago by GerdP

fixed with [o34871:34872]
If nothing was recovered the zoom doesn't change, else all recovered objects are selected and "Zoom to selection" is executed.

comment:3 Changed 16 months ago by GerdP

With [o34875:34876] only one zoom change is done. This should reduce the "flickering" while undeletint multiple objects.

comment:4 Changed 16 months ago by GerdP

Resolution: fixed
Status: newclosed

comment:5 Changed 16 months ago by GerdP

Resolution: fixed
Status: closedreopened

Final zoom doesn't work when a way is restored. The zoom is executed before the nodes are known.

comment:6 Changed 16 months ago by GerdP

Resolution: fixed
Status: reopenedclosed

(hopefully) fixed with ​[o34877:34878].

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.