Closed
Bug 1156606
Opened 10 years ago
Closed 10 years ago
Use WheelScrollAnimation for instant scrolling, too
Categories
(Core :: Panning and Zooming, defect)
Core
Panning and Zooming
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: dvander, Assigned: dvander)
References
Details
Attachments
(1 file)
7.84 KB,
patch
|
Details | Diff | Splinter Review |
ESM uses its async scroll animation for instant scrolling, too - it just moves to the destination in one frame, skipping the timing function. This is easy enough to do in APZ and gets rid of a bunch of code.
The motivation for this was that using pan-gestures can leave the last repaint request stuck in the throttling queue, which led to intermittent timeouts on some mochitests. I can't reproduce that with this patch, but I'm not sure if this actually guarantees it's fixed.
Either way I'm happy to not rely on the panning code for wheel scrolling.
![]() |
Assignee | |
Comment 1•10 years ago
|
||
Attachment #8595125 -
Flags: review?(bugmail.mozilla)
![]() |
Assignee | |
Comment 2•10 years ago
|
||
Comment on attachment 8595125 [details] [diff] [review]
patch
This caused another test to start failing... clearing review for now.
Attachment #8595125 -
Flags: review?(bugmail.mozilla)
Comment 3•10 years ago
|
||
FWIW I do like the simplification in this patch, and the removal of the pangesture events.
Comment 4•10 years ago
|
||
(In reply to David Anderson [:dvander] from comment #2)
> Comment on attachment 8595125 [details] [diff] [review]
> patch
>
> This caused another test to start failing... clearing review for now.
Do you happen to recall which test was failing with this?
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
It fails the GTest from bug 1166871.
Comment 7•10 years ago
|
||
This is fixed via bug 1193602.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•