Bug 476711

Summary: Following Panel settings redesign, Opaque and Adaptive transparency modes aren't working
Product: [Plasma] plasmashell Reporter: Nate Graham <nate>
Component: PanelAssignee: veggero <niccolo.venerandi>
Status: RESOLVED FIXED    
Severity: normal CC: niccolo.venerandi
Priority: NOR Keywords: qt6, regression
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nate Graham 2023-11-08 16:40:06 UTC
Today's git master Plasma 6 Wayland, Qt 6.5.2, 4K@200% screen or 1080p@100% screen (makes no difference)

STEPS TO REPRODUCE
1. Set Panel to either Opaque mode, or to Adaptive mode and then touch it with a window

OBSERVED RESULT
Panel remains transparent

EXPECTED RESULT
Panel becomes opaque
Comment 1 Bug Janitor Service 2023-11-08 19:49:44 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1807
Comment 2 Bharadwaj Raju 2023-11-08 20:04:13 UTC
Git commit ac6ac69bf93945c834bda94a95e4439b939bb43c by Bharadwaj Raju.
Committed on 08/11/2023 at 20:47.
Pushed by ngraham into branch 'master'.

Fix panel Opaque & Adaptive modes outside X11

KX11Extras::compositingActive returns false outside X11, and thus on Wayland
panelOpacity always gets set to zero even though we have compositing.

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

https://invent.kde.org/plasma/plasma-desktop/-/commit/ac6ac69bf93945c834bda94a95e4439b939bb43c