Summary: | [Qt] REGRESSION(r109575) Broke tap-to-zoom gesture | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Allan Sandfeld Jensen <allan.jensen> | ||||||
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | abecsi, dinu.jacob, hausmann, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 79119 | ||||||||
Attachments: |
|
Description
Allan Sandfeld Jensen
2012-03-06 08:19:05 PST
Need to set the startScreenPos for the mock touch point. Created attachment 130504 [details]
Patch
Comment on attachment 130504 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=130504&action=review > Tools/MiniBrowser/qt/MiniBrowserApplication.cpp:196 > + touchPoint.setStartScenePos(m_startScreenPos); You're right, the double tap recognizer uses the start screen pos, but there's a typo in this line where the start_screen_ pos is set on the start_Scene_ pos property. Please fix before landing :) (In reply to comment #3) > (From update of attachment 130504 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=130504&action=review > > > Tools/MiniBrowser/qt/MiniBrowserApplication.cpp:196 > > + touchPoint.setStartScenePos(m_startScreenPos); > > You're right, the double tap recognizer uses the start screen pos, but there's a typo in this line where the start_screen_ pos is set on the start_Scene_ pos property. Please fix before landing :) That was intentional. As canvas translates the touch events we need to set the screen position as the scene position. I can add a comment there. Created attachment 130605 [details]
Updated Patch
Comment on attachment 130605 [details] Updated Patch Clearing flags on attachment: 130605 Committed r110058: <http://trac.webkit.org/changeset/110058> All reviewed patches have been landed. Closing bug. |