Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Potlatch2 creating nodes offscreen #3613

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Potlatch2 creating nodes offscreen #3613

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Bazzargh
[Submitted to the original trac issue database at 6.43pm, Sunday, 27th March 2011]

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.

@openstreetmap-trac
Copy link
Author

Author: Bazzargh
[Added to the original trac issue at 8.41pm, Sunday, 27th March 2011]

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)

@openstreetmap-trac
Copy link
Author

Author: Bazzargh
[Added to the original trac issue at 8.11am, Monday, 28th March 2011]

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

@openstreetmap-trac
Copy link
Author

Author: Andy Allan
[Added to the original trac issue at 1.52pm, Tuesday, 29th March 2011]

Fixed in commit 3fdb3c26

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant