summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-08-10 22:44:16 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-08-12 22:16:16 +0200
commitc14898232f396019f7c882ed0df560cb72d64f77 (patch)
tree9136d065c2c8ba85d6ebbd630ce9704e59112362 /kde-plasma/plasma-workspace/files/plasma-workspace-6.1.4-restart-unhide-timer-on-dnd.patch
parentnet-misc/freerdp: add 3.7.0 (diff)
downloadgentoo-c14898232f396019f7c882ed0df560cb72d64f77.tar.gz
gentoo-c14898232f396019f7c882ed0df560cb72d64f77.tar.bz2
gentoo-c14898232f396019f7c882ed0df560cb72d64f77.zip
kde-plasma/plasma-workspace: Backport 3 fixes from 6.1.5
KDE-bug: https://bugs.kde.org/show_bug.cgi?id=450579 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=490569 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=491369 Set KFMIN=6.5.0 to be in sync with kde-plasma/kwin-6.1.4-r1. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/plasma-workspace/files/plasma-workspace-6.1.4-restart-unhide-timer-on-dnd.patch')
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-6.1.4-restart-unhide-timer-on-dnd.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-6.1.4-restart-unhide-timer-on-dnd.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-6.1.4-restart-unhide-timer-on-dnd.patch
new file mode 100644
index 000000000000..a10a9a84078e
--- /dev/null
+++ b/kde-plasma/plasma-workspace/files/plasma-workspace-6.1.4-restart-unhide-timer-on-dnd.patch
@@ -0,0 +1,38 @@
+From 84d0555e4484cde0cfd41c63047b69381e511767 Mon Sep 17 00:00:00 2001
+From: Yifan Zhu <fanzhuyifan@gmail.com>
+Date: Wed, 7 Aug 2024 17:12:02 +0000
+Subject: [PATCH] shell/panelview: restart unhide timer on drag leave
+
+Otherwise the autohide and dodge windows panels don't rehide when
+leaving them during drag and drop.
+
+CCBUG: 450579
+
+
+(cherry picked from commit 72e963100eb630771a9f2b7ce57375a7ddc0f59f)
+
+Co-authored-by: Yifan Zhu <fanzhuyifan@gmail.com>
+---
+ shell/panelview.cpp | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/shell/panelview.cpp b/shell/panelview.cpp
+index 095315a8c85..5a88764cf3c 100644
+--- a/shell/panelview.cpp
++++ b/shell/panelview.cpp
+@@ -1194,8 +1194,11 @@ bool PanelView::event(QEvent *e)
+ }
+ break;
+ }
+- // DragLeave just works
+ case QEvent::DragLeave:
++ m_containsMouse = false;
++ if (edgeActivated()) {
++ m_unhideTimer.start();
++ }
+ break;
+ case QEvent::DragMove: {
+ QDragMoveEvent *de = static_cast<QDragMoveEvent *>(e);
+--
+GitLab
+