-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
OsmAnd deletes favorites if one is saved before all favorites are loaded #20957
Comments
Unfortunately, I do not fully understand the steps for reproduction. Am I correct in assuming that after opening the app with a large number of favorites, it takes some time for the favorites to load, and during that period, a new favorite needs to be created? Could you please provide a video and more detailed steps to help us reproduce the bug accurately without making assumptions? |
Yes, your understanding is correct: when I first open OsmAnd, I have no favorites, but they appear after a while (usually about a minute in). During that period, if I save a favorite, all previous favorites that I had get deleted. I'm not sure if this is specific to having OsmAnd data stored on SD card (as opposed to in main memory) or if it is even related to having lots of favorites (as opposed to some other issue that prevents favorites from loading quickly), but I'm mentioning it just in case it is relevant. Here's a link to GDrive with a video showing the period between loading OsmAnd and appearance of favoties: https://drive.google.com/file/d/1Csb3Km9FxkvviNMIlo267PhGXu_I7dem/view If I save a favorite during this period, other favorites are deleted (as in, even after waiting for a few minutes, the only favorites I will see is the one I just created, and if I reload OsmAnd I will see the same - just one favorite). |
Just FYI: It's possible to use backups for favorites from local storage, to restore missing favorites |
yep, I eventually found where they were. the process could've been less manual, but that's a separate issue. |
From my testing, the behavior even seems somehow triggered by going to the My Favorites screen too soon after app start:
So while the 10 seconds may vary with your number of favorites, it seems the issue is aggravated or even created by going to some screen too early in the process, creating this extra-long blocking. I believe I have seen similar effects by trying certain search operations too early after app start. For example, if going to Search > Address, and tapping "Search city/location first": If you do this before the list of "Nearest cities" is displayed at the bottom of the screen, you increase the overall time for the search to return results significantly vs. first waiting for the Nearest cities to be displayed. |
Description
If OsmAnd hasn't loaded its favorites yet, and I create a new one, the old ones are deleted and there appears to be no way to restore them.
(apologies, there was a rant previously, but backups work, it was user error)
Steps to reproduce
Actual result
All old favorites are deleted
Expected result
If favorites are unavailable right now, I'd expect either that I wouldn't be able to save a new one, or, preferably, it'll be saved and then added to favorites later.
Your Environment (required)
WARNING Crash-Logs MAY contain information you deem sensitive.
Review this CAREFULLY before posting your issue!
The text was updated successfully, but these errors were encountered: