Bug 454175

Summary: Panel popups' transparency status is reversed when a window is maximized
Product: [Plasma] plasmashell Reporter: Bacteria <dev.bacteriostat>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: 31113, dev.bacteriostat, joshuaandrewtr, nate, niccolo.venerandi, qydwhotmail
Priority: NOR Keywords: regression
Version First Reported In: 5.24.90   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.25
Sentry Crash Report:
Attachments: System tray not transparent
kick off not transparent
System tray transparent when a window is maximized

Description Bacteria 2022-05-21 17:32:17 UTC
Created attachment 149089 [details]
System tray not transparent

SUMMARY
System tray, kick off are not semi transparent when a window is open


STEPS TO REPRODUCE
1. Make sure background contrast is not disabled in system settings effects.
2. Launch any program/app
3. Open system tray/kick off

OBSERVED RESULT
Kick off/Sys tray is not semi transparent

EXPECTED RESULT
Kick off/sys tray must be transparent like panel/kick off.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Comment 1 Bacteria 2022-05-21 17:32:45 UTC
Created attachment 149090 [details]
kick off not transparent
Comment 2 Bacteria 2022-05-21 18:15:25 UTC
Created attachment 149092 [details]
System tray transparent when a window is maximized

Actually the transparency is simply reversed. Non-transparent when no window is maximized and transparent when a window is maximized.
Comment 3 Nate Graham 2022-05-23 18:53:03 UTC
Can reproduce. Looks like maybe something got reversed in the recent panel refactor, and now popups are transparent when there are any maximized windows, and opaque when there aren't. It should be the other way around.

Interestingly enough panels themselves are fine; it's only panel widgets' popups that are affected.
Comment 4 Bug Janitor Service 2022-05-23 19:04:57 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/954
Comment 5 Niccolò Venerandi 2022-05-23 19:08:08 UTC
Git commit 3adba639b310b37b798df0ccb93f44bf41d58830 by Niccolò Venerandi.
Committed on 23/05/2022 at 19:04.
Pushed by ngraham into branch 'master'.

Fix applet background becoming opaque when no window is maximized

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

https://invent.kde.org/plasma/plasma-desktop/commit/3adba639b310b37b798df0ccb93f44bf41d58830
Comment 6 Nate Graham 2022-05-23 19:08:52 UTC
Git commit 59a91d6dddc8b66eda14f2c86ab5a01790a272e6 by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 23/05/2022 at 19:08.
Pushed by ngraham into branch 'Plasma/5.25'.

Fix applet background becoming opaque when no window is maximized

(cherry picked from commit 3adba639b310b37b798df0ccb93f44bf41d58830)

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

https://invent.kde.org/plasma/plasma-desktop/commit/59a91d6dddc8b66eda14f2c86ab5a01790a272e6
Comment 7 Bacteria 2022-05-25 04:55:57 UTC
*** Bug 454371 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2022-05-27 14:08:29 UTC
*** Bug 454451 has been marked as a duplicate of this bug. ***