Re: KDE file dialogs in Thunderbird and Firefox

Wolfgang Rosenauer <[email protected]> Fri, 10 Jul 2020 09:57:51 +0200
Newsgroups gmane.linux.suse.kde
Organization openSUSE
Message-ID <[email protected]>
Hi,

Am 10.07.20 um 08:26 schrieb Tom:
> Hi all,
> 
> it seems like Thunderbird and Firefox use GTK dialogs for opening and
> saving files by default. To make them use native KDE dialogs the
> environment variable GTK_USE_PORTAL must be set to 1. One way to do that
> is to edit the .desktop files for the applications [1].
> 
> Alternatively, the line
> 
> export GTK_USE_PORTAL=1
> 
> can be added in ~/.profile or even globally under /etc/profile.d/.
> 
> Would it make sense to add the global export in a package (e.g., a
> branding package)? This should make Firefox and Thunderbird use the KDE
> file dialogs by default for most users. Or would that have any unwanted
> side effects?

I have some stupid questions about GTK_USE_PORTAL:
When I check the Firefox code GTK_USE_PORTAL is already activated for
Firefox when running in wayland mode.
So you are asking if it should be used always instead of the native
implementation?

Also openSUSE is shipping since ages with a patch to replace the Gtk
filepicker with the KDE one when running under KDE. Wondering if this
xdg-desktop-portal stuff will make this completely obsolete? Anyone has
insights?


Thanks,
 Wolfgang
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]