Re: KDE file dialogs in Thunderbird and Firefox

"[email protected]" <[email protected]> Tue, 21 Jul 2020 00:03:58 +0200
Newsgroups gmane.linux.suse.kde
Message-ID <[email protected]>
Am 10.07.20 um 09:57 schrieb Wolfgang Rosenauer:
> 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.

For your interest:
Leap 15.2
Firefox 78.0.1esr
KDE Plasma 5.18

GTK_USE_PORTAL=1  is set

===> Firefox still does NOT use KDE/Qt file picker, but the GTK one....

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