Bug 439209 - Panels with adaptive transparency don't become transparent when "show desktop" is used
Summary: Panels with adaptive transparency don't become transparent when "show desktop...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.22.2
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 439965 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-06-27 08:55 UTC by Firlaev-Hans
Modified: 2021-07-23 14:59 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.22.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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