WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
89227
[BlackBerry] Disable WebCore::EventHandler synthesized mouse events during touch scrolling
https://bugs.webkit.org/show_bug.cgi?id=89227
Summary
[BlackBerry] Disable WebCore::EventHandler synthesized mouse events during to...
Antonio Gomes
Reported
2012-06-15 09:45:20 PDT
++++++++++++++++++++++++++++++++++++ FROM PRzilla: I was looking at some odd pattern and discovered that the WebCore::EventHandler will periodically synthesize mouse events while you scroll. On the desktop, the mouse cursor remains still while you scroll using mouse wheel, so this seems correct (the.cursor is moving relative to the page while scrolling, so mouse move events are in order). But for touch scrolling it seems not only a waste of battery but also completely wrong, because your finger does not move relative to the page during touch scrolling, and the synthesized events have the wrong position. --------------------------------------
Attachments
(committed r120482, r=rbuis) patch
(5.41 KB, patch)
2012-06-15 11:32 PDT
,
Antonio Gomes
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antonio Gomes
Comment 1
2012-06-15 11:32:48 PDT
Created
attachment 147864
[details]
(committed
r120482
, r=rbuis) patch
Rob Buis
Comment 2
2012-06-15 11:35:40 PDT
Comment on
attachment 147864
[details]
(committed
r120482
, r=rbuis) patch View in context:
https://bugs.webkit.org/attachment.cgi?id=147864&action=review
Looks good.
> Source/WebKit/blackberry/Api/WebSettings.h:76 > + bool doesDeviceSupportMouse() const;
Instead of doesDeviceSupportMouse you can just do deviceSupportsMouse.
Antonio Gomes
Comment 3
2012-06-15 11:54:53 PDT
Comment on
attachment 147864
[details]
(committed
r120482
, r=rbuis) patch Committed <
http://trac.webkit.org/changeset/120482
>
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