Bug 439209

Summary: Panels with adaptive transparency don't become transparent when "show desktop" is used
Product: [Plasma] plasmashell Reporter: Firlaev-Hans <firlaevhans.fiete>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: kde, kinofhek, med.medin.2014, nate
Priority: NOR    
Version: 5.22.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.22.4

Description Firlaev-Hans 2021-06-27 08:55:57 UTC
SUMMARY
When you have a "minimize all windows" widget in the panel with adaptive transparency and click it, the panel will become translucent as expected. However, when using a global keyboard shortcut for showing the desktop, the panel stays opaque.

STEPS TO REPRODUCE
1. Have a panel with adaptive transparency enabled
2. Have a Kwin keyboard shortcut for "show desktop"
3. Open and maximize a window so the panel becomes opaque
4. Press the key combination for "show desktop"

OBSERVED RESULT
The panel stays opaque, even though no maximized windows are shown

EXPECTED RESULT
The panel should become translucent when the desktop is shown, just like when using the widget.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Kernel Version: 5.12.13-zen1-1-zen (64-bit)
Graphics Platform: X11
Comment 1 Felipe Kinoshita 2021-06-27 10:37:53 UTC
Can confirm.
Comment 2 Podagric 2021-07-17 13:36:41 UTC
*** Bug 439965 has been marked as a duplicate of this bug. ***
Comment 3 David Edmundson 2021-07-19 21:29:52 UTC
*** Bug 439965 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2021-07-23 14:58:23 UTC
Git commit f7ab28c006806563bd3dde3607b382aef2f67e6f by Nate Graham, on behalf of David Edmundson.
Committed on 23/07/2021 at 14:51.
Pushed by ngraham into branch 'master'.

[panel] When in adaptive transparency go transparent when in show desktop mode

When in "show desktop" mode window positions are in the same place, but
the stacking order changes.

From a panel POV it's the same as the maximised window being hidden, so
we should factor that into our test.

M  +6    -1    desktoppackage/contents/views/Panel.qml

https://invent.kde.org/plasma/plasma-desktop/commit/f7ab28c006806563bd3dde3607b382aef2f67e6f
Comment 5 Nate Graham 2021-07-23 14:59:02 UTC
Git commit 5e0b8c1f37b97df6a1c30ba326f806a74b31af64 by Nate Graham, on behalf of David Edmundson.
Committed on 23/07/2021 at 14:58.
Pushed by ngraham into branch 'Plasma/5.22'.

[panel] When in adaptive transparency go transparent when in show desktop mode

When in "show desktop" mode window positions are in the same place, but
the stacking order changes.

From a panel POV it's the same as the maximised window being hidden, so
we should factor that into our test.


(cherry picked from commit f7ab28c006806563bd3dde3607b382aef2f67e6f)

M  +6    -1    desktoppackage/contents/views/Panel.qml

https://invent.kde.org/plasma/plasma-desktop/commit/5e0b8c1f37b97df6a1c30ba326f806a74b31af64