In un-sticky-gps, after solving some quest the maps jumps to different location. It happens most of the times, but not always, usually with longer quests (type of road)
How to Reproduce
Versions affected
Android 7.1 Nougat
StreetComplete 8.4
It jumps back to the location that you had in view before clicking on the quest.
Edit:
Ah nevermind, that is what you actually would expect. Well, then I cannot reproduce this.
Perhaps there is a misunderstanding. What do you mean with _un-sticky-gps_?
Sticky GPS: viewport follows GPS signal
Unsticky: viewport is not following GPS signal
@westnordost
https://www.dropbox.com/s/gb06kotnkyfp80d/streetcomplete.mp4?dl=0 - actually you don't have to solve quest - simply leave it's view. As you can see I start from one position (Urrutia street), enter quest view and then after leaving quest view I'm a couple of blocks down/north (train station). It kinda feels that it's related with long objects that forces change of underlying map view (to fit it completely). As for un-sticky-gpg -- I should say "non-sticky" - i.e. I can freely move around the map.
EDIT:
more or less location https://www.openstreetmap.org/relation/1766981#map=17/-38.23239/-72.33389 - maybe it will help with reproducing the issue.
That is definitely a bug, but I haven't been able to reproduce it so far.
It's quite reproducible for me - I could provide you with logcat if that helps.
Steps:
Oh right, I was wrong: Only the zoom is reset to the previous zoom, but not the position. The position is not set to something different at all. In your video it zooms to that position because that is the center of the view.
Question is: Would it be an improvement if not only the zoom is reset but also the position? I am not so sure about that.
Would it be an improvement if not only the zoom is reset but also the position?
IMHO, yes. :smile:
Question is: Would it be an improvement if not only the zoom is reset but also the position? I am not so sure about that.
It would be huuuuge improvement (and this is the gist of this issue). IMHO, current behaviour is just a bug - I can't find any useful case for current behaviour (zoom out and then return zoom level but to completely different location).
Most helpful comment
IMHO, yes. :smile: