Re: Plasma file dialogs in Thunderbird

J Leslie Turriff via openSUSE Users <[email protected]>
Newsgroups gmane.linux.suse.general
Message-ID <[email protected]>
	Thank you a thousand times for sharing this page which documents the obscure 
values for Firefox's extended configuration interface!

Leslie

On 2026-06-07 19:06:53 David C Rankin wrote:
> On 6/7/26 11:46 AM, Andrei Borzenkov wrote:
> > 07.06.2026 18:58, gumb via openSUSE Users wrote:
> >> On 07/06/2026 15:03, Andrei Borzenkov wrote:
> >>> Configuration editor - widget.use-xdg-desktop-portal.*
> >>>
> >>> 15.6 had kmozillahelper which is no more present in 16.0 (and is auto-
> >>> removed on update).
> >>>
> >>> You did not say where your Firefox comes from.
> >>
> >> My Firefox is also the standard esr version from the oss repo. By
> >> comparing the entries in about:config for both FF and TB for the various
> >> entries under widget.use-xdg-desktop-portal.* I could see one
> >> difference.
> >>
> >> widget.use-xdg-desktop-portal.file-picker was set to 2 in Thunderbird,
> >> but was showing 1 in Firefox,
> >
> > Indeed. It is set by the MozillaFirefox-branding-openSUSE package.
>
> I found a helpful search of the firefox source code that will pull in
> all the settings and value for each of the about:config settings:
>
> https://searchfox.org/firefox-release/source/browser/app/profile/firefox.js
>
> For example searching "widget.use-xdg-desktop-portal" pulls in:
>
> # Whether to use gtk portal for the file picker.
> #  - 0: never
> #  - 1: always
> #  - 2: auto (true for flatpak or GTK_USE_PORTAL=1, false otherwise)
> - name: widget.use-xdg-desktop-portal.file-picker
>    type: int32_t
>    value: 2
>    mirror: always
>
> # Whether to use gtk portal for the mime handler.
> #  - 0: never
> #  - 1: always
> #  - 2: auto (for now only true for flatpak, see bug 1516290)
> - name: widget.use-xdg-desktop-portal.mime-handler
>    type: int32_t
>    value: 2
>    mirror: always
>
> # Whether to use XDG portal for native messaging.
> # https://github.com/flatpak/xdg-desktop-portal/issues/655
> #  - 0: never
> #  - 1: always
> #  - 2: auto (true for snap and flatpak or GTK_USE_PORTAL=1, false
> otherwise)
> - name: widget.use-xdg-desktop-portal.native-messaging
>    type: int32_t
>    value: 0
>    mirror: always
>
> # Whether to try to use XDG portal for settings / look-and-feel
> information. #
> https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.
>Settings #  - 0: never
> #  - 1: always
> #  - 2: auto
> - name: widget.use-xdg-desktop-portal.settings
>    type: int32_t
>    value: 2
>    mirror: always
>
> # Whether to use XDG portal for geolocation.
> #
> https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.
>Location #  - 0: never
> #  - 1: always
> #  - 2: auto
> - name: widget.use-xdg-desktop-portal.location
>    type: int32_t
>    value: 2
>    mirror: always
> # Whether to use XDG portal for opening to a file.
> #
> https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.
>OpenURI #  - 0: never
> #  - 1: always
> #  - 2: auto (true for flatpak or GTK_USE_PORTAL=1, false otherwise)
> - name: widget.use-xdg-desktop-portal.open-uri
>    type: int32_t
>    value: 2
>    mirror: always
>
> I've always had problems with the xdg-desktop-portal mess. This
> reference has helped with both openSUSE and Arch desktops. The setting
> of 2 (auto) on widget.use-xdg-desktop-portal.file-picker has always
> worked best for me on different desktops (providing the default GTK
> dialog if no other is found) 1 (always) has left me without any
> file-pickers on occasion.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.