From 51c517f2b8e0473d649cd891440be74bcdf343b6 Mon Sep 17 00:00:00 2001 From: Fushan Wen Date: Fri, 29 Sep 2023 18:21:28 +0800 Subject: [PATCH] plugins/desktopchangeosd: hide osd when Overview effect is active --- src/plugins/desktopchangeosd/package/contents/ui/osd.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/desktopchangeosd/package/contents/ui/osd.qml b/src/plugins/desktopchangeosd/package/contents/ui/osd.qml index 093d35e349..6da8cbe0dc 100644 --- a/src/plugins/desktopchangeosd/package/contents/ui/osd.qml +++ b/src/plugins/desktopchangeosd/package/contents/ui/osd.qml @@ -31,6 +31,9 @@ PlasmaCore.Dialog { } function show() { + if (Workspace.isEffectActive("overview")) { + return; + } const index = Workspace.desktops.indexOf(Workspace.currentDesktop); if (dialogItem.currentIndex === index) { return;