Closed Bug 1957923 Opened 8 months ago Closed 8 months ago

Fix falling back to built in notifications on first run

Categories

(Thunderbird :: General, defect)

Thunderbird 137
defect

Tracking

(thunderbird_esr128 fixed, thunderbird137 fixed, thunderbird138 fixed, thunderbird139 fixed)

RESOLVED FIXED
139 Branch
Tracking Status
thunderbird_esr128 --- fixed
thunderbird137 --- fixed
thunderbird138 --- fixed
thunderbird139 --- fixed

People

(Reporter: freaktechnik, Assigned: freaktechnik)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When we open a profile for the first time, we always fall back to the built in notifications. This is because we think we can't update and have an empty cache, so we use the built in notifications immediately.

Instead, we should be waiting until the user has at least interacted with the privacy policy, reducing the pressure of new things a bit.

Version: unspecified → Thunderbird 137

This makes it so we will effectively never use built in notifications in the first run of a profile. I think that's generally fine. If we for some reason can't update from the network on the first run, we probably want to wait to the second run with built in notifications anyway.

Severity: -- → S2

This will uplift fine on top of bug 1957538.

Target Milestone: --- → 139 Branch

Pushed by vineet@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/d0bfaba59a26
Wait to use built in notifications until after first run. r=arschmitz

Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED

Comment on attachment 9476605 [details]
Bug 1957923 - Wait to use built in notifications until after first run. r=tobyp,arschmitz

Uplift Approval Request

  • Please state case for uplift consideration and ensure bug severity is set: For the best experience for our users we shouldn't be prompting them for multiple appeals at the same time. Without this fix, we greet all new users with two different appeals, one of them piling in during first run.
  • User impact if declined: Getting the built in fallback in-app notification on new profiles at first run (and then the normal appeal and in-app notifications the next restart)
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Daily?: No
  • Has the fix been verified in Beta?: No
  • Needs manual test from QA?: No
  • If yes, steps to reproduce: - Open the application with a new profile
  • List of other uplifts needed: bug 1957538
  • Risk to taking this patch: Medium
  • Why is the change risky/not risky? (and alternatives if risky): Changes startup logic for in-app notifications and depends on another patch adjusting that logic. However, the patch is fully covered by automated tests.
  • String changes made/needed: none
Attachment #9476605 - Flags: approval-comm-beta?

Comment on attachment 9476605 [details]
Bug 1957923 - Wait to use built in notifications until after first run. r=tobyp,arschmitz

Same answers as in the beta uplift request above. I've tried applying it to esr with the patch from bug 1957538. I haven't yet checked release, it's possible we'll hit some merge conflicts there. I'll try to check that asap.

Attachment #9476605 - Flags: approval-mozilla-esr128?
Attachment #9476605 - Flags: approval-comm-release?

Comment on attachment 9476605 [details]
Bug 1957923 - Wait to use built in notifications until after first run. r=tobyp,arschmitz

got the wrong flag, sorry.

Attachment #9476605 - Flags: approval-mozilla-esr128? → approval-comm-esr128?

Okay, seems to apply fine to comm-release with the patch from bug 1957538 as well.

Comment on attachment 9476605 [details]
Bug 1957923 - Wait to use built in notifications until after first run. r=tobyp,arschmitz

[Triage Comment]
Approved for beta, per discussion w/ Wayne and Toby on Zoom/Matrix

Attachment #9476605 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9476605 [details]
Bug 1957923 - Wait to use built in notifications until after first run. r=tobyp,arschmitz

[Triage Comment]
Approved for esr128
Approved for release

Attachment #9476605 - Flags: approval-comm-release?
Attachment #9476605 - Flags: approval-comm-release+
Attachment #9476605 - Flags: approval-comm-esr128?
Attachment #9476605 - Flags: approval-comm-esr128+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: