Closed Bug 1864819 Opened 2 years ago Closed 2 years ago

Grid highlighter is shown when dismissing color picker, even if checkbox is unchecked

Categories

(DevTools :: Inspector: Layout, defect, P2)

defect

Tracking

(firefox121 verified, firefox122 verified)

VERIFIED FIXED
121 Branch
Tracking Status
firefox121 --- verified
firefox122 --- verified

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

Steps to reproduce

  1. Go to https://ffx-devtools-css-nesting.glitch.me/
  2. Open the inspector, select the layout panel, expand the grid section if it's not
  3. There should be a grid element, click on the color swatch
  4. Once it's open, hit Esc to hide it

Expected results

Nothing

Actual results

when the popup is closed, the highlighter gets displayed, with a semi transparent style


Severity: -- → S3
Priority: -- → P2

We shouldn't show the highlighter if its associated checkbox isn't checked,
unless it's a parent grid with an highlighted subgrid.
A test case is added, which need highlighter-shown to be emitted
from showParentGridHighlighter so we can assert it's not fired.

Depends on D193632

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3c7ba8f44f26 [devtools] Don't automatically show grid highlighter on color change. r=devtools-reviewers,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
Flags: qe-verify+

Reproducible on a 2023-11-15 Nightly build on Windows 10.
Verified as fixed on Firefox 121.0b4 and Nightly 122.0a1 on Windows 10, Ubuntu 22, macOS 12.

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

Attachment

General

Created:
Updated:
Size: