I stumbled over the following phenomenon: Pictures taken by the camera app are not display in the gallery app, if the pictures are stored on an encrypted SD card. I am able to find and open the picture files via the file system using the app "File Browser". I already tried to refresh the media database using the "Sailfish Utilities". Unfortunately this did not solve the problem.

Formating the SD card without encryption and storing pictures on the card that way makes them appear in the gallery app as expected.

I'd like to know, if anybody can confirm this behaviour. If it is reproducable, it might be a general bug that Jolla developers could probably fix. I am using SailfishOS X 3.0.1.11 on Xperia X in combination with a SDXC card from SanDisk with a capacity of 200 GB.

Comments

I've actually got the opposite problem - I symlink the encrypted SD card folder (which is a hidden .folder on the decrypted volume) to /home/nemo/Pictures and photos without fail ALWAYS show up twice in the gallery app. I'm using the scripts from This thread though, so not sure if there's something in there that picks the tracker into gear sifting through the decrypted volume.

@Piece_Maker, if you want to discuss your observations in an issue at Github (assuming that you are using crypto-sdcard) or at the appropriate thread at TJC, I am pretty sure we can resolve your pictures being shown twice in the Gallery app.
Please provide a bit more details then: The device and SailfishOS version you are using, plus what ls -l /home/nemo | grep '^l.*' emits.

On startup of the device the trackerd is started. But at that point an encrypted device cannot be found because it is not unlocked at that time.

When restarting the trackerd after unlocking - via sailfishos tools -> empty media database (and e. g. virgi's Tracker Path Settings patch is used and set to recursively search the sd card) all data will occur in media player and gallery.