Closed Bug 1792971 Opened 3 years ago Closed 3 years ago

Extension install panel disappears when switching between tabs

Categories

(WebExtensions :: General, defect)

All
Unspecified
defect

Tracking

(firefox-esr102 unaffected, firefox105 unaffected, firefox106 wontfix, firefox107 verified)

VERIFIED FIXED
107 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox105 --- unaffected
firefox106 --- wontfix
firefox107 --- verified

People

(Reporter: acornestean, Assigned: daisuke)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached video 2022-09-30_08h56_45.mp4

Affected platforms:

  • Windows
  • Linux
  • MacOS

Affected versions:

  • 107.0a1/20220929214556
  • 106.0b6/20220929195234

Description:
The extension install panel will disappear when, once it’s displayed (from initiating an extension install), a new tab is opened and the user switches between the AMO tab and this new tab.

The issue occurs on the latest Nightly and Beta. The latest Firefox Release is unaffected.

Steps to reproduce:

  1. Access https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/ and click on the "Add to Firefox" button (but do not proceed further with the add-on installation. We are interested in the install panel)
  2. Notice the install panel appears (to completely clarify, I'm referring to the panel with "Add" and "Cancel" buttons)
  3. While the install panel is displayed, open a new tab via the "+" button beside the tab with AMO. Focus is switched to this new tab
  4. Switch back to the AMO tab and notice the install panel has disappeared

Actual:
The install panel disappears when switching between tabs

Expected:
The install panel should persists when switching between tabs

The issue appears to have been caused by a fix to this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1565751. More precisely, mozregression identified the first part of the fix as the culprit: “Bug 1565751: Use 'SetURI' event for custom new window. r=adw,scunnane”.

Differential Revision: https://phabricator.services.mozilla.com/D155184

Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=81e4e05408f2534514372fcf8108a43b0b1542b7&tochange=4cef8491818d39b729267a6ccd09ba517311726e

Set release status flags based on info from the regressing bug 1565751

:daisuke, since you are the author of the regressor, bug 1565751, could you take a look? Also, could you set the severity field?

For more information, please visit auto_nag documentation.

Flags: needinfo?(daisuke)

The issue occurs on the latest Nightly and Beta. The latest Firefox Release is unaffected.

I also confirm this is working for me with FF 105 and broken with Nightly.

Thank you very much for your report.
Yes, I also could reproduce this issue, will take a look.

Assignee: nobody → daisuke
Status: NEW → ASSIGNED
Flags: needinfo?(daisuke)

Daisuke, does it need to be uplifted in 106 as it is a 16 regression? We are in our last week of betas. Thanks!

Flags: needinfo?(daisuke)

Hi Pascal!
Thank you very much, but sorry, the patch is still under review.

Flags: needinfo?(daisuke)
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9dd268c4cf21 Suppress popup notification while async tab switching. r=adw,zombie
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch

Verified the fix on the latest Nightly (107.0a1/20221011093208) under Windows 10 x64 and Ubuntu 16.04 LTS.

The install panel persists when switching between tabs, confirming the fix.

For more details, see the attached video.

Status: RESOLVED → VERIFIED
Attached video 2022-10-11_15h33_34.mp4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: