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
In nearby, upon clicking an item in the list (which can be opened using the list icon at the top right), the map moves itself so that the item is centered on the map, which is intended.
After this, whenever the user moves the map to another location, then, once the pins load, the map moves by itself, to center itself to a random pin. This keeps on happening every time new pins (or pin details) are loaded, until the app is restarted.
Steps to reproduce
Open the app, go to the nearby section.
Click on the list button on the top right.
Click on one of the places displayed in the list. The map moves itself to center the place as intended.
In the map, move to a new place. Wait for the pins to load. When (and while) they load, the map moves by itself.
Expected behaviour
The map doesn't move at random without user interaction.
Actual behaviour
The map moves by itself.
Device name
Samsung Galaxy S20 FE
Android version
Android 13
Commons app version
5.1.0 F-Droid release, and also the current main branch
Device logs
No response
Screen-shots
No response
Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered:
fixescommons-app#6046
the OnFocusChangeListener for nearby place list items sometimes gets invoked when new items aer set, even when the list is hidden, if an item had previously been clicked in it. This in turn causes the onItemClick to be called. This commit adds a check to make sure the list is not hidden when onItemClick is invoked this way.
Summary
In nearby, upon clicking an item in the list (which can be opened using the list icon at the top right), the map moves itself so that the item is centered on the map, which is intended.
After this, whenever the user moves the map to another location, then, once the pins load, the map moves by itself, to center itself to a random pin. This keeps on happening every time new pins (or pin details) are loaded, until the app is restarted.
Steps to reproduce
Expected behaviour
The map doesn't move at random without user interaction.
Actual behaviour
The map moves by itself.
Device name
Samsung Galaxy S20 FE
Android version
Android 13
Commons app version
5.1.0 F-Droid release, and also the current main branch
Device logs
No response
Screen-shots
No response
Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered: