Closed Bug 1711430 Opened 4 years ago Closed 4 years ago

The second screen of the "about:welcome" page is skipped if a double click action is performed on the "Not now" secondary button from the first screen

Categories

(Firefox :: Messaging System, defect, P2)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
90 Branch
Iteration:
90.3 - May 17 - May 30
Tracking Status
firefox-esr78 --- unaffected
firefox88 --- unaffected
firefox89 --- wontfix
firefox90 --- verified

People

(Reporter: mcoman, Assigned: pdahiya)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [proton-onboarding] [priority:2b])

Attachments

(2 files)

Attached image rec of the issue.gif

[Affected versions]:

  • Firefox Beta 89.0b13 - Build ID: 20210516190025
  • Firefox Nightly 90.0a1 - Build ID: 20210516091748

[Affected Platforms]:

  • Windows 10 x64
  • Windows 8.1 x64
  • macOS 10.15.7
  • Linux Mint 20 x64

[Prerequisites]:

  • Have a new Firefox profile.

[Steps to reproduce]:

  1. Open the browser with the profile from the prerequisites.
  2. Double click the "Now now" secondary button.
  3. Observe the behavior.

[Expected result]:

  • The second screen of the "about:welcome" page is displayed.

[Actual result]:

  • The third screen of the "about:welcome" page is displayed instead.

[Regression Window]:

From the pushlog it seems that bug 1698204 has caused this behavior.

[Additional Notes]:

  • If a triple-click action is performed on the "Now now" secondary button from the first screen of the "about:welcome" page, the background image remains displayed and the user is not redirected to the "about:newtab" page.
  • This issue is reproducible on the first and the second screen of the new users Onboarding.
  • This issue is not reproducible with the Upgrade Onboarding modals.
  • Attached a screen recording of the issue.
Keywords: regression
Regressed by: 1698204
Has Regression Range: --- → yes
Whiteboard: [proton-onboarding]
Assignee: nobody → pdahiya
Iteration: --- → 91.1 - May 17 - May 30
Priority: -- → P1

the issue appears to be fallout of 1 second wait to allow noodles and other screen elements to transition out, before screen navigates forward and transition in. This 1 second wait gives enough time to invoke multiple click handlers and move screen index forward

https://searchfox.org/mozilla-central/source/browser/components/newtab/content-src/aboutwelcome/components/MultiStageAboutWelcome.jsx#87

We do setTransition("out"), so we can probably check

const handleTransition = () => {
  if (transition === "out") return;"

?

https://searchfox.org/mozilla-central/rev/5359952d8b0be3e706e8c943c2bef2674723b8a9/browser/components/newtab/content-src/aboutwelcome/components/MultiStageAboutWelcome.jsx#72

Pushed by elee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e184f7aca74b Ignore multiple welcome button clicks while transitioning out r=pdahiya
Status: NEW → ASSIGNED
Priority: P1 → P2
Whiteboard: [proton-onboarding] → [proton-onboarding] [priority:2b]
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Iteration: 91.1 - May 17 - May 30 → 90.3 - May 17 - May 30
Flags: qe-verify+

I have verified that this issue is no longer reproducible with the latest Firefox Beta (90.0b1 Build ID - 20210601190019) installed on Windows 10 x64, macOS 10.15.7, and Linux Mint 20 x64. Now I can confirm that the second screen of the "about:welcome" page is no longer skipped if a double click action is performed on the "Not now" secondary button from the first screen.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
See Also: → 1716007
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: