Bug 418311

Summary: Firefox never becomes default browser
Product: [KDE Neon] neon Reporter: Vishal Rao <vishalrao>
Component: generalAssignee: Neon Bugs <neon-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jr, meven.car, nate, neon-bugs, sitter, vishalrao
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vishal Rao 2020-02-29 05:34:55 UTC
Unable to set Firefox as the default browser.

On next run of Firefox it again prompts to set it as default.

In Firefox preferences also unable to set browser as default.

This is on Neon User edition with Plasma version 5.18.2 fully updated.
Comment 1 Vishal Rao 2020-03-01 12:41:35 UTC
I should mention I have the Plasma browser integration plugin installed.

Was not sure which component to file this bug against so went with neon.
Comment 2 Nate Graham 2020-04-15 17:29:28 UTC

*** This bug has been marked as a duplicate of bug 418841 ***
Comment 3 Méven Car 2020-04-16 07:28:52 UTC
That's mostly a firefox bug that 's set itself as default badly and can't recognize itself as default browser despite it is.

When you click on "Set as default browser" in firefox.

It creates a file : 

bat ~/.local/share/applications/userapp-Firefox-MQ79I0.desktop
   1   │ [Desktop Entry]
   2   │ Encoding=UTF-8
   3   │ Version=1.0
   4   │ Type=Application
   5   │ NoDisplay=true
   6   │ Exec=/usr/bin/_neon.firefox %u
   7   │ Name=Firefox
   8   │ Comment=Custom definition for Firefox

And set it this desktop file as default browser in ~/.config/mimeapps.list
Firefox then does not recognize itself as default browser despite it is in fact.
I would guess because of the weird exec "Exec=/usr/bin/_neon.firefox".

Note I don't reproduce in Kubuntu. No idea where "/usr/bin/_neon.firefox" comes from.

In any case, trust the Plasma Kcm over firefox.