The new functionality added in v2.4.0 using the XDG Desktop Portals will fail if the user's home config folder is not the default ~/.config folder. I am using the implementation of the portal found in xdg-portal-test-kde, which I ported from C++ to PySide6 and then tweaked to call OpenFile instead of OpenURI.
As it is now, my PySide6 version does not work with flatpak sandbox paths (I do not know if the C++ version would), and the path string needs to be manually edited to match the correct config folder on the host.
I am simply replacing the ".var/app/... .../config" section of the string with ".config" to get it working for now, and will hopefully get a better solution out in the future. This problem does not affect the rest of the application.
The new functionality added in v2.4.0 using the XDG Desktop Portals will fail if the user's home config folder is not the default ~/.config folder. I am using the implementation of the portal found in xdg-portal-test-kde, which I ported from C++ to PySide6 and then tweaked to call OpenFile instead of OpenURI.
As it is now, my PySide6 version does not work with flatpak sandbox paths (I do not know if the C++ version would), and the path string needs to be manually edited to match the correct config folder on the host.
I am simply replacing the ".var/app/... .../config" section of the string with ".config" to get it working for now, and will hopefully get a better solution out in the future. This problem does not affect the rest of the application.