[Webkit-unassigned] [Bug 92394] New: [Qt] Fix axis locking when panning on N9
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 26 10:35:33 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=92394
Summary: [Qt] Fix axis locking when panning on N9
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: lauro.neto at openbossa.org
Steps to reproduce:
- Run a rather recent version of Qt5 and WebView (Since June), opening up a page that allows panning in all directions (e.g. a zoomed page).
- Pan it.
- Lift the finger, the screen will update (which currently is slow, taking at least at least a couple of seconds, but it's another problem).
- While the screen is updating, slowly swipe the finger again to pan, or even just press the screen.
- Almost always the screen will lock. If panning vertically, the screen will lock horizontally.
About locking easily, the problem seems to be that the AxisLocker class uses a QElapsedTimer to check the time between the events. The intense CPU work when updating the screen causes the events to be delivered late, leading to wrong elapsed time values. Often the touch events were received with less than 5 miliseconds between them.
About the wrong axis, on N9 the native X orientation is landscape. So when swiping vertically in portrait mode (default usage), the TouchPoing.screenPos() coordinates changes the x member, not the expected y member.
Cleaning up a working patch to upload.
--
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