From: John Stebbins Date: Sat, 5 Jan 2019 15:56:39 +0000 (-0700) Subject: flatpak: fix access to gvfs mounted filesystems X-Git-Tag: 1.2.1~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f79e9b262fcb67b1f0cb8356842af52b28fbfd53;p=handbrake flatpak: fix access to gvfs mounted filesystems An additional access permission is needed to access the gvfs mount point. For the record, the "Right" (TM) way to do this is to use GtkFileChooserNative dialog which will automatically use the flatpak file chooser portal to access files. But this portal currently is missing features that would cripple HandBrake. These features are: 1. Folder selection. We require this for destination selection and for batch processing. 2. Set current highlighted file in file chooser browser. Without this, a user processing a series of videos that are all in the same foder has to navigate from the default "Recent files" selection to the folder where their files are for each file. Also note that GtkFileChooserNative transparently falls back to a regular file chooser when the action requested is not supported. So sometimes the user would have access to remote filesystems, and sometimes not with no obvious reason for the difference. Not a good user experience. (cherry picked from commit d4761a9f2f07fe02935089356fd847530a8eec57) --- diff --git a/pkg/linux/flatpak/fr.handbrake.ghb.json b/pkg/linux/flatpak/fr.handbrake.ghb.json index c723a9f5f..2aa198d13 100644 --- a/pkg/linux/flatpak/fr.handbrake.ghb.json +++ b/pkg/linux/flatpak/fr.handbrake.ghb.json @@ -8,6 +8,7 @@ "--share=ipc", "--socket=x11", "--socket=wayland", "--filesystem=xdg-run/dconf", + "--filesystem=xdg-run/gvfs", "--filesystem=~/.config/dconf:ro", "--talk-name=ca.desrt.dconf", "--talk-name=org.gtk.vfs.*",