Open Bug 1753334 Opened 4 years ago Updated 3 years ago

Use the latest async offset if there's no scroll linked effects

Categories

(Core :: Panning and Zooming, enhancement, P2)

enhancement

Tracking

()

People

(Reporter: hiro, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Since bug 1571758 we have two async scroll offsets, the one-frame delay one and the latest one. Always using the latest one would mitigate bug 1640060.

It should be behind a pref which is off by default initially.

Blocks: 1640060
No longer depends on: 1640060
Type: defect → enhancement
Priority: -- → P2
Blocks: 1761812
No longer blocks: 1761812
Blocks: 1782797

Note that I heard that Glenn isn't a big fan of using prefs in Rust part of WebRender. An alternative way to avoid using prefs in Rust is to propagate the pref information into ScrollFrameInfo from the main-thread. There will be a race the pref isn't immediately reflected, but it wouldn't be a big problem. An advantage of the alternative way is, we may be able to control the behavior in more fine-grained, per scrollable frame or something like that. I am not sure it's useful or not as of now.

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

Attachment

General

Created:
Updated:
Size: