Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kdebump2.git;a=commitdiff;h=321f9e09373caf11c15fc0aca606a5df7481342e

commit 321f9e09373caf11c15fc0aca606a5df7481342e
Author: Melko <[email protected]>
Date:   Fri Sep 6 20:24:50 2013 +0200

kdebase-runtime-4.11.1-2-x86_64

* add patch to fix bug with the taskbar
see https://bugs.kde.org/show_bug.cgi?id=324470

diff --git 
a/source/kde/kdebase-runtime/0001-Discard-the-recorded-events-in-the-item-local-handle.patch
 
b/source/kde/kdebase-runtime/0001-Discard-the-recorded-events-in-the-item-local-handle.patch
new file mode 100644
index 0000000..177ebdc
--- /dev/null
+++ 
b/source/kde/kdebase-runtime/0001-Discard-the-recorded-events-in-the-item-local-handle.patch
@@ -0,0 +1,54 @@
+From be1a5d484c70f4f6a383150810afbfbb367db2ac Mon Sep 17 00:00:00 2001
+From: Eike Hein <[email protected]>
+Date: Tue, 3 Sep 2013 20:29:23 +0200
+Subject: [PATCH] Discard the recorded events in the item-local handlers.
+
+Solves problems with identical events being ignored due to
+QGraphicsView's reuse of QGraphicsSceneMouseEvent instances.
+
+CCMAIL:[email protected]
+BUG:324470
+BUG:324471
+---
+ plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git 
a/plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp 
b/plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp
+index b534845..36530e0 100644
+--- a/plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp
++++ b/plasma/declarativeimports/qtextracomponents/mouseeventlistener.cpp
+@@ -90,6 +90,7 @@ bool MouseEventListener::containsMouse() const
+ void MouseEventListener::mousePressEvent(QGraphicsSceneMouseEvent *me)
+ {
+     if (m_lastEvent == me) {
++        m_lastEvent = 0;
+         return;
+     }
+
+@@ -112,6 +113,7 @@ void 
MouseEventListener::mousePressEvent(QGraphicsSceneMouseEvent *me)
+ void MouseEventListener::mouseMoveEvent(QGraphicsSceneMouseEvent *me)
+ {
+     if (m_lastEvent == me) {
++        m_lastEvent = 0;
+         return;
+     }
+
+@@ -122,6 +124,7 @@ void 
MouseEventListener::mouseMoveEvent(QGraphicsSceneMouseEvent *me)
+ void MouseEventListener::mouseReleaseEvent(QGraphicsSceneMouseEvent *me)
+ {
+     if (m_lastEvent == me) {
++        m_lastEvent = 0;
+         return;
+     }
+
+@@ -138,6 +141,7 @@ void 
MouseEventListener::mouseReleaseEvent(QGraphicsSceneMouseEvent *me)
+ void MouseEventListener::wheelEvent(QGraphicsSceneWheelEvent *we)
+ {
+     if (m_lastEvent == we) {
++        m_lastEvent = 0;
+         return;
+     }
+
+--
+1.8.1.2
+
diff --git a/source/kde/kdebase-runtime/FrugalBuild 
b/source/kde/kdebase-runtime/FrugalBuild
index 080c3a4..bdf2963 100644
--- a/source/kde/kdebase-runtime/FrugalBuild
+++ b/source/kde/kdebase-runtime/FrugalBuild
@@ -4,7 +4,7 @@
options+=('asneeded')

pkgname=kdebase-runtime
-pkgrel=1
+pkgrel=2
pkgdesc="Programs and libraries needed at runtime by other KDE4 applications"
groups=('kde')
archs=('i686' 'x86_64')
@@ -15,6 +15,10 @@ makedepends=("${makedepends[@]}" "openslp" "samba" 
'networkmanager>=0.9.4.0'\
"docbook-xsl" "libqttest>=$_F_kde_qtver" "libdbusmenu-qt>=0.8.0" \
"soprano-backend-redland>=2.7.5" "kdelibs-compiletime>=$_F_kde_ver" \
"kdepimlibs>=$_F_kde_ver" "kdepimlibs-compiletime>=$_F_kde_ver")
+source=("${source[@]}" \
+       0001-Discard-the-recorded-events-in-the-item-local-handle.patch)
+sha1sums=("${sha1sums[@]}" \
+       '17456b3326173d6a82e843d24cbd5afc6a508658')

Kde4="$_F_kde_ver"
Qt4="${_F_kde_qtver}"
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to