Closed Bug 1922646 Opened 1 year ago Closed 1 year ago

Add a delay between the default Set to Default prompt and showing the INFOBAR_DEFAULT_AND_PIN_87 message

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement
Points:
2

Tracking

()

RESOLVED FIXED
138 Branch
Iteration:
138.1 - Mar 3 - Mar 14
Tracking Status
firefox138 --- fixed

People

(Reporter: mviar, Assigned: hanna_a)

References

Details

Attachments

(1 file)

The INFOBAR_DEFAULT_AND_PIN_87 message's targeting may be perceived as not respecting the browser.shell.checkDefaultBrowser pref (this can be set using a checkbox in about:settings). Its targeting includes !isDefaultBrowser && !'browser.shell.checkDefaultBrowser'|preferenceValue.

David Rubino raised this issue on Slack.

Severity: -- → S3

INFOBAR_DEFAULT_AND_PIN_87 showing on targeting !isDefaultBrowser && !'browser.shell.checkDefaultBrowser'|preferenceValue is working as expected. see discussion in implementing https://bugzilla.mozilla.org/show_bug.cgi?id=1703874#c0

This infobar shows as an edgecase only for users who dismissed the set default modal prompt by clicking on checkbox (setting pref browser.shell.checkDefaultBrowser to false) and are profile age between 5 and 15 weeks.

See Also: → 1703874
See Also: → 1825377
Summary: Consider removing INFOBAR_DEFAULT_AND_PIN_87 message → Add a delay between the default Set to Default prompt and showing the INFOBAR_DEFAULT_AND_PIN_87 message

Product suggestion from Alex Davis on Slack - allow the infobar message, waiting some amount a time after the last time they saw the original set to default pop-up.

Type: defect → enhancement
Blocks: 1825381
Iteration: --- → 133.1 - Sep 30 - Oct 11
Priority: -- → P2
Iteration: 133.1 - Sep 30 - Oct 11 → 133.2 - Oct 14 - Oct 25
Iteration: 133.2 - Oct 14 - Oct 25 → ---
See Also: → 1931926
Depends on: 1931926
See Also: 1931926
Assignee: nobody → halemu
Points: --- → 2
Priority: P2 → P1
Iteration: --- → 136.1 - Jan 6 - Jan 17
Attachment #9459432 - Attachment description: WIP: Bug 1922646 - Add a delay between the default Set to Default prompt and showing the INFOBAR_DEFAULT_AND_PIN_87 message → Bug 1922646 - Add a delay between the default Set to Default prompt and showing the INFOBAR_DEFAULT_AND_PIN_87 message
Iteration: 136.1 - Jan 6 - Jan 17 → 136.2 - Jan 20 - Jan 31
Iteration: 136.2 - Jan 20 - Jan 31 → 137.1 - Feb 3 - Feb 14
Attachment #9459432 - Attachment description: Bug 1922646 - Add a delay between the default Set to Default prompt and showing the INFOBAR_DEFAULT_AND_PIN_87 message → WIP: Bug 1922646 - Add a delay between the default Set to Default prompt and showing the INFOBAR_DEFAULT_AND_PIN_87 message
Attachment #9459432 - Attachment description: WIP: Bug 1922646 - Add a delay between the default Set to Default prompt and showing the INFOBAR_DEFAULT_AND_PIN_87 message → Bug 1922646 - Add a delay between the default Set to Default prompt and showing the INFOBAR_DEFAULT_AND_PIN_87 message

NI @Vtay How long should we delay showing the infobar after user last checked 'don't show me set default prompt message again' ? Would 24 hours be enough?

Flags: needinfo?(vtay)
Iteration: 137.1 - Feb 3 - Feb 14 → 137.2 - Feb 17 - Feb 28
Blocks: 1950234

NI @hanna to clarify if this fix is an uplift candidate Thanks!

Flags: needinfo?(halemu)
Iteration: 137.2 - Feb 17 - Feb 28 → 138.1 - Mar 3 - Mar 14

Hi @punam, The infobar is shown to a limited amount of users due to it's targeting conditions, and this bug is not a defect but more of a enhancement so I don't think it needs to be uplifted. I'll update it to 138.

Flags: needinfo?(halemu)
Pushed by halemu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d69b8ab9451d Add a delay between the default Set to Default prompt and showing the INFOBAR_DEFAULT_AND_PIN_87 message r=omc-reviewers,pdahiya
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch

There's a message on remote settings with the same id and it still has the old configuration. Is it overriding this? It comes first in the array, which should mean it's returned first by triggers, which should mean the changes here have no effect.

Try it in console: ChromeUtils.importESModule("resource:///modules/asrouter/ASRouter.sys.mjs").ASRouter.state.messages.filter(m => m.id === "INFOBAR_DEFAULT_AND_PIN_87")

I think we ought to remove the remote settings message. Clearly having it tucked away in a location that is now so obscure is creating pitfalls for us to step in.

Flags: needinfo?(vtay)
Blocks: 2021949
No longer blocks: 2021949
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: