WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 82408
[chromium] Send wheel events to main thread even if we think nothing is scrollable
https://bugs.webkit.org/show_bug.cgi?id=82408
Summary
[chromium] Send wheel events to main thread even if we think nothing is scrol...
James Robinson
Reported
2012-03-27 18:35:39 PDT
[chromium] Send wheel events to main thread even if we think nothing is scrollable
Attachments
Patch
(1.69 KB, patch)
2012-03-27 18:36 PDT
,
James Robinson
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
James Robinson
Comment 1
2012-03-27 18:36:12 PDT
Created
attachment 134192
[details]
Patch
James Robinson
Comment 2
2012-03-27 18:37:29 PDT
This is a conservative fix for
http://code.google.com/p/chromium/issues/detail?id=119984
, see
http://code.google.com/p/chromium/issues/detail?id=119984#c17
, and meant as a quick fix. The behavior with DidNotHandle is never worse than if we didn't have the thread, since without the thread these events would have gone to the main thread anyway. We don't have webkit_unit_test coverage for wheel handling (which is another bug that should be fixed).
Adrienne Walker
Comment 3
2012-03-27 19:03:13 PDT
Comment on
attachment 134192
[details]
Patch R=me. This seems quite reasonable as a short-term fix. Sending the event to the main thread that we think won't get handled isn't going to hurt anything. Could this happen if we get input before we finish the first commit?
James Robinson
Comment 4
2012-03-27 21:22:23 PDT
(In reply to
comment #3
)
> (From update of
attachment 134192
[details]
) > R=me. This seems quite reasonable as a short-term fix. Sending the event to the main thread that we think won't get handled isn't going to hurt anything. > > Could this happen if we get input before we finish the first commit?
I'm not entirely sure. From the trace on the crbug there were many many frames of ScrollIgnored, not just a one-off. I think what I'll do is add a bit of state tracking locally to compare the compositor thread results to the main thread results for each input event and see if I can repro, then backtrack from there.
WebKit Review Bot
Comment 5
2012-03-27 21:27:35 PDT
Comment on
attachment 134192
[details]
Patch Clearing flags on attachment: 134192 Committed
r112363
: <
http://trac.webkit.org/changeset/112363
>
WebKit Review Bot
Comment 6
2012-03-27 21:27:39 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug