Closed Bug 1898625 Opened 2 years ago Closed 2 years ago

Apply scroll snapping during scene building prior to external scroll offset

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: gw, Assigned: gw)

References

(Regressed 1 open bug)

Details

Attachments

(5 files)

No description provided.

This is the next step towards support for fractional scroll offsets.

Assignee: nobody → gwatson
Depends on: 1893088
Keywords: leave-open
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a8c42063aedd Pt 1 - Snap clip display items prior to applying external scroll offset r=gfx-reviewers,aosmond

Hi, this first patch created a regression in Thunderbird folder pane.
When scrolling the hover effects or selection effects seem to remain "sticky" in their original position.
Here's a video to how the issue.

Backing out this patch fixes the issue.
Do we need to do anything in Thunderbird to follow this changes?

I think I can spot a typo in that patch that could explain what's happening there - I'll ask for it to be backed out for now. Then, I'll fix it up, re-land it and we can see if it fixes the problem in TB. It's surprising that this doesn't get caught by any Fx tests if it's what I think it is...

Regressions: 1899455

Backed out for causing a regression in Thunderbird.
Backout link: https://hg.mozilla.org/mozilla-central/rev/198b8c4a9b506b8bb15c4bc93dba876c4bdb1289

Flags: needinfo?(gwatson)

This (or something) also completely broke graphics for me on Nightly Firefox. Like a page looks fine (say, Reddit) but then if you scroll down the image stays behind. Also images aren't loading on Discord properly. (I'm on MacOS ARM64)

Thank you so much for the quick backout.
I'm more than happy to pull the revised patch and build Thunderbird locally to test it if you want.
Feel free to ping me on the phab revision if you need.

Regressions: 1899473
Regressions: 1899465
Regressions: 1899461
Regressions: 1899456
Regressions: 1899462
Regressions: 1899521

(In reply to Glenn Watson [:gw] from comment #9)

It's surprising that this doesn't get caught by any Fx tests if it's what I think it is...

Extremely! I hope that's something we intend to resolve as well :-)

Flags: needinfo?(gwatson)
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/47914d344795 Pt 1 - Snap clip display items prior to applying external scroll offset r=gfx-reviewers,aosmond
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/afea607f342b Pt 2 - Snap hit test items prior to applying external scroll offset r=gfx-reviewers,aosmond
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eb6c9affbe78 Pt 3 - Snap iframe rects prior to applying external scroll offset r=gfx-reviewers,aosmond
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a7c479e0c45e Pt 4 - remove snapping from box-shadow rect after spread + offset applied r=gfx-reviewers,aosmond
Depends on: 1904739
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Regressions: 1913713
Regressions: 2002194
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: