Created attachment 130843 [details] Firefox always asks to be default browser When Firefox starts, it always shows a dialog for settings it as default browser, even if I click on "Use Firefox as my default browser" and restart the browser the dialog appears again, and even after setting Firefox as default browser in Plasma Settings then restarting the browser it gives the same dialog. It's like Firefox cannot read the settings of default apps set inside Plasma settings, or Plasma settings fails to set it properly. Firefox; 79.0 (64-bit) Operating System: Manjaro Linux KDE Plasma Version: 5.19.3 KDE Frameworks Version: 5.72.0 Qt Version: 5.15.0 Kernel Version: 5.7.9-1-MANJARO OS Type: 64-bit
Are you using GTK_USE_PORTAL=1? https://bugzilla.mozilla.org/show_bug.cgi?id=1516290
(In reply to Patrick Silva from comment #1) > Are you using GTK_USE_PORTAL=1? > > https://bugzilla.mozilla.org/show_bug.cgi?id=1516290 I don't launch Firefox with this variable environment, but after verifying on terminal it's already set somewhere else to 1.
yeah, it's a bug in Firefox.
*** Bug 436293 has been marked as a duplicate of this bug. ***
Afaik it's a bug in xdg-utils. We saw and fixed something similar, but it's still pending fd.o release
(In reply to David Edmundson from comment #5) > Afaik it's a bug in xdg-utils. > > We saw and fixed something similar, but it's still pending fd.o release are you talking about this commit? https://gitlab.freedesktop.org/xdg/xdg-utils/-/commit/d11b33ec7f24cfb1546f6b459611d440013bdc72 I'm using https://aur.archlinux.org/packages/xdg-utils-git and Firefox 88.0.1 on Arch Linux and the bug reported here persists despite I do not use GTK_USE_PORTAL=1 on my system. Operating System: Arch Linux KDE Plasma Version: 5.21.90 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 Graphics Platform: X11
I guess that makes sense since the Firefox bug report is still open: https://bugzilla.mozilla.org/show_bug.cgi?id=1516290 I guess it's on them to fix.
While waiting for a fix, the simplest workaround to stop having the dialog pop up each time firefox starts, is to rename or delete /usr/sbin/firefox (that comes from neon-settings-2, so is probably neon-specific). The environment variable is set in that script.
*** Bug 442045 has been marked as a duplicate of this bug. ***
This bug is back after latest update to firefox 96. Each time I open firefox I get the default browser prompt, even when selecting the checkbox "set as default".
That's because it's not fixed in Firefox yet.