After upgrading to Firefox 118, it uses the GTK filepicker

Hi,
After upgrading Firefox to version 118 from the repo, it uses that ugly GTK filepicker.
How can I set it back to the KDE version?
I already tried
GTK_USE_PORTAL=1 firefox
but that didn’t help.

Repo is Index of /pub/opensuse/repositories/mozilla/openSUSE_Leap_15.4/

Thanks!

@Teuniz:

Does this also happen with a new, fresh, pristine, user?


I checked the “about:config” of this 115.2.1esr (64-Bit) and couldn’t find anything relevant.
Do you have the “Plasma Integration” Firefox Extension installed?

I guess it’s related to this:

deactivated KDE integration temporarily

I use the Bash shell, and I did this: echo export GTK_USE_PORTAL=1 >> .profile

Then I logged out and logged back in, and I had the kde file dialogs when saving in Firefox.

Bingo! That works! I don’t understand why the command

GTK_USE_PORTAL=1 firefox

didn’t work…

Thanks anyway :+1:

Just a suggestion. Maybe Firefox was still running inside your session. Then there will be no new instance of the firefox process (the existing firefox will open a new window) and thus no environment change.

Most likely, because by default firefox contacts already running instance that opens new window. You need

firefox --new-instance

or

firefox --no-remote

to actually start new process with the current environment variables.

Because things changed in xdg-desktop-portal-kde with the release of plasma 5.27.8

There’s a fix making it’s way into Factory right now.