Closed Bug 1946690 Opened 27 days ago Closed 24 days ago

Scroll position of the HTML and CSS pane returns to the top after switching tools

Categories

(DevTools :: Inspector, defect)

Firefox 135
defect

Tracking

(firefox-esr115 unaffected, firefox-esr128 unaffected, firefox135 wontfix, firefox136 wontfix, firefox137 fixed)

RESOLVED FIXED
137 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox135 --- wontfix
firefox136 --- wontfix
firefox137 --- fixed

People

(Reporter: 6k64x4ma, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached image screenshot.webp

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0

Steps to reproduce:

  1. Open the Inspector.
  2. Scroll down in the HTML and CSS panes.
  3. Switch to another tool (e.g. Console).
  4. Switch back to the Inspector.

Actual results:

  • The scroll position of the HTML and CSS pane returns to the top.
  • Sometimes there are blank space at the top of the pane, please see the screenshot.

Expected results:

  • The scroll position should be preserved.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=8aec7b1b4272d50e21928ba57fff57af1909a778&tochange=8e8305f85074074769f6d51a556f210132f2c25b

Keywords: regression
Regressed by: 1803713

:hiro, since you are the author of the regressor, bug 1803713, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(hikezoe.birchill)

Thanks for reporting. Interestingly I can't reproduce this issue on local debug builds, which means it's hard to investigate. :/

I can't reproduce on local opt builds either. :/

Looks like either bug 1943351 or bug 1943543 fixed this issue.

6k64x4ma, would you mind trying a latest nightly to see if the issue still is reproducible or not? Thanks!

There might be an underlying issue in our paint skipping code, of course.

Flags: needinfo?(hikezoe.birchill)
See Also: → 1943351, 1943543

It seems that one of those two fixes fixed this bug.
Thank you for checking this!

Status: UNCONFIRMED → RESOLVED
Closed: 24 days ago
Resolution: --- → INVALID

Thank you!

Resolution: INVALID → FIXED

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

Depends on: 1943351, 1943543
Target Milestone: --- → 137 Branch
Duplicate of this bug: 1950367
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: