Closed Bug 1911070 Opened 1 year ago Closed 1 year ago

[Experiment] Two infobars are displayed on "treatment-a" branch when first navigating on a webmail page that already exists in the Applications list

Categories

(Firefox :: Shell Integration, defect)

Desktop
Windows
defect

Tracking

()

VERIFIED FIXED
132 Branch
Tracking Status
firefox128 --- unaffected
firefox129 --- wontfix
firefox130 --- wontfix
firefox131 --- verified
firefox132 --- verified

People

(Reporter: cmuntean, Assigned: mpohle)

References

Details

Attachments

(3 files, 1 obsolete file)

[Affected versions]:

  • Firefox RC 129.0 (Build ID: 20240729133145)
  • Nightly 130.0a1 (Build ID: 20240730164742)

[Affected Platforms]:

  • Windows 10
  • Windows 11

[Prerequisites]:

  • Have a Firefox en-US build installed.
  • Have the following prefs set: "nimbus.debug" set to true.

[Steps to reproduce]:

  1. Open the browser using the profile from the prerequisites.
  2. In order to force enroll in the treatment-a branch, navigate to the following link: about:studies?optin_slug=improved-mailto-handling-with-os-integration&optin_branch=treatment-a&optin_collection=nimbus-preview
  3. Close the tab with the link from Step 2.
  4. Restart the browser.
  5. Navigate to gmail.com and log in with a valid account.
  6. Observe the infobar.

[Expected result]:

  • Only one infobar is triggered.

[Actual result]:

  • Two infobars are triggered.

[ Notes]:

  • I have tried to find if this is a regression, but sometimes the issue is NOT reproducible on some Firefox profiles even if I follow the same steps.
  • The issue is reproducible with any webmail that is added in the Application list before enrolling in the experiment.
  • The issue is also reproducible by naturally enrolling in the experiment.
  • The issue is not reproducible if the prefs are manually changed without enrolling in the experiment.
  • The issue is not reproducible in the "treatment-b" branch.
  • I did not manage to reproduce the issue on Firefox 128. I have tried to find a regression range but without luck.
  • In the attached screen recording I have used another method to reproduce this issue to avoid using my personal Gmail account in the video.
  • Attached is a screen recording of the issue.

@mpohle@mozilla.com can you update this bug with the workaround

Flags: needinfo?(mpohle)

I was able to reproduce the bug and after some time in the debugger it looks as if a small change could fix it. I will leave the needinfo for now and keep you updated while fixing it.

Assignee: nobody → mpohle
Pushed by mpohle@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eaaa2b1f0cc7 Two infobars are displayed, r=nalexander
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Attachment #9423909 - Flags: approval-mozilla-release?
Attachment #9423912 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: The mailto experiment rollout would be delayed by one month (Bug 1910909)
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: Enable the experiment and follow the step-by-step guide on the bug on how to reproduce it.
  • Risk associated with taking this patch: Low risk
  • Explanation of risk level: It fixes the bug and in a worst case scenario would not display the prompt rather than showing two. But that would trigger the automated tests if it happend and is very unlikely for that reason.
  • String changes made/needed: no
  • Is Android affected?: no
Attachment #9423909 - Attachment is obsolete: true
Attachment #9423909 - Flags: approval-mozilla-release?
Attachment #9423912 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

I have verified this issue on the latest Nightly 132.0a1 build (Build ID: 20240911092134) on Windows 10 x64 and Windows 11 x64.

  • Only one infobar is triggered after following the steps from the bug.

Considering this, I will mark the issue as verified-fixed.

Status: RESOLVED → VERIFIED

Hi Cosmin Muntean! Thanks for checking so quickly.

Hi Vtay! I am clearing the needinfo flag with this bug fixed and validated.

Flags: needinfo?(mpohle)

I have verified this issue on the latest Beta 131.0b5 build (Build ID: 20240911093639) on Windows 10 x64 and Windows 11 x64.

  • Only one infobar is triggered after following the steps from the bug.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: