blissd / fotema

Photo gallery for Linux
84 stars 8 forks source link

Fotema Fails to Retain Picture Folder Selection After Reboot #295

Open jbingram opened 1 day ago

jbingram commented 1 day ago

Summary: Every time I reboot my computer and launch the Fotema application, I am prompted to set the picture folder. Despite selecting the "Pictures" folder, the application does not retain this setting after a reboot.

Steps to Reproduce:

  1. Reboot the computer.
  2. Open the Fotema application.
  3. When prompted, select the "Pictures" folder.
  4. Close the Fotema application.
  5. Reboot the computer again.
  6. Open the Fotema application.

Expected Behavior: The application should obviously remember the selected "Pictures" folder and not prompt me to set it again after rebooting.

Additional Information: Operating System: Fedora Silverblue 41 Fotema Version: Flatpak

blissd commented 23 hours ago

Hi @jbingram. Thank you for your bug report. I also run Fotema on Fedora Silverblue and observe similar behaviour to what you've reported. I don't think it is losing the photo directory is to do with reboots in particular, as for me the directory disappears from Fotema's view apparently randomly. When Fotema starts up it checks that the Photo directory is mounted in the sandbox (it will be under /run/user/.../) and if the directory isn't present will run the onboarding screen.

I don't know why the photo directory sometimes isn't mounted into the sandbox. I suspect I've used the wrong portal API to select the photo directory or have missed out a step to make the directory access permission permanent.