Title: [113010] trunk/Source/WebKit2
Revision
113010
Author
[email protected]
Date
2012-04-03 05:01:11 -0700 (Tue, 03 Apr 2012)

Log Message

[Qt] Tap highlight still showing when tap gesture has timed out
https://bugs.webkit.org/show_bug.cgi?id=82902

Patch by Allan Sandfeld Jensen <[email protected]> on 2012-04-03
Reviewed by Kenneth Rohde Christiansen.

Disable highlight of potential tap, when tap-and-hold state
replaces potential tap state.

* UIProcess/qt/QtTapGestureRecognizer.cpp:
(WebKit::QtTapGestureRecognizer::tapAndHoldTimeout):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (113009 => 113010)


--- trunk/Source/WebKit2/ChangeLog	2012-04-03 11:26:50 UTC (rev 113009)
+++ trunk/Source/WebKit2/ChangeLog	2012-04-03 12:01:11 UTC (rev 113010)
@@ -1,3 +1,16 @@
+2012-04-03  Allan Sandfeld Jensen  <[email protected]>
+
+        [Qt] Tap highlight still showing when tap gesture has timed out
+        https://bugs.webkit.org/show_bug.cgi?id=82902
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Disable highlight of potential tap, when tap-and-hold state
+        replaces potential tap state.
+
+        * UIProcess/qt/QtTapGestureRecognizer.cpp:
+        (WebKit::QtTapGestureRecognizer::tapAndHoldTimeout):
+
 2012-04-02  Zalan Bujtas  <[email protected]>
 
         [Qt][WK2] Set viewport size back, when WebProcess is relaunched.

Modified: trunk/Source/WebKit2/UIProcess/qt/QtTapGestureRecognizer.cpp (113009 => 113010)


--- trunk/Source/WebKit2/UIProcess/qt/QtTapGestureRecognizer.cpp	2012-04-03 11:26:50 UTC (rev 113009)
+++ trunk/Source/WebKit2/UIProcess/qt/QtTapGestureRecognizer.cpp	2012-04-03 12:01:11 UTC (rev 113010)
@@ -131,6 +131,7 @@
 {
     ASSERT(m_touchBeginEventForTap);
     m_tapAndHoldTimer.stop();
+    m_eventHandler->handlePotentialSingleTapEvent(QTouchEvent::TouchPoint());
 #if 0 // No support for synthetic context menus in WK2 yet.
     QTouchEvent::TouchPoint tapPoint = m_touchBeginEventForTap->touchPoints().at(0);
     WebGestureEvent gesture(WebEvent::GestureTapAndHold, tapPoint.pos().toPoint(), tapPoint.screenPos().toPoint(), WebEvent::Modifiers(0), 0);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to