Closed Bug 1710936 Opened 3 years ago Closed 3 years ago

about:welcome should not offer to set the default browser if browser.shell.checkDefaultBrowser is false

Categories

(Firefox :: Messaging System, defect, P2)

defect

Tracking

()

VERIFIED FIXED
90 Branch
Iteration:
90.3 - May 17 - May 30
Tracking Status
firefox90 --- verified

People

(Reporter: mkaply, Assigned: Mardak)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

We have partners that either can't set the browser as default or don't want to have set the browser as default (for contractual reasons).

So we have the pref:

browser.shell.checkDefaultBrowser

to prevent the browser from checking if it's the default browser (should stop the popup and the infobar).

I believe we should not offer to set the default on firstrun if this is set as well.

Bug 1691145 made the initial welcome screen show "Make Default" and a related bug 1701873 wanted the initial message to be different if already default.

How would browser.shell.checkDefaultBrowser be set on a new profile?

Flags: needinfo?(mozilla)
Regressed by: 1691145
Has Regression Range: --- → yes
See Also: → 1701873

It's set via distribution.ini which is in the distribution directory where Firefox is installed.

https://github.com/mozilla-partners/canonical/blob/master/desktop/ubuntu/distribution/distribution.ini

Flags: needinfo?(mozilla)

Thanks. I do see that on a brand new profile on ubuntu. Some reason my existing profile did have the user pref flipped to true although it did know the distribution-set-default was false. And just to confirm about:support distribution id shows "canonical" for me.

NI Ed to help triage and recommend next steps.

Flags: needinfo?(edilee)

Looking at what we had before the first screen asked about default, it used

onboarding-multistage-welcome-header = Welcome to <span data-l10n-name="zap">{ -brand-short-name }</span>
onboarding-multistage-welcome-subtitle = The fast, safe, and private browser that’s backed by a non-profit.
onboarding-multistage-welcome-primary-button-label = Start Setup

So with the new MR1 about:welcome, I guess we could keep the MR1 text and replace the primary button and remove the secondary/not now from prepareContentForReact… but only if it's on the first screen? We wouldn't want some experiment with a later default button to then show "Start Setup" on potentially the last screen.

Probably should check how the buttons should be placed as the MR1 design initial screen assumed a primary and secondary button for layout.

Flags: needinfo?(edilee)
Priority: -- → P2
See Also: → 1711899

As part of bug 1712802 for showing different initial screen text/button, there are designs for if Firefox is already default or in the case of this bug shouldn't ask to be set as default. Currently the design says…

Welcome to Firefox
[Get started]

https://www.figma.com/file/0awIRES0ZvRJ1U89fYPXjQ/MR1-Onboarding?node-id=2586%3A1763

See Also: → 1712802
Assignee: nobody → edilee
Status: NEW → RESOLVED
Iteration: --- → 90.3 - May 17 - May 30
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

I have verified that this issue is no longer reproducible with the latest Firefox Beta (90.0b1 Build ID - 20210601190019) installed on Windows 10 x64, macOS 10.15.7, and Linux Mint 20 x64. Now I can confirm that the "Get Started" button is displayed on the first screen of the "about:welcome" page if the browser.shell.checkDefaultBrowser pref is set to false.

Status: RESOLVED → VERIFIED
See Also: → 1715997
See Also: → 1897733
You need to log in before you can comment on or make changes to this bug.