Closed
Bug 1041514
Opened 10 years ago
Closed 9 years ago
Don't show default browser prompt on first run if a user opts out in the installer
Categories
(Firefox :: General, defect, P2)
Tracking
()
VERIFIED
FIXED
Firefox 47
Tracking | Status | |
---|---|---|
firefox47 | --- | verified |
People
(Reporter: verdi, Assigned: jaws)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [fxgrowth] [qx:spec][Onboarding])
Attachments
(1 file, 1 obsolete file)
On Windows XP, Vista and 7 we have "make Firefox my default browser" checkbox in the installer that is checked by default. If a user unchecks this and proceeds with the installation they will see a prompt when Firefox opens asking if they want to make Firefox the default browser. We should respect the choice they made in the installer and not show the prompt on startup in this case.
Reporter | ||
Updated•10 years ago
|
Whiteboard: [fxgrowth]
Reporter | ||
Updated•10 years ago
|
Flags: firefox-backlog+
Comment 1•10 years ago
|
||
We probably don't want to drop the prompt entirely for those users, but just delay it until they start Firefox the next time. Basically treating unchecking the box in the installer as a a »not now«.
Updated•10 years ago
|
Flags: qe-verify+
Updated•10 years ago
|
Whiteboard: [fxgrowth] → [fxgrowth] [qx]
Updated•10 years ago
|
Whiteboard: [fxgrowth] [qx] → [fxgrowth] [qx:spec]
Reporter | ||
Updated•9 years ago
|
Reporter | ||
Updated•9 years ago
|
Whiteboard: [fxgrowth] [qx:spec] → [fxgrowth] [qx:spec][Onboarding]
Reporter | ||
Updated•9 years ago
|
Priority: -- → P3
Assignee | ||
Comment 2•9 years ago
|
||
Is there a way to write to the preferences directly from the installer so I don't need to go through the Registry?
I wrote to HKLM\Software\mozilla.org\Mozilla because it was easily predictable on the Firefox-application side, but I see other code in the installer writes to HKLM\Software\Mozilla (http://mxr.mozilla.org/mozilla-central/source/browser/installer/windows/nsis/installer.nsi#341)
Also, this patch doesn't show the dialog in subsequent launches of Firefox after first-run. I plan to do something about that in bug 1143116.
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Attachment #8711969 -
Flags: review?(robert.strong.bugs)
Comment 3•9 years ago
|
||
Comment on attachment 8711969 [details] [diff] [review]
Patch
There is no way for NSIS to write Mozilla style preferences.
I think it would be much better to go with writing to HKCU, remove the registry entry, and set the Firefox preference.
For the registry entry it would be better to go with HKCU\Software\Mozilla\Firefox
Note: it should also remove empty hives when the registry entry exists and it is removed.
Attachment #8711969 -
Flags: review?(robert.strong.bugs) → review-
Updated•9 years ago
|
Updated•9 years ago
|
Priority: P3 → P2
Assignee | ||
Updated•9 years ago
|
Attachment #8711969 -
Attachment is obsolete: true
Assignee | ||
Comment 4•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/35389/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/35389/
Attachment #8720626 -
Flags: review?(jmathies)
Comment 5•9 years ago
|
||
Comment on attachment 8720626 [details]
MozReview Request: Bug 1041514 - Don't show default browser prompt if a user opts out in the installer. r?jimm
https://reviewboard.mozilla.org/r/35389/#review32457
Attachment #8720626 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 6•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/897d193994904c5fc5fb3d16f3b3a18d2f2d420d
Bug 1041514 - Don't show default browser prompt if a user opts out in the installer. r=jimm
Comment 7•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Comment 8•9 years ago
|
||
Verified fixed on Windows 7 64bit and Windows Vista 32bit using latest Nightly 47.0a1 (buildID: 20160302030209): the prompt asking if you want to make Firefox the default browser doesn't appear anymore, after unchecking "make Firefox my default browser" checkbox in the installer.
Only one mention here: when I launch Firefox after installation, in the about:preferences -> General tab -> the "Always check if Nightly is your default browser" is unchecked by default. Then, I close Firefox and reopen it with a new profile and now, the "Always check if Nightly is your default browser" is checked by default. It is expected behaviour?
Flags: needinfo?(jaws)
Assignee | ||
Comment 9•9 years ago
|
||
Yeah this is expected behavior. The installer only knows about the first profile it creates and we don't have a way to inherit settings from existing profiles to new profiles (by design).
Flags: needinfo?(jaws)
You need to log in
before you can comment on or make changes to this bug.
Description
•