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
favorites: duplicates can not be selected and deleted... #17977
Comments
@Rowin63 can you make a short video of your issue? |
Here´s the video. No, I don´t use the cloud. Anyway, I cant´get rid of them now :-) Screen_Recording_20230821_091157_OsmAnd+.mp4 |
I solved the problem by deleting the favourites and get a copy from another device 👍 |
@Rowin63 In your opinion, what was the reason for this behavior? |
I don't really know, but perhaps the fact, that there are two absolutely identical entries in the favorite.gpx file? And then the app gets confused about, which to select? Just a guess. Unfortunately I deleted the file. Otherwise I could have tried to edit one of the duplicated entries just a little bit (date, time, whatever, but not name or position) and see if this behavior changes... |
Yes, I can confirm, it is because the duplicates are absolutely exact duplicates. |
It sounds like a bug, then. We should in the app either
|
Favroties couldn't be exact duplicates so it's bug during import / copy / etc, actually it should have checks for such situations it looks strange of course |
OsmAnd~ 4.6.0#792m, released: 2023-09-21
|
video_2023-09-22_11-44-21.mp4 |
Critical bug for cloud synchronization - favorites should never have duplicates! |
Tested on 2 Android devices with OsmAnd~ 4.6.0#997m, released: 2023-11-08
So the cause of this issue has been fixed (also see #18241, it also can be closed). |
I have much the same problem. Apart from the fact that this should work, it would far better if imports of duplicate entries were prevented in the first place! |
This problem was fixed.
…On Sat, Mar 16, 2024, 5:06 AM eurosoba ***@***.***> wrote:
I have much the same problem.
Frequent changes of phone means that I have four copies of every favourite.
Although it looks like you can delete them by checkboxing them it doesn't
actually work.
Here's what happens:
Checkbox 3 of the 4 identical entries
Press the dustbin icon
Message to say that I'm going to delete 1 favourite
Press delete
Only one of the three is actually deleted
Apart from the fact that this should work, it would far better if imports
of duplicate entries were prevented in the first place!
—
Reply to this email directly, view it on GitHub
<#17977 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AORSWJ54KUTIFYNNQG5VMWLYYQYUHAVCNFSM6AAAAAA3WYEM32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBRHE3DMMJVG4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
So how come I'm still getting it as of 10 minutes ago? ---- On Sat, 16 Mar 2024 18:12:15 +0000 ***@***.*** wrote ----
This problem was fixed.
On Sat, Mar 16, 2024, 5:06 AM eurosoba ***@***.***> wrote:
I have much the same problem.
Frequent changes of phone means that I have four copies of every favourite.
Although it looks like you can delete them by checkboxing them it doesn't
actually work.
Here's what happens:
Checkbox 3 of the 4 identical entries
Press the dustbin icon
Message to say that I'm going to delete 1 favourite
Press delete
Only one of the three is actually deleted
Apart from the fact that this should work, it would far better if imports
of duplicate entries were prevented in the first place!
—
Reply to this email directly, view it on GitHub
<#17977 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AORSWJ54KUTIFYNNQG5VMWLYYQYUHAVCNFSM6AAAAAA3WYEM32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBRHE3DMMJVG4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Description
Somehow it happened, I duplicated all my favorites.
So I tried to select and delete those duplicates:
my places / favorites / trash bin / selecting every second favorite, every duplicate. I continue one by one by one (every second is marked), and suddenly it happens, that from all selected favorites both, also the ones I want to keep, are marked for delete, automatically!
Tried it a few times, happens always. Like this, it is not possible for me to delete all the duplicates I produced...
Happens in +4.5.10, but I remember, it was also in some previous version like this. My workaround then was replacing the favorites file from a backup. But unfortunately now I can´t do this, the backup also contains the duplicates...
I can select and delete around 20 duplicates before this "marking" happens. When around 30, it happens to mark both of the selected favorites. But it is independent from the selected number, it happens somehow after a certain time. I also can select 15 or 20 and wait, it happens after some seconds.
How to reproduce
Actual result
Expected result
Environment
OsmAnd Version:
Android/iOS version:
Device model:
The text was updated successfully, but these errors were encountered: