Bug 458970

Summary: Slide effect: windows set to All Desktops get strong shadow and lose transparency
Product: [Plasma] kwin Reporter: phd <phd>
Component: effects-window-managementAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: lukas, nate, nortexoid
Priority: NOR    
Version First Reported In: 5.25.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.26
Sentry Crash Report:
Attachments: transparent-kcalc-on-all-desktops--1-normal.png
transparent-kcalc-on-all-desktops--2-during-slide-animation.png

Description phd 2022-09-10 17:58:27 UTC
SUMMARY
During the Slide effect animation windows that are set to be displayed on All Desktops
get a very strong shadow and lose their transparency (if set).

STEPS TO REPRODUCE
0. activate Slide effect for changing desktops
1. open KCalc (or Dolphin, or any other window)
2. set it to be shown on All Desktops
3. set it's transparency to less than 100% (e.g. 50%)
4. switch desktop

OBSERVED RESULT
The window properly stays in place and is not animated (slided).
But its transparency is set to 100% during the Slide animation, then returns to normal.
And its shadow is very strong during the animation.

EXPECTED RESULT
During Slide effect's animation window set to be displayed on All Desktops should keep its transparency level and proper shadow.

This issue was there already in Plasma 5.24 and probably many earlier versions, so this is not a Plasma 5.25 regression.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 22.04
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.3
Comment 1 phd 2022-09-10 18:06:13 UTC
The Slide animation also does not respect that window's stack order (including its Keep Below Others property).
Window set to be displayed on All Desktop is always drawn on top of all other windows during the Slide animation.
Comment 2 phd 2022-09-10 18:09:41 UTC
Created attachment 151965 [details]
transparent-kcalc-on-all-desktops--1-normal.png
Comment 3 phd 2022-09-10 18:09:54 UTC
Created attachment 151966 [details]
transparent-kcalc-on-all-desktops--2-during-slide-animation.png
Comment 4 Nate Graham 2022-09-13 19:34:44 UTC
This is fixed already in Plasma 5.26.
Comment 5 Vlad Zahorodnii 2022-09-30 09:11:09 UTC
*** Bug 456319 has been marked as a duplicate of this bug. ***
Comment 6 Vlad Zahorodnii 2022-10-03 15:19:25 UTC
*** Bug 459939 has been marked as a duplicate of this bug. ***