Closed Bug 1210386 Opened 9 years ago Closed 8 years ago

Link "Make Firefox Default Browser" to Settings page

Categories

(Firefox for Android Graveyard :: Settings and Preferences, defect)

defect
Not set
normal

Tracking

(firefox48 verified)

RESOLVED FIXED
Firefox 48
Tracking Status
firefox48 --- verified

People

(Reporter: barbara, Assigned: Margaret)

References

Details

Attachments

(5 files)

We should try to find a way to automate or guide the users to change their default browser to Firefox, reproduce these steps: https://support.mozilla.org/en-US/kb/make-firefox-default-browser-android

Maybe we can even put a toast or something that first tells the user to go to the stock browser to clear defaults and then go and open a random link from an app to execute step 2.
You might already be aware, but we do collect some telemetry on this:

BROWSER_IS_USER_DEFAULT: http://mzl.la/1OaqV5D

This shows that 54% "true", which means "54% of the installs have Firefox set as the default for 'http'"

The other 46% may have a different browser set as default _or_ they have no browser set as a default.
I the past, we talked about using a banner or some other popup prompt to ask the user if they'd like to set Firefox as the default, pointing to the SUMO article.

The Settings idea has the benefit of not being obtrusive.
tracking-fennec: --- → ?
Component: General → Settings and Preferences
This changed in Android 6.0. Now you can actually set a default browser (Settings -> Apps -> "gear icon" -> Default Apps -> Browser app) - see screenshot. If this is set then Android will open all URLs that do not have an "App Link"[1] associated with them in the selected browser without ever showing an Intent chooser.

(Btw. in this screen you can set our search activity as the default "Assist" app too. Instead of Google now ["On Tap"] this will trigger our activity if the user long-presses the home button.)

[1] http://developer.android.com/training/app-links/index.html
tracking-fennec: ? → 45+
tracking-fennec: 45+ → ?
This is a product call, we should create an Aha! card for this if one doesn't already exist.
tracking-fennec: ? → ---
Flags: needinfo?(bbermes)
Added to funnel Aha card column: https://mozilla.aha.io/features/FENN-440
Flags: needinfo?(bbermes)
In the funnel meeting we talked about keeping it simple and just linking to a SUMO page from settings:
https://support.mozilla.org/en-US/kb/make-firefox-default-browser-android

antlam, do you have ideas about where you'd want us to put this in settings and what it should look like?
Flags: needinfo?(alam)
(In reply to :Margaret Leibovic from comment #8)
> In the funnel meeting we talked about keeping it simple and just linking to
> a SUMO page from settings:
> https://support.mozilla.org/en-US/kb/make-firefox-default-browser-android
> 
> antlam, do you have ideas about where you'd want us to put this in settings

looking back at https://bugzilla.mozilla.org/show_bug.cgi?id=1216257#c54, we intended to have it above "Mozilla Firefox" and below "Clear private data" and I think that spot still makes sense.

> and what it should look like?

We can probably user our Helper UI here again just like we are doing with the "draw over other apps" permission for Tab Queue.

I can whip something up.
We should also make sure to update the SUMO page to reflect the changes in Android 6, see comment 3. "Clearing defaults" like described on SUMO will not (re-)show the intent chooser if an actual default browser has been selected on Android 6.
Flags: needinfo?(alam)
CC'ing Roland here for sumo context :)
Actually, ignore the last part of my comment (comment 10). It's an optimization we should work on later. The fragmentation issues on Android seem makes this particularly hard.

For the scope of this bug, we should just have a link to a SUMO page. :) But that experience isn't ideal. So, I'll file a follow up bug.

Roland - we're planning to have a button in Settings that leads to a SUMO page about how to set Firefox as your default browser. > > Make Default Browser 

The current article seems a bit dated [1], could we update it?

[1] https://support.mozilla.org/en-US/kb/make-firefox-default-browser-android
Flags: needinfo?(rtanglao)
sure we can update this article, when? is that ff48 or ff49?
Flags: needinfo?(rtanglao)
Flags: needinfo?(bbermes)
currently sitting in the target 48 column (https://mozilla.aha.io/features/FENN-440).
Flags: needinfo?(bbermes)
Assignee: nobody → margaret.leibovic
Attached image screenshot
I chose this placement based on the old comments in the bug. Is this still what we're looking for?
Attachment #8739107 - Flags: feedback?(alam)
Barbara, in the Aha card, you mentioned using this URL:
https://support.mozilla.org/en-US/kb/make-firefox-default-browser-android?utm_source=inproduct&utm_medium=default-bookmarks&utm_campaign=mobileandroid

However, this isn't a default bookmark, so I changed the utm_medium parameter to "settings". Is that acceptable? Is there another parameter you would prefer?
Flags: needinfo?(bbermes)
Comment on attachment 8739107 [details]
screenshot

Position looks right! but can we make it sentence cased as well?

"Make default browser"
Flags: needinfo?(margaret.leibovic)
Attachment #8739107 - Flags: feedback?(alam) → feedback-
Hello!

Tapping "Make default browser" opens a web page

That doesn't make my expectations for the text "Make default browser", which sounds a lot like the code will just make it happen.

1. Do we know if we can open Android settings directly to comment 3 ? If we could, then tapping here might just do that on Android 6+
2. If we need to open a SUMO page, can we use copy that sets my expectation? Maybe add a subtitle of "Learn how to make Firefox your default browser" ?
Attachment #8739094 - Flags: review?(s.kaspari) → review+
Comment on attachment 8739094 [details]
MozReview Request: Bug 1210386 - Link "Make Firefox Default Browser" to Settings page. r=sebastian

https://reviewboard.mozilla.org/r/45035/#review41709

::: mobile/android/base/java/org/mozilla/gecko/preferences/GeckoPreferences.java:855
(Diff revision 1)
> +                } else if (PREFS_DEFAULT_BROWSER_LINK.equals(key)) {
> +                    final String url = getResources().getString(R.string.default_browser_link);
> +                    ((LinkPreference) pref).setUrl(url);

You should be able to set the link in XML (as long as you do not need to format the link in Java):
https://dxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/xml/preferences_privacy.xml#20
(In reply to :Margaret Leibovic from comment #18)
> Barbara, in the Aha card, you mentioned using this URL:
> https://support.mozilla.org/en-US/kb/make-firefox-default-browser-
> android?utm_source=inproduct&utm_medium=default-
> bookmarks&utm_campaign=mobileandroid
> 
> However, this isn't a default bookmark, so I changed the utm_medium
> parameter to "settings". Is that acceptable? Is there another parameter you
> would prefer?

Yeah, that's perfect and sorry for the copy/paste, settings sounds goood.

Did we decide to say "Make Firefox Default Browser"?
Flags: needinfo?(bbermes)
(In reply to Barbara Bermes [:barbara] from comment #22)
> (In reply to :Margaret Leibovic from comment #18)
> > Barbara, in the Aha card, you mentioned using this URL:
> > https://support.mozilla.org/en-US/kb/make-firefox-default-browser-
> > android?utm_source=inproduct&utm_medium=default-
> > bookmarks&utm_campaign=mobileandroid
> > 
> > However, this isn't a default bookmark, so I changed the utm_medium
> > parameter to "settings". Is that acceptable? Is there another parameter you
> > would prefer?
> 
> Yeah, that's perfect and sorry for the copy/paste, settings sounds goood.
> 
> Did we decide to say "Make Firefox Default Browser"?

I took the string from previous bug comments, open to suggestions for improvement.

While I agree with mfinkle that it's a bit deceptive that it doesn't actually change your default browser, I don't know if that's necessarily a problem. It's definitely not as deceptive as Dolphin's setting.

"Learn how to make Firefox your default browser" feels long and a bit awkward for a setting item.

I feel like we should land a string that reflects a settings item, with a link to SUMO, then file a follow-up to figure out how to launch the default settings page directly for Android versions that support it.
Flags: needinfo?(margaret.leibovic)
Flags: needinfo?(bbermes)
Flags: needinfo?(alam)
(In reply to Mark Finkle (:mfinkle) from comment #20)
> Hello!
> 
> Tapping "Make default browser" opens a web page
> 
> That doesn't make my expectations for the text "Make default browser", which
> sounds a lot like the code will just make it happen.
> 
> 1. Do we know if we can open Android settings directly to comment 3 ? If we
> could, then tapping here might just do that on Android 6+
> 2. If we need to open a SUMO page, can we use copy that sets my expectation?
> Maybe add a subtitle of "Learn how to make Firefox your default browser" ?

I think these are genuine concerns, but how about lets file follow up bugs for this? this feels a bit out of scope to me 

(In reply to Barbara Bermes [:barbara] from comment #22)
> (In reply to :Margaret Leibovic from comment #18)
> > Barbara, in the Aha card, you mentioned using this URL:
> > https://support.mozilla.org/en-US/kb/make-firefox-default-browser-
> > android?utm_source=inproduct&utm_medium=default-
> > bookmarks&utm_campaign=mobileandroid
> > 
> > However, this isn't a default bookmark, so I changed the utm_medium
> > parameter to "settings". Is that acceptable? Is there another parameter you
> > would prefer?
> 
> Yeah, that's perfect and sorry for the copy/paste, settings sounds goood.
> 
> Did we decide to say "Make Firefox Default Browser"?

Make default browser is what Gemma suggested in our previous bug so lets go with that. I think the context of "Firefox" is already provided by the app, the view, and the interaction of getting into this page.
Flags: needinfo?(alam)
(In reply to :Margaret Leibovic from comment #23)
> (In reply to Barbara Bermes [:barbara] from comment #22)
> > (In reply to :Margaret Leibovic from comment #18)
> > > Barbara, in the Aha card, you mentioned using this URL:
> > > https://support.mozilla.org/en-US/kb/make-firefox-default-browser-
> > > android?utm_source=inproduct&utm_medium=default-
> > > bookmarks&utm_campaign=mobileandroid
> > > 
> > > However, this isn't a default bookmark, so I changed the utm_medium
> > > parameter to "settings". Is that acceptable? Is there another parameter you
> > > would prefer?
> > 
> > Yeah, that's perfect and sorry for the copy/paste, settings sounds goood.
> > 
> > Did we decide to say "Make Firefox Default Browser"?
> 
> I took the string from previous bug comments, open to suggestions for
> improvement.
> 
> While I agree with mfinkle that it's a bit deceptive that it doesn't
> actually change your default browser, I don't know if that's necessarily a
> problem. It's definitely not as deceptive as Dolphin's setting.
> 
> "Learn how to make Firefox your default browser" feels long and a bit
> awkward for a setting item.
> 
> I feel like we should land a string that reflects a settings item, with a
> link to SUMO, then file a follow-up to figure out how to launch the default
> settings page directly for Android versions that support it.

Yes, let's see how "clicks" we get -- that will help us prioritize how to actually get the device to change the default browser (if even possible)
Flags: needinfo?(bbermes)
Depends on: 1264760
https://hg.mozilla.org/integration/fx-team/rev/9b10a8bbd6aebc90cbf72b85d0022bdc81365292
Bug 1210386 - Link "Make Firefox Default Browser" to Settings page. r=sebastian
https://hg.mozilla.org/mozilla-central/rev/9b10a8bbd6ae
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 48
"Make default browser" option is present in Settings. Tapping it, a sumo article is opened, explaining how to make links on the devices open in Firefox.
Verified as fixed using:
Device: Nexus 6 (Android 6.0)
Build: Firefox for Android 48.0a1 (2016-04-17)
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: