[Webkit-unassigned] [Bug 22891] Scrolling in Windows Cairo Broken if no background color set.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 5 15:22:24 PST 2009


------- Comment #9 from bfulgham at webkit.org  2009-02-05 15:22 PDT -------
Current workaround:

@@ -771,7 +771,9 @@ void WebView::scrollBackingStore(FrameView* frameView, int
dx, int dy, const Int

     // Scroll the bitmap.
     RECT scrollRectWin(scrollViewRect);
     RECT clipRectWin(clipRect);
-    ::ScrollDC(bitmapDC, dx, dy, &scrollRectWin, &clipRectWin, updateRegion,
+    // fix for repaint issue - http://jira.appcelerator.org/jira/browse/TI-58
+    ::ScrollWindowEx(m_viewWindow, dx, dy, &scrollRectWin, &clipRectWin,
updateRegion, 0, 0);
+    //::ScrollDC(bitmapDC, dx, dy, &scrollRectWin, &clipRectWin, updateRegion,
     RECT regionBox;
     ::GetRgnBox(updateRegion, &regionBox);

I'm worried this may not always do the right thing, but perhaps there is no
difference in practice.  The positive Y direction in Cairo is inverted from
Windows, which has caused several other bugs.  Maybe something similar is wrong
with the handling of the bitmap region being scrolled.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list