Closed Bug 1787396 Opened 2 years ago Closed 2 years ago

The “See what’s new” button from the “MR Gratitude” modal of the existing users’ onboarding no longer opens the “Firefox View” page

Categories

(Firefox :: Messaging System, defect, P1)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
106 Branch
Iteration:
106.1 - Aug 22 - Sept 2
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox104 --- unaffected
firefox105 --- disabled
firefox106 --- verified

People

(Reporter: srosu, Assigned: dmosedale)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

[Affected versions]:

  • Firefox Nightly 106.0a1 (Build ID: 20220825222149)
  • Firefox Beta 105.0b3 (Build ID: 20220825185816)

[Affected Platforms]:

  • macOS 12.5.1
  • Windows 10 x64
  • Ubuntu 20.04 x64

[Prerequisites]:

  • Have the Firefox browser installed and opened.
  • Have the “browser.aboutwelcome.templateMR” pref set to true.
  • Have the “devtools.chrome.enabled” pref set to true.
  • Have the “Cc["@mozilla.org/browser/browserglue;1"].getService().wrappedJSObject._showUpgradeDialog();” syntax copied to the clipboard.

[Steps to reproduce]:

  1. Focus the Browser Console (Ctrl + Shift + J) and paste the syntax from prerequisites.
  2. Press the “Enter” key.
  3. Click the “Skip this step” button until the “MR Gratitude” modal is displayed.
  4. Click the “See what’s new” button.
  5. Observe what happens.

[Expected result]:

  • The Onboarding flow ends, and the “Firefox View” page is opened in the current tab.

[Actual result]:

  • The Onboarding flow ends, and the “Firefox View” page is not opened.

[Regression Window]:

  • The issue is not reproducible with older Nightly 105.0a1 builds. Considering this using mozregression tools, I have found the regression range. Here are the results:
    Last good revision: 5403acde30c2edaba6dac6f0890cb413e7b75c76
    First bad revision: 6e8e2b449b07a8d5a02e75692a25353ac360d852
    Pushlog: link

From this pushlog it seems that Bug 1783049 may have introduced this behavior.

[Notes]:

  • This issue is not reproducible on new users’ onboarding.
  • Attached is a screen recording of the issue.

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

:dmosedale, since you are the author of the regressor, bug 1783049, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(dmosedale)

The bug in question changed it so that browser.tabs.firefox-view also needs to be set to true. While this is sort of a regression, it's also expected behavior - the firefox view isn't typically going to work until it is preffed on.

Flags: needinfo?(dmosedale)

If there's some place that it makes sense to (temporarily, presumably) document this, I'm happy to do so...

The pref is already true on nightly and works for about:welcome

Assignee: nobody → dmosedale
Iteration: --- → 106.1 - Aug 22 - Sept 2
Priority: -- → P1

What's happening here is that FirefoxViewHandler.openTab() from OPEN_FIREFOX_VIEW special message gets called from
about:welcome, on the last screen, by the primary button press, with the multistage spotlight still open.

It tries to select the FirefoxView tab, which calls into the selectedTab setter, which notices that a window-modal-global is still open, and aborts the selection.

I'm pondering possibilities around delaying the openTab() call until after the dialog closes.

Attachment #9292465 - Attachment description: WIP: Bug 1787396 - Make upgrade dialog show FirefoxTabView → Bug 1787396 - Make upgrade dialog show FirefoxTabView
Attachment #9292465 - Attachment description: Bug 1787396 - Make upgrade dialog show FirefoxTabView → Bug 1787396 - Make upgrade dialog show FirefoxTabView, r?Mardak
Status: NEW → RESOLVED
Closed: 2 years ago
Depends on: 1789008
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch

In particular, the tests developer here landed as part of bug 1789008.

Attachment #9292465 - Attachment is obsolete: true

I have verified that this issue is no longer reproducible with the latest Firefox Nightly (106.0a1 Build ID - 20220908213354) installed on Windows 10 x64, macOS 11.6.5, and Linux Mint 20.2 x64. Now, I can confirm that the pinned "Firefox View" tab is opened after the “See what’s new” button is clicked.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: