You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Potential bug : just uploaded POIs sometimes disappear -> Duplicated "close" POI #109
Though the "duplicate POIs" bug #102 is reproductible, I've seen various time this one, yet I don't know how to reproduce.
(1) Load data
(2) Add some POIs (so with (N))
(3) Upload these POIs. So far so good. No Problem.
(4) When OSM Go "refreshs" the map immediately after the upload the POIs just uploaded disappear. (The correct behavior is just removing the (N). In this case no crash, nothing special. The only problem is that the POIs are not shown anymore on the map.
I've seen this a couple of time so I mentions it here for the sake of the record. BTW to see the points again I had to clear data AND restart the app.
The end result ? The user could be confused or forgot that so he or she create again the POIs where there are. This could ultimately lead to close POIs, but not identical POIs (by contrast to #102).
I don't know if this bug is reproductible yet. A symptoma of this bug would be users that create POIs almost at the same place (since they don't see what they have already created just before).
I've mangaged to reproduce this bug (in fact I intended to create a scenario for #102 but instead of finishing with a crash and dupicated POIs it finish with POI that are sent but no more on the screen.
(1) Loaded a lot of data. -> Crash at 31000
(2) Crash at 46000
(3) Reached 60000, enough for the test
(4) Created some lampost and uploaded them at (abour 60 as far I remember, not sure)
(6) When the map is then display some lamposts are not there. See below .
(7) reloading data -> nothing happen. Lamposts are hidden
(8) checking id. Lamposts are there. See below lamposts with red lines. ISSUE As the user does not realize that the POIs has gone and it is likely that she/he will created them again. This results in "duplicated close POIs".
(9) Restarting the application. As far as I remember it crashed once.
(10) Restarting the application. Now the lampost are there. See below.
NOTE: I don't know if all POIs disappear or just some of them.
Activity
Binnette commentedon May 31, 2022
Hi @escribis, am I correct ?
Maybe, the "refresh" is too fast? So the new POI are not "committed" in OSM.org then when OsmGo "refresh", the new POI are "not yet" sent by OSM API?
If so, may be we can:
I don't know yet how OsmGo is working. So @DoFabien will probably have better ideas than me...
xcriptus commentedon Jun 1, 2022
Bonjour
I've mangaged to reproduce this bug (in fact I intended to create a scenario for #102 but instead of finishing with a crash and dupicated POIs it finish with POI that are sent but no more on the screen.
ISSUE As the user does not realize that the POIs has gone and it is likely that she/he will created them again. This results in "duplicated close POIs".
NOTE: I don't know if all POIs disappear or just some of them.
Limiting the number of objects in memory
No more changes can be made while the data is being generated