Open Bug 1056056 Opened 6 years ago Updated 1 year ago

[Linux] Firefox can't be set as default browser

Categories

(Firefox :: Preferences, defect, major)

x86
Linux
defect
Not set
major

Tracking

()

Tracking Status
firefox34 --- affected
firefox67 --- affected

People

(Reporter: cbadau, Unassigned)

References

Details

Reproducible on latest Nightly 34.0a1 (buildID: 20140820030202)
Mozilla/5.0 (X11; Linux i686; rv:34.0) Gecko/20100101 Firefox/34.0

Steps to reproduce: 
1. Launch Firefox. 
2. Set Firefox as your default browser: 
         - from the notification bar which is displayed when Firefox opens -> by selecting "Use Nightly as my default browser" option 
         - from "about:preferences" page -> "General" tab -> "Startup" section -> by clicking on the "Make Nightly my Default Browser"

Actual results: Firefox (Nightly) is not set as default browser. 

Expected results: Firefox (Nightly) is correctly set as default browser. 

Note: This is an Ubuntu specific issue.
Flags: firefox-backlog+
Mano I'm wondering if you might take this bug or know if we can expect it to be fixed for Firefox 34. I don't want it to get lost now that the iterative process has moved on to 35!  Or, maybe you can pass it along to someone. Thanks!
Flags: needinfo?(mano)
Is this a regression?
Flags: needinfo?(mano)
(In reply to Camelia Badau, QA [:cbadau] from comment #0)
> Reproducible on latest Nightly 34.0a1 (buildID: 20140820030202)
> Mozilla/5.0 (X11; Linux i686; rv:34.0) Gecko/20100101 Firefox/34.0
> 
> Note: This is an Ubuntu specific issue.

>this is old and even if op shows up may not remember but this needs clarification

Was this Nightly from mozilla or ubuntu's repository?

How did you know it did not set itself correctly?

as of 57.0.2 Set Firefox as your default browser works (for mozilla's binary)
This also effects DevEdition 59.0b5 and in the Browser Console it throws this error:

[Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) 
[nsIShellService.setDefaultBrowser]"  nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)"  location: "JS frame :: chrome://browser/content/preferences/in-content/main.js :: setDefaultBrowser :: line 1042"  data: no]
Duplicate of this bug: 1241471

This also affects Firefox Devedition 65.0b9.

I just tested the Make Default button in about:preferences#general in release version 65.0 from https://ftp.mozilla.org/pub/firefox/releases/ and can't confirm this bug. Firefox sets itself as the default web browser and works as expected when called from a gtk application.

(somewhat related 1427383)

This issue is reproducible on the latest Firefox Nightly 67.0a1 (2019-02-14). I used the same steps from the description.

Severity: normal → major
Version: 34 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.