[Webkit-unassigned] [Bug 120542] [wk2] REGRESSION (r154673): PDF scrolling moves very slowly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 31 02:20:24 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=120542





--- Comment #6 from Christophe Dumez <dchris at gmail.com>  2013-08-31 02:19:45 PST ---
Created an attachment (id=210183)
 --> (https://bugs.webkit.org/attachment.cgi?id=210183&action=review)
Experiment #1

Looking at my patch, I could find one small behavior change. WheelEvent::deltaX() / WheelEvent::deltaY() used to return a rounded integer and now they return a double value.
I figured this should not be too much of a problem because EventHandler's scrollNode() takes a floating point value in argument anyway.

This experimental patch attached rounds the value returned by WheelEvent::deltaX() / WheelEvent::deltaY() in EventHandler so that it should behave exactly like before. It would be great if someone could let me know if it has any impact on the PDF scrolling issue (since I don't run the mac port unfortunately).

I am not sure why this would impact PDF scrolling in WK2 at this point but I wasn't able to find any other behavior change with my patch yet.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list