FossifyOrg / Gallery

Browse your memories without any interruptions with this photo and video gallery
https://www.fossify.org
GNU General Public License v3.0
1.35k stars 40 forks source link

Some settings get lost by export/import #133

Open GfEW opened 5 months ago

GfEW commented 5 months ago

Checklist

Affected app version

1.1.1

Affected Android/Custom ROM version

Android 9 to 11

Affected device model

diverse

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. Open Fossify Gallery's main screen, make sure you are in Show all folders contents mode
  2. In the three dots menu, open Group by, customize your grouping settings, press OK to confirm
  3. In the three dots menu, open Settings, scroll down to find Export settings, tap there, note down and confirm the suggested filename
  4. Reinstall Fossify Gallery or delete its data
  5. Open Fossify Gallery again
  6. In the three dots menu, open Settings, scroll down to find Import settings, tap there, select the noted file exported in step 3, and confirm

Expected behavior

The import should restore your customized grouping settings.

Actual behavior

Grouping settings are still at their default values after the import.

Screenshots/Screen recordings

Screenshot example of grouping settings where all three options have been customized:

FossifyGallery_grouping_before_export

This screenshot shows the result of a export/reinstall/import cycle, where none of the customized options are preserved:

FossifyGallery_grouping_after_import

Additional information

Although I haven't systematically tested export/import preservation with all options, there may be more that get lost. In the course of testing the grouping setting reported here, I've encountered a few times where the formerly activated setting Show the Recycle Bin as the last item on the main screen also didn't get restored but was "Off" after the import. However sometimes, it did get restored - I haven't understood what makes the difference there.