Opened 8 years ago

Closed 8 years ago

#3613 closed defect (fixed)

Potlatch2 creating nodes offscreen

Reported by: Bazzargh Owned by: potlatch-dev@…
Priority: major Milestone:
Component: potlatch2 Version:
Keywords: Cc:

Description

I dragged a postbox icon to the correct location on the map, but it disappeared. The property editor for the POI still appeared on the left. Since the POI didn't appear on the map, I presumed something had gone wrong, so re-added it.

However, a dragged icon had disappeared for me once before, so this time I checked the changelog. I found a postbox node added well away from where I was editing - well away from the visible editing area, but within the bounding box of the changeset. I presume this was the node that had disappeared. I've since deleted the POI, but it was this one: http://www.openstreetmap.org/browse/node/1222137856

The previous time this happened to me the POI was a shop. I'm going to go back through my edit history to see if I can find it - it was a couple of weeks ago IIRC.

Change History (3)

comment:1 Changed 8 years ago by Bazzargh

I've just been trying to reproduce this on the test server and it is quite random but very reproducible; I can get it to happen 10-20% of the time. See http://api06.dev.openstreetmap.org/browse/changeset/8971

In this changeset, I drew a way around the visible edit area, then started dropping in confectionery stores. Some distance to the north you can see the ones that were added incorrectly. While these were all added to the north, an earlier experiment dropping in phonebox pois as part of the same changeset produced offscreen pois with west, south west, and south offsets.

Playing with the editor it seems the 'wrong' offset is something like double the distance from where the editor was originally centred - ie load potlatch, move slightly west, and when a point disappears it will be even further west. If you drag the edit area a large distance north, the misplaced poi will be a yet larger distance north. I've not measured to see if it's actually doubled but the effect of recentreing the map is 100% reproducible.

Browser: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-GB; rv:1.9.2.14) Gecko/20110207 Firefox/3.6.14 Flash Version: 10.2.152.26 OS X 10.5.8 (Intel)

comment:2 Changed 8 years ago by Bazzargh

Reproduced the bug easily on Ubuntu: $ uname -a Linux desktop 2.6.32-30-generic #59-Ubuntu SMP Tue Mar 1 21:30:46 UTC 2011 x86_64 GNU/Linux Minefield 4.0b13pre (2011-03-22) Shockwave Flash 10.2 r153

comment:3 Changed 8 years ago by Andy Allan

Resolution: fixed
Status: newclosed

Fixed in commit 3fdb3c26

Note: See TracTickets for help on using tickets.