deckerst / aves

Aves is a gallery and metadata explorer app, built for Android with Flutter.
BSD 3-Clause "New" or "Revised" License
2.77k stars 106 forks source link

Empty albums do not save after force close #1248

Closed An-anonymous-coder closed 3 weeks ago

An-anonymous-coder commented 1 month ago

Describe the bug When you create a new album and then force close the app, the album goes missing but the app still thinks it's still there.

To Reproduce Steps to reproduce the behavior:

  1. Open Aves
  2. Go to "Albums"
  3. Tap the three dots
  4. Select "Create album"
  5. Name the album anything. I named mine "Test" for clarity.
  6. Click "CREATE"
  7. Force close Aves
  8. Open Aves
  9. Go to "Albums" The album you created is missing. This does not happen until you force close Aves.
  10. Tap the three dots
  11. Select "Create album"
  12. Try to enter the name you had before. Mine was "Test" It will say "Directory already exists", despite the album not showing up.

Expected behavior The newly created albums should show up.

deckerst commented 1 month ago

Empty albums not being kept on relaunch is by design. However, preventing you from creating an album when the folder exists on storage is indeed a bug.