3 ms·
The funny thing about picker is that GTK supports alternative filepickers on flatpak offically, but non-flatpak is considered an "debug feature" [1] 1: https:/
by Cloudef 4y ago
The funny thing about picker is that GTK supports alternative filepickers on flatpak offically, but non-flatpak is considered an "debug feature" [1]
1: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4829 https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4829
- TingPing 4y agoTry to understand what you comment on. Users blindly used this env var and break their system. Inside flatpak it's required to work but outside it could be running in a process that shouldn't be using the portal for various features. There are also various xdg-desktop-portal bugs that need to be fixed there first. Like some portals fail on the host.
- mixedCase 4y agoBecause it is a debug feature, that environment variable affects far more than the file chooser. The actual problem is that it is not part of the FileChooserNative API to use the XDG Portal API outside of Flatpak. I just opened an issue for this specific usecase: https://gitlab.gnome.org/GNOME/gtk/-/issues/5026 https://gitlab.gnome.org/GNOME/gtk/-/issues/5026
- Cloudef 4y ago>The way to do that is to install your applications as flatpaks. Yes absolutely helpful as always