How to solve this issue with flatpaks changing folder names after an update?


I am noticing an issue with flatpaks I can’t figure out how to solve. I attached a couple photos to this post of Vivaldi’s and Thunderbirds settings as reference.

In the example of the Vivaldi settings image, you can see the location Vivaldi displays, which is a folder location that I am not familiar with. Really, this is pointing to a folder I created in my ‘documents’ folder, but it appears this way in Vivaldi’s settings. This appears to be how folder locations are shown in other flatpaks as well, such as selecting a custom signature image on my local drive in Thunderbird.

So what happens is that every time an update is pushed for my flatpaks, the folder name changes a little and suddenly the application doesn’t detect my custom CSS folder anymore for Vivaldi or my custom image signature for Thunderbird. I have to go in settings and select the path to my folder again. In the Vivaldi settings image below, it’s the folder name just before Vivaldi ‘49fe1b2’ that will change to something else after an update.

How do I stop this from happening? It’s annoying to have to re-select the folder each time an update is pushed.

I ran flatpak documents com.vivaldi.Vivaldi --columns=all in terminal and this is the output.

flatpak documents com.vivaldi.Vivaldi --columns=all
ID       Path                                   Origin                                   Application         Permissions
1387a6eb /run/user/1000/doc/1387a6eb/Custom CSS /home/user/Documents/Custom CSS         com.vivaldi.Vivaldi read write grant-permissions
4f6378e5 /run/user/1000/doc/4f6378e5/Vivaldi    /home/user/Documents/Custom CSS/Vivaldi com.vivaldi.Vivaldi read write grant-permissions
f49fe1b2 /run/user/1000/doc/f49fe1b2/Vivaldi    /home/user/Documents/Custom CSS/Vivaldi com.vivaldi.Vivaldi read write grant-permissions