Closed Bug 1790770 Opened 2 years ago Closed 2 years ago

Panes in the style editor cannot be resized

Categories

(DevTools :: Style Editor, defect)

Firefox 106
Desktop
Windows 10
defect

Tracking

(firefox-esr102 unaffected, firefox104 unaffected, firefox105 unaffected, firefox106 affected)

RESOLVED DUPLICATE of bug 1790712
Tracking Status
firefox-esr102 --- unaffected
firefox104 --- unaffected
firefox105 --- unaffected
firefox106 --- affected

People

(Reporter: alice0775, Unassigned)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Panes in the style editor cannot be resized.

  1. Open Browser toolbox (Ctrl+Shift+Alt+I)
  2. Click Style Editor
  3. Drag splitter(between style lists pane and css code pane, or between the css code pane and media queries pane) left or right with the mouse

What happened?

Mouse pointer changes cursor.
However, Nothing resized.

What should have happened?

The size of the pane changes.

Regression window:

https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=d7a22e2e4f136ab8bcc2847cfcdc3731f5b4b0d0&tochange=3c1db9604720cc9b32b86ffb0ba682a29987c457

Thank you for the report I can reproduce this on my machine!

Emilio, is there anything we should fix in DevTools or there is some foollow-up work in Bug 1790299 - Make XUL splitters use the height property rather than attribute ?

Has STR: --- → yes
Flags: needinfo?(emilio)

Bug 1790712 should fix this.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(emilio)
Resolution: --- → DUPLICATE

Missed those as well during the review. So I was looking for places where we set directly the width or height via eg el.width = someNumber, but I missed all call sites using setAttribute: https://searchfox.org/mozilla-central/search?q=setAttribute%5C%28%5C%22%28height%7Cwidth%29&path=devtools&case=false&regexp=true

Looks like this was also used both by the StyleEditor and the StorageInspector. I will file a follow up bug to start use style in those panels instead.

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