-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ghost-locks when moving the map and flickering "Add data collection site" card #2728
Comments
So I just figured this happens the further I am away from the "center of action", i.e. where most mapping takes place. I was on the survey that takes place in Ghana but was testing it in Germany where the app just wouldn't work. Faking my GPS to be close to Kumasi, the survey worked just fine, but coming closer to the Côte d'Ivoire border the misbehavior started again. |
I verified that this is happening when new sites (LOI) are received from the server. Two primary issues to investigate:
|
@shobhitagarwal1612 you were looking into the viewport, do you have any observations to add here? |
I'm not sure why that is happening. Will try repro'ing it locally to understand what's happening under the hood |
Sounds good. Be sure to try with dev Firebase and not local emu, since Cloud Messaging isn't supported there. |
Initial debugging reveals that
While |
Just verified that this isn't occurring in the latest codebase. @jo-spek can you please re-open if this occurs again? |
I just observed this again at HEAD right after new LOIs were synced. It appears that as the UI catches up with newly synced remote changes the map gets forced back to the previous viewport. Probably related to #2831. |
I believe #2835 may have fixed this. @jo-spek @jabramowitz5 Can you keep in eye out in case this recurs? |
Relating partially to issue #2727:
On my personal Android Device (Xiaomi Poco X3 NFC, Android 12 SKQ1.211019.001, GROUND build 0.1.9-openforis) in this survey, the map is randomly locked to the most recent place. Only when moving away and holding my finger on the touchscreen a little longer does the map move along and not jump back to the previous place. However, then the new place is sort of "ghost-locked". This makes sliding the map around for geolocation almost impossible. All the while, the "Add data collection site" card does randomly appear and disappear. See the video for better understanding.
The same did not happen on any other of my surveys, however, some of the 'smoothness' of gliding over the map is gone and there are frequent small 'jumpbacks' (for lack of a better word). They are only annoying and do not inhibit the work, but diminish the user experience.
slide_bug.mp4
The text was updated successfully, but these errors were encountered: