| Summary: | Momentum animator sometimes starts the animation at a very high velocity | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||||||||||
| Component: | New Bugs | Assignee: | Tim Horton <thorton> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Normal | CC: | simon.fraser, webkit-bug-importer, wenson_hsieh | ||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||
| Hardware: | Unspecified | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Tim Horton
2021-11-17 00:09:22 PST
Created attachment 444490 [details]
Patch
Created attachment 444491 [details]
Patch
Comment on attachment 444491 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=444491&action=review > Source/WebKit/WebProcess/WebPage/EventDispatcher.cpp:110 > + platformWheelEvent = m_recentWheelEventDeltaFilter->eventCopyWithVelocity(platformWheelEvent); Is this going to put non-zero velocity on Ended events? (In reply to Simon Fraser (smfr) from comment #4) > Comment on attachment 444491 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=444491&action=review > > > Source/WebKit/WebProcess/WebPage/EventDispatcher.cpp:110 > > + platformWheelEvent = m_recentWheelEventDeltaFilter->eventCopyWithVelocity(platformWheelEvent); > > Is this going to put non-zero velocity on Ended events? Good point, maybe we should be more restrictive (it's a little funny because you'd think velocity would be non-zero for the `end` before a `momentum start` but I know that's historically not true). Created attachment 444543 [details]
Patch
Created attachment 444564 [details]
Patch
Created attachment 444565 [details]
Patch
Committed r285953 (244354@main): <https://commits.webkit.org/244354@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 444565 [details]. |