Skip to content
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

Gallery wiped majority of favorited media #383

Open
7 tasks done
mgrandi opened this issue Dec 27, 2024 · 2 comments
Open
7 tasks done

Gallery wiped majority of favorited media #383

mgrandi opened this issue Dec 27, 2024 · 2 comments
Labels
bug Something is not working

Comments

@mgrandi
Copy link

mgrandi commented Dec 27, 2024

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.2.1

Affected Android/Custom ROM version

Android 15

Affected device model

pixel 7 pro

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

Was viewing favorites
Moved away from the app
Came back to the app
Favorites media went from thousands to 30 entries

Expected behavior

To not wipe my favorites

Actual behavior

It wiped all but 30 of my favorited media

Screenshots/Screen recordings

No recordings

Additional information

This is an existing issue I found with SimpleMediaTools, where for some reason some how, the favorites storage is corrupted and it handles this by just nuking the entire or most of the favorites list, which is incredibly annoying and makes me not want to use this feature at all, as it has happened at least twice with simple media tools, and now once with the new version

@mgrandi mgrandi added bug Something is not working needs triage Issue is not yet ready for PR authors to take up labels Dec 27, 2024
@Aga-C
Copy link
Member

Aga-C commented Dec 27, 2024

It's possible to revert all your favorites by entering again into folders from where you've added media to favorites.

Also, here are some tips for easy bug reproduction:

  • It seems that it appears when there are many directories with many files. I was only able to reproduce it on a phone with 32 folders with circa 2500 files.
  • It's easiest to reproduce by adding files from multiple directories. I couldn't reproduce it by adding files only from one or two directories.

@Aga-C Aga-C removed the needs triage Issue is not yet ready for PR authors to take up label Dec 27, 2024
@mgrandi
Copy link
Author

mgrandi commented Dec 28, 2024

I force quit the app a few times but after a few times and navigating to the folder again it seems to have come back

This smells like a race condition with it not saving the favorites list in a safe manner, because a few times when this happened with simple media tools gallery, the favorites list did not come back at all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

No branches or pull requests

2 participants