Bug 418311 - Firefox never becomes default browser
Summary: Firefox never becomes default browser
Status: RESOLVED DUPLICATE of bug 418841
Alias: None
Product: neon
Classification: KDE Neon
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-29 05:34 UTC by Vishal Rao
Modified: 2020-04-16 07:28 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.