streetcomplete / StreetComplete

Easy to use OpenStreetMap editor for Android
https://streetcomplete.app
GNU General Public License v3.0
3.82k stars 348 forks source link

User position icon shifts center after deselecting quest #5857

Open pkoby opened 2 weeks ago

pkoby commented 2 weeks ago

Sometimes after deselecting or solving a quest (not an overlay as far as I can tell, only pins), the center of the map with the user position icon shifts to the top part of the screen. See video:

https://github.com/user-attachments/assets/9de5111c-a28a-49e4-8e14-163d46f5ebed

How to Reproduce

I cannot figure out specific situations that make this happen. It might be more common when selecting pins that are at the edge of the view. Tap a quest, then tap out. Sometimes the map center shifts. Tapping the locate button will switch between navigate and north-up, but not shift the position icon back to the center of the screen. Selecting and deselecting another pin usually fixes it, or restarting the app.

Expected Behavior

When not solving a quest, the user position icon should be in the center of the screen.

Versions affected

v59.0-alpha2

Helium314 commented 2 weeks ago

This might be connected with the camera position being updated while you open the quest form. Does it also happen when the camera is not following your position?

pkoby commented 2 weeks ago

I haven't noticed that happen, no.

Helium314 commented 2 weeks ago

Actually the issue probably comes when closing the form. When moving the camera back to the initial position, the padding from the quest form is set to 0, but maybe not really because parallel camera updates don't work well (#5860).

Nick-Tallguy commented 1 week ago

I've experienced this twice:

  1. Add a note, but then decide not to, and
  2. Using the 'Things' overlay. The item I wanted was not in the list, so I exited the overlay.

After each event the GPS follow position appeared to be about where the cross hairs would be.

This only appeared for me when I actually failed to create the note or add a POI.

Screenshot_20240901-105145.png