Closed Bug 1755661 Opened 2 years ago Closed 2 years ago

Firefox in KDE Plasma as default application

Categories

(Firefox :: Shell Integration, defect)

Firefox 97
x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: decedion, Unassigned)

References

Details

(Whiteboard: [fidedi-ope], QA-not-reproducible)

Operating System: Arch Linux
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Graphics Platform: X11

Click make default in Firefox settings.
Select Firefox in KDE Plasma settings → Applications → Default applications.

$ xdg-settings get default-web-browser
firefox.desktop

But Firefox still does not detect that it is the default browser.

Moving to shell integration because the implementation of IsDefaultBrowser and SetDefaultBrowser lives there, not in the preferences code.

Component: Preferences → Shell Integration
See Also: → 1056056
Severity: -- → S3
Whiteboard: [fidedi-ope]

Hello! I have tried to reproduce the issue with Ubuntu 20.04 with firefox 101.0a1 (2022-04-07) and 99.0 and I have managed to set the browser as default web browser.
Adding the QA-not-reproducible tag since we can't reproduce this issue on our end.

Has STR: --- → yes
Whiteboard: [fidedi-ope] → [fidedi-ope], QA-not-reproducible

@Negritas What version of Plasma have you tested with?

I tested it today and it still crashes on Arch Linux.

KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.17.1-zen1-1-zen (64-bit)
Firefox 99

How does Firefox check whether or not it is the default browser?

(In reply to Juan Simón from comment #3)

@Negritas What version of Plasma have you tested with?

I tested it today and it still crashes on Arch Linux.

Sorry, does the browser cash completely? This wasn't mentioned in comment 0... Does this happen with the non-distribution build (ie an official build from mozilla.org) ? If so, can you link to a crash report from about:crashes ?

Flags: needinfo?(decedion)

I'm sorry I got the verb wrong, I didn't mean to say that it crashes but that it still fails.

Flags: needinfo?(decedion)

Hello Juan! Sorry for the long response time. Here is the Plasma details of my system. I will try again after I will update the Plasma and KDE versions.
plasmashell 5.18.8
Qt: 5.12.8
KDE Frameworks: 5.68.0
kf5-config: 1.0

Also reproducible on Gentoo

When I try to set it as a default browser in firefox' settings journalctl --follow says the following:

авг 19 21:06:34 gentoo plasmashell[280943]: [Parent 280943, Main Thread] WARNING: g_find_program_in_path: assertion 'program != NULL' failed: 'glib warning', file /var/tmp/portage/www-client/firefox-103.0.2/work/firefox-103.0.2/toolkit/xre/nsSigHandlers.cpp:167``` авг 19 21:06:34 gentoo firefox[280943]: g_find_program_in_path: assertion 'program != NULL' failed

Refreshing firefox fixes this.

Hello Kostadin!

Since your last comment I will mark this issue as RESOLVED-WORKSFORME, if this issue occurs again please feel free to reopen it.

Have a nice day

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.