WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
87571
WebProcess sends many synchronous messages to the UI process while scrolling beneath ScrollView::contentsToScreen()
https://bugs.webkit.org/show_bug.cgi?id=87571
Summary
WebProcess sends many synchronous messages to the UI process while scrolling ...
mitz
Reported
2012-05-25 22:54:28 PDT
<
rdar://problem/11439771
> Looking at a WebProcess sample from scrolling a fairly simple page, I noticed over a 1/10 of the time was spent beneath ScrollView::contentsToScreen() waiting on a synchronous message to the UI process. This function is called from EventHandler::fakeMouseMoveEventTimerFired().
Attachments
Store and use the last known mouse position in screen coordinates
(4.63 KB, patch)
2012-05-25 23:07 PDT
,
mitz
andersca
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2012-05-25 23:07:02 PDT
Created
attachment 144194
[details]
Store and use the last known mouse position in screen coordinates
Simon Fraser (smfr)
Comment 2
2012-05-26 09:59:24 PDT
Comment on
attachment 144194
[details]
Store and use the last known mouse position in screen coordinates View in context:
https://bugs.webkit.org/attachment.cgi?id=144194&action=review
> Source/WebCore/page/EventHandler.h:428 > + IntPoint m_currentMouseGlobalPosition;
Does "global" always equate to "screen" on systems with more than one screen?
mitz
Comment 3
2012-05-26 10:12:29 PDT
(In reply to
comment #2
)
> (From update of
attachment 144194
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=144194&action=review
> > > Source/WebCore/page/EventHandler.h:428 > > + IntPoint m_currentMouseGlobalPosition; > > Does "global" always equate to "screen" on systems with more than one screen?
Not sure. If not, then this makes the fake event more faithful, since it just replicates the global position of the last real event. Thanks for the review!
mitz
Comment 4
2012-05-26 10:15:11 PDT
Fixed in <
http://trac.webkit.org/r118611
>.
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