Olivier Tilloy
Olivier Tilloy
Yes, that sounds reasonable.
One of these assumptions is in `app_has_file_access()` in `document-portal/document-portal.c`: ```C if (g_str_has_prefix (target_app_id, "snap.")) { res = get_output (&error, "snap", "routine", "file-access", target_app_id + strlen ("snap."), path, NULL); } ```
@jhenstridge I tried your suggestion to pass the desktop file ID to the backend UI service, and I can confirm this works as expected, without changes to gnome-shell. This is...
Note that currently the apparmor fonts abstraction (/etc/apparmor.d/abstractions/fonts) only allows read access to @{HOME}/.fonts/, not @{HOME}/.local/share/fonts/. I've discussed this with @jdstrand and this will be added. In the meantime fonts...
That looks exactly like [bug #1771385](https://launchpad.net/bugs/1771385), I bet rebuilding that snap against the latest revision of the desktop helpers would make the issue go away.
I just installed the snap from the edge channel in a clean bionic VM, and fonts are rendered correctly:  Did you follow Gerry's advice to uninstall and then reinstall...
Thanks for your work on this! If we are going to merge this, we should create a dedicated travis-ci account for snapcraft-desktop-helpers, or maybe re-use an existing one used by...
To be exact, the `GtkFileChooserWidget` implementation uses [g_get_home_dir()](https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-home-dir), which uses `$HOME`. Changing the value of `$HOME` would have undesirable side effects. Reading the actual implementation of `g_get_home_dir` though, it checks...
I tested setting `$G_HOME` to `/home/$USER` with the libreoffice snap, and I can confirm that the file open/save dialog now has a sane default for the home directory. However there...
I think that's rather specific to desktop applications (connected to the home interface), and only for user-generated files (where to save them by default, or where to open previously saved...