Title: [118342] trunk/Source/WebKit2
Revision
118342
Author
[email protected]
Date
2012-05-24 03:18:34 -0700 (Thu, 24 May 2012)

Log Message

[Qt] Tiles not painted after wheel or keyboard scroll.
https://bugs.webkit.org/show_bug.cgi?id=87358

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

After performing a scroll requested from the WebProcess we also need
to inform the painting layer of the viewport change.

* UIProcess/qt/QtViewportInteractionEngine.cpp:
(WebKit::QtViewportInteractionEngine::pagePositionRequest):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (118341 => 118342)


--- trunk/Source/WebKit2/ChangeLog	2012-05-24 10:15:36 UTC (rev 118341)
+++ trunk/Source/WebKit2/ChangeLog	2012-05-24 10:18:34 UTC (rev 118342)
@@ -1,3 +1,16 @@
+2012-05-24  Allan Sandfeld Jensen  <[email protected]>
+
+        [Qt] Tiles not painted after wheel or keyboard scroll.
+        https://bugs.webkit.org/show_bug.cgi?id=87358
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        After performing a scroll requested from the WebProcess we also need
+        to inform the painting layer of the viewport change.
+
+        * UIProcess/qt/QtViewportInteractionEngine.cpp:
+        (WebKit::QtViewportInteractionEngine::pagePositionRequest):
+
 2012-05-24  Andras Becsi  <[email protected]>
 
         [Qt][WK2] Fix bounce-back animation on pinch->pan

Modified: trunk/Source/WebKit2/UIProcess/qt/QtViewportInteractionEngine.cpp (118341 => 118342)


--- trunk/Source/WebKit2/UIProcess/qt/QtViewportInteractionEngine.cpp	2012-05-24 10:15:36 UTC (rev 118341)
+++ trunk/Source/WebKit2/UIProcess/qt/QtViewportInteractionEngine.cpp	2012-05-24 10:18:34 UTC (rev 118342)
@@ -287,6 +287,9 @@
     QRectF endVisibleContentRect(endPosition / endItemScale, m_viewport->boundingRect().size() / endItemScale);
 
     setItemRectVisible(endVisibleContentRect);
+
+    // Make sure that tiles all around the viewport will be requested.
+    emit contentViewportChanged(QPointF());
 }
 
 void QtViewportInteractionEngine::touchBegin()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to