Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Qt] Tiles not painted after wheel or keyboard scroll.
https://bugs.webkit.org/show_bug.cgi?id=87358

Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> 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):

Canonical link: https://commits.webkit.org/105111@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@118342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Allan Sandfeld Jensen authored and webkit-commit-queue committed May 24, 2012
1 parent 9a26841 commit 236e169
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Source/WebKit2/ChangeLog
@@ -1,3 +1,16 @@
2012-05-24 Allan Sandfeld Jensen <allan.jensen@nokia.com>

[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 <andras.becsi@nokia.com>

[Qt][WK2] Fix bounce-back animation on pinch->pan
Expand Down
3 changes: 3 additions & 0 deletions Source/WebKit2/UIProcess/qt/QtViewportInteractionEngine.cpp
Expand Up @@ -287,6 +287,9 @@ void QtViewportInteractionEngine::pagePositionRequest(const QPoint& pagePosition
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()
Expand Down

0 comments on commit 236e169

Please sign in to comment.