rev 10980 - in trunk/packages/qt4-x11/debian: . patches

Sune Vuorela pusling-guest at alioth.debian.org
Thu Jun 12 06:51:35 UTC 2008


Author: pusling-guest
Date: 2008-06-12 06:51:35 +0000 (Thu, 12 Jun 2008)
New Revision: 10980

Added:
   trunk/packages/qt4-x11/debian/patches/0001_webkit_backround_in_scrollbars_webkit-5b0ea6b840a6e25e97b886e1852c3fc6ef8e8d0d.diff
Modified:
   trunk/packages/qt4-x11/debian/changelog
   trunk/packages/qt4-x11/debian/patches/series
Log:
fix qtwebkit-scrollbar rendering issue

Modified: trunk/packages/qt4-x11/debian/changelog
===================================================================
--- trunk/packages/qt4-x11/debian/changelog	2008-06-12 05:33:24 UTC (rev 10979)
+++ trunk/packages/qt4-x11/debian/changelog	2008-06-12 06:51:35 UTC (rev 10980)
@@ -1,5 +1,12 @@
-qt4-x11 (4.4.0-3) UNRELEASED; urgency=low
+qt4-x11 (4.4.0-4) unstable; urgency=low
 
+  * Get patch from 4.4.2 (yes!) to fix painting of scrollbars in webkit with
+    some styles.
+
+ -- Sune Vuorela <debian at pusling.com>  Wed, 11 Jun 2008 23:22:22 +0200
+
+qt4-x11 (4.4.0-3) unstable; urgency=low
+
   +++ Changes by Sune Vuorela:
 
   * Fix generic atomic header. (Closes: #475767)

Added: trunk/packages/qt4-x11/debian/patches/0001_webkit_backround_in_scrollbars_webkit-5b0ea6b840a6e25e97b886e1852c3fc6ef8e8d0d.diff
===================================================================
--- trunk/packages/qt4-x11/debian/patches/0001_webkit_backround_in_scrollbars_webkit-5b0ea6b840a6e25e97b886e1852c3fc6ef8e8d0d.diff	                        (rev 0)
+++ trunk/packages/qt4-x11/debian/patches/0001_webkit_backround_in_scrollbars_webkit-5b0ea6b840a6e25e97b886e1852c3fc6ef8e8d0d.diff	2008-06-12 06:51:35 UTC (rev 10980)
@@ -0,0 +1,42 @@
+This is expected to be in 4.4.2
+
+
+From: Tor Arne Vestbø <tavestbo at trolltech.com>
+Date: Tue, 10 Jun 2008 16:04:06 +0000 (+0200)
+Subject: Fill the background of scrollbars to the window color before
+X-Git-Url: http://code.staikos.net/cgi-bin/gitweb.cgi?p=webkit;a=commitdiff_plain;h=5b0ea6b840a6e25e97b886e1852c3fc6ef8e8d0d
+
+Fill the background of scrollbars to the window color before
+letting the QStyle paint its primitive elements.
+
+Signed-off-by: Simon
+---
+
++2008-06-10  Tor Arne Vestbø  <tavestbo at trolltech.com>
++
++        Reviewed by Simon
++
++        Fill the background of scrollbars to the window color before
++        letting the QStyle paint its primitive elements.
++
++        * platform/qt/PlatformScrollBarQt.cpp:
++        (WebCore::PlatformScrollbar::paint):
++
+ 2008-05-30  Adam Treat  <treat at kde.org>
+ 
+         Reviewed by Simon.
+diff --git a/WebCore/platform/qt/PlatformScrollBarQt.cpp b/WebCore/platform/qt/PlatformScrollBarQt.cpp
+index 66063eb..c7f5bdd 100644
+--- a/src/3rdparty/webkit/WebCore/platform/qt/PlatformScrollBarQt.cpp
++++ b/src/3rdparty/webkit/WebCore/platform/qt/PlatformScrollBarQt.cpp
+@@ -183,6 +183,10 @@ void PlatformScrollbar::paint(GraphicsContext* graphicsContext, const IntRect& d
+ #else
+     p->translate(topLeft);
+     m_opt.rect.moveTo(QPoint(0, 0));
++
++    // The QStyle expects the background to be already filled
++    p->fillRect(m_opt.rect, m_opt.palette.background());
++
+     QApplication::style()->drawComplexControl(QStyle::CC_ScrollBar, &m_opt, p, 0);
+     m_opt.rect.moveTo(topLeft);
+ #endif

Modified: trunk/packages/qt4-x11/debian/patches/series
===================================================================
--- trunk/packages/qt4-x11/debian/patches/series	2008-06-12 05:33:24 UTC (rev 10979)
+++ trunk/packages/qt4-x11/debian/patches/series	2008-06-12 06:51:35 UTC (rev 10980)
@@ -1,3 +1,5 @@
+# patches from upstream
+0001_webkit_backround_in_scrollbars_webkit-5b0ea6b840a6e25e97b886e1852c3fc6ef8e8d0d.diff
 # qt-copy patches
 0167-fix-group-reading.diff
 0180-window-role.diff




More information about the pkg-kde-commits mailing list