commit plasma5-desktop for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package plasma5-desktop for openSUSE:Factory checked in at 2017-12-23 12:15:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma5-desktop (Old) and /work/SRC/openSUSE:Factory/.plasma5-desktop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "plasma5-desktop" Sat Dec 23 12:15:18 2017 rev:72 rq:557810 version:5.11.4 Changes: -------- --- /work/SRC/openSUSE:Factory/plasma5-desktop/plasma5-desktop.changes 2017-12-08 12:47:20.575452129 +0100 +++ /work/SRC/openSUSE:Factory/.plasma5-desktop.new/plasma5-desktop.changes 2017-12-23 12:15:22.547609080 +0100 @@ -1,0 +2,6 @@ +Sun Dec 17 10:53:13 UTC 2017 - fabian@ritter-vogt.de + +- Add patch to fix issue appearing with Qt 5.10 (kde#387199): + * 0001-Folder-View-Accept-mouse-events-if-we-handled-them.patch + +------------------------------------------------------------------- New: ---- 0001-Folder-View-Accept-mouse-events-if-we-handled-them.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma5-desktop.spec ++++++ --- /var/tmp/diff_new_pack.9KZivO/_old 2017-12-23 12:15:23.271573780 +0100 +++ /var/tmp/diff_new_pack.9KZivO/_new 2017-12-23 12:15:23.271573780 +0100 @@ -35,6 +35,7 @@ Patch1: 0001-Use-themed-user-face-icon-in-kickoff.patch # PATCHES 100-200 and above are from upstream 5.11 branch # PATCHES 201-300 and above are from upstream master/5.11 branch +Patch201: 0001-Folder-View-Accept-mouse-events-if-we-handled-them.patch %if 0%{?suse_version} > 1325 BuildRequires: libboost_headers-devel %else @@ -180,6 +181,7 @@ %prep %setup -q -n plasma-desktop-%{version} %patch1 -p1 +%patch201 -p1 # Workaround for boo#1038368 sed -i"" "s/Name=Desktop/Name=Desktop Containment/g" containments/desktop/package/metadata.desktop ++++++ 0001-Folder-View-Accept-mouse-events-if-we-handled-them.patch ++++++
From 38300ce1afc8f9500b2ebf26ff4810b25558585f Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik
Date: Fri, 24 Nov 2017 10:37:22 +0100 Subject: [PATCH] [Folder View] Accept mouse events if we handled them
This keeps the event from propagating to e.g. the containment resulting in two context menus (both Folder View's item context menu and the containment action) opening at once. BUG: 387199 FIXED-IN: 5.12.0 Differential Revision: https://phabricator.kde.org/D8961 --- containments/desktop/package/contents/ui/FolderView.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/containments/desktop/package/contents/ui/FolderView.qml b/containments/desktop/package/contents/ui/FolderView.qml index 516d287b..0a97f529 100644 --- a/containments/desktop/package/contents/ui/FolderView.qml +++ b/containments/desktop/package/contents/ui/FolderView.qml @@ -253,6 +253,7 @@ Item { if (mouse.buttons & Qt.BackButton) { if (root.isPopup && dir.resolvedUrl != dir.resolve(plasmoid.configuration.url)) { doBack(); + mouse.accepted = true; } return; @@ -273,6 +274,7 @@ Item { if (mouse.buttons & Qt.RightButton) { clearPressState(); dir.openContextMenu(); + mouse.accepted = true; } } else { pressedItem = hoveredItem; @@ -308,6 +310,7 @@ Item { clearPressState(); dir.openContextMenu(); + mouse.accepted = true; } } } -- 2.15.0
participants (1)
-
root@hilbert.suse.de