Closed Bug 1786828 Opened 2 years ago Closed 2 years ago

The "Get Firefox Focus" modal is no longer dismissed when the "x" button is clicked

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 --- verified
firefox106 --- verified

People

(Reporter: avarro, Assigned: emcminn)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(2 files)

[Affected versions]:

  • Firefox Nightly 106.0a1 - Build ID: 20220823214727
  • Firefox Beta 105.0b2 - Build ID: 20220823185840

[Affected Platforms]:

  • Windows 10 x64
  • macOS 12.3.1
  • Linux Mint 20.2 x64

[Prerequisites]:

  • Have the new Firefox profile opened.

[Steps to reproduce]:

  1. Open a new private window and click the “Download Firefox Focus” button.
  2. Click the “x” button from the “Get Firefox Focus” modal.

[Expected result]:

  • The Close button from the “Get Firefox Focus” modal is actionable and the modal is dismissed.

[Actual result]:

  • The Close button from the “Get Firefox Focus” modal is not actionable and the modal is not dismissed.

[Regression window]:

  • The issue is not reproducible with older Nightly 104.0a1 builds. Considering this using mozregression tools I have found the regression range. Here are the results:
    Last good revision: 43c1a6141f9ddb20447c6e5075612f59405cd9fb
    First bad revision: 32f983ac16be4e76e049a2a3c98e8035433727d9
    Pushlog: link

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

[Notes]:

  • The “Get Firefox Focus” modal can be dismissed by pressing the “Esc” key.
  • The issue is not reproducible with keyboard navigation, in this case the modal is successfully dismissed.
  • Attached is a screen recording of the issue.
Assignee: nobody → emcminn

I believe regressed by bug 1758506 changing from a background to a <picture>

Regressed by: 1758506

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

Iteration: --- → 106.1 - Aug 22 - Sept 2
Priority: -- → P1
Attachment #9291402 - Attachment description: Bug 1786828 - Add z-index to spotlight picture element to keep it from overlapping the close button → Bug 1786828 - Remove pointer-events from spotlight picture element to keep it from overlapping the close button
Pushed by emcminn@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/32b041108c7d Remove pointer-events from spotlight picture element to keep it from overlapping the close button r=mviar

Comment on attachment 9291402 [details]
Bug 1786828 - Remove pointer-events from spotlight picture element to keep it from overlapping the close button

Beta/Release Uplift Approval Request

  • User impact if declined: Users will not be able to close the Firefox Focus modal once it has been opened, preventing interaction with the rest of the private browsing newtab page.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): CSS change removing pointer events from a non-interactable element
  • String changes made/needed: none
  • Is Android affected?: Yes
Attachment #9291402 - Flags: approval-mozilla-beta?
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch

I have verified that this issue is no longer reproducible on Firefox Nightly 106.0a1 (Build ID: 20220825222149) on Windows 10x64, macOS 12.3.1 and Linux Mint 20.2 x64.

  • The “Firefox Focus” modal is dismissed when the “x” button is clicked.
Status: RESOLVED → VERIFIED

Comment on attachment 9291402 [details]
Bug 1786828 - Remove pointer-events from spotlight picture element to keep it from overlapping the close button

Approved for 105.0b4.

Attachment #9291402 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

I have verified that this issue is no longer reproducible using the latest Firefox Beta 105.0b4 (Build ID: 20220828190315) on Windows 10x64, macOS 12.3.1 and Linux Mint 20.2 x64.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: