From 5d90f232bd62ba0f774b0992fb90821c2d44e932 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Thu, 30 May 2024 10:57:03 +0300 Subject: [PATCH] effects: Disable showing desktop when starting any fullscreen effect Fullscreen effects typically will show all the windows, when the effect ends having the windows disappear doesn't really work. From a user point of view any full screen effect is a new task, we want to cancel any preivous task. BUG: 487299 --- src/effect/effecthandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/effect/effecthandler.cpp b/src/effect/effecthandler.cpp index 8cbfa42770..60e0354ec6 100644 --- a/src/effect/effecthandler.cpp +++ b/src/effect/effecthandler.cpp @@ -419,6 +419,8 @@ void EffectsHandler::setActiveFullScreenEffect(Effect *e) Q_EMIT activeFullScreenEffectChanged(); if (activeChanged) { Q_EMIT hasActiveFullScreenEffectChanged(); + + setShowingDesktop(false); workspace()->screenEdges()->checkBlocking(); } }