Recent Projects does not get populated if project is outside user's home
Description
I have my programming projects stored on a separate hard drive from the one that contains my root file system. This separate hard drive is mounted at /mnt/storage and I gave the GNOME Builder Flatpak access to the directory with my programming projects via the following command:
sudo flatpak override org.gnome.Builder --filesystem=/mnt/storage/Programming
When I open a project in this directory it does not get added to the Recent Projects list. If I open a project that lives in my home this is not the case, even if it resides on a mount; that is, it does get added to the list. I tested this by opening a project in ~/mnt/old-files
which is an NTFS filesystem I have mounted. It did get added to the list. Projects that reside on my rootfs and are in my /home also get added properly, but opening a random directory that is on the rootfs but not in my user's home does not get added to the list.
In other words,
Works:
- anything that resides in my user's home
Doesn't work:
- anything that doesn't reside in my user's home
Reproduction
- Open GNOME Builder
- Open a directory outside of your user's home via the
Select a Folder…
button - Close GNOME Builder
- Open GNOME Builder again
- Notice that the directory was not added to the Recent Projects list
System info
- Host: Fedora 31 x86_64
- GNOME Builder version: 3.36.0, stable branch from Flathub
- Flatpak version: 1.4.4
- Rootfs: ext4
- /mnt/storage fs: ext4