[arch-commits] Commit in kdebase/trunk (PKGBUILD fix-controlclick-selection.patch)
Andrea Scarpino
andrea at archlinux.org
Wed Jan 25 20:39:31 UTC 2012
Date: Wednesday, January 25, 2012 @ 15:39:31
Author: andrea
Revision: 147366
Fix KDEBUG#292250
Added:
kdebase/trunk/fix-controlclick-selection.patch
Modified:
kdebase/trunk/PKGBUILD
----------------------------------+
PKGBUILD | 9 +++++++--
fix-controlclick-selection.patch | 11 +++++++++++
2 files changed, 18 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-01-25 20:38:14 UTC (rev 147365)
+++ PKGBUILD 2012-01-25 20:39:31 UTC (rev 147366)
@@ -19,10 +19,15 @@
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdebase')
makedepends=('kdelibs' 'cmake' 'automoc4' 'tidyhtml')
-source=("http://download.kde.org/stable/${pkgver}/src/kde-baseapps-${pkgver}.tar.bz2")
-sha1sums=('25151b551793164c5eb1cb303d3031e63a6122e3')
+source=("http://download.kde.org/stable/${pkgver}/src/kde-baseapps-${pkgver}.tar.bz2"
+ 'fix-controlclick-selection.patch')
+sha1sums=('25151b551793164c5eb1cb303d3031e63a6122e3'
+ 'b29c42301b84475f95f19ff9edb22d2134df9c1c')
build() {
+ cd "${srcdir}"/kde-baseapps-${pkgver}
+ patch -p1 -i "${srcdir}"/fix-controlclick-selection.patch
+
cd ${srcdir}
mkdir build
cd build
Added: fix-controlclick-selection.patch
===================================================================
--- fix-controlclick-selection.patch (rev 0)
+++ fix-controlclick-selection.patch 2012-01-25 20:39:31 UTC (rev 147366)
@@ -0,0 +1,11 @@
+--- a/dolphin/src/kitemviews/kitemlistcontroller.cpp
++++ b/dolphin/src/kitemviews/kitemlistcontroller.cpp
+@@ -471,7 +471,7 @@ bool KItemListController::mousePressEven
+ (!shiftOrControlPressed && !pressedItemAlreadySelected);
+ if (clearSelection) {
+ m_selectionManager->clearSelection();
+- } else if (pressedItemAlreadySelected && (event->buttons() & Qt::LeftButton)) {
++ } else if (pressedItemAlreadySelected && !shiftOrControlPressed && (event->buttons() & Qt::LeftButton)) {
+ // The user might want to start dragging multiple items, but if he clicks the item
+ // in order to trigger it instead, the other selected items must be deselected.
+ // However, we do not know yet what the user is going to do.
More information about the arch-commits
mailing list