Bug 438325

Summary: Adaptive transparency not working
Product: [Plasma] plasmashell Reporter: MK <michele.kipiel>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: horen, karl, nate, phoenix_firebrd, popov895
Priority: NOR    
Version First Reported In: 5.22.0   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: a screenshot of the non-transparent panel (open menu)

Description MK 2021-06-09 13:51:21 UTC
Created attachment 139140 [details]
a screenshot of the non-transparent panel (open menu)

SUMMARY
Adaptive transparency is not working on wayland

STEPS TO REPRODUCE
1. Be on 5.22
2. Set adaptive transparency in the panel options

OBSERVED RESULT
solid panel

EXPECTED RESULT
transparent panel when no maximized windows are present

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.3
Kernel Version: 5.4.0-74-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7.1 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
Comment 1 popov895 2021-06-12 08:09:06 UTC
Same on X11. Moreover, even if I set the "Opacity" of the panel to "Transparency", I still don't see that it's translucent.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20210610
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.9-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7,7 GiB of RAM
Graphics Processor: Mesa DRI Intel® UHD Graphics 620
Comment 2 Prasad Murthy 2021-06-12 18:43:51 UTC
Adaptive transparency for taskbar doesn't work when the compositor backend is OpenGL 2.0 or OpenGL 3.1. It works when the compositor backend is XRender. Application dashboard shows blur effect when using OpenGL backend but that doesn't work when using XRender backend. 

libopengl version is 1.3.2

Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.3
Kernel Version: 5.4.0-74-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7400 CPU @ 3.00GHz
Memory: 30.3 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630
Comment 3 Prasad Murthy 2021-06-12 18:45:50 UTC
The above said bug is present in X11
Comment 4 Karl Ove Hufthammer 2021-06-13 08:03:04 UTC
(In reply to Prasad Murthy from comment #2)
> Adaptive transparency for taskbar doesn't work when the compositor backend
> is OpenGL 2.0 or OpenGL 3.1. It works when the compositor backend is
> XRender.

Can confirm (also on X11), with a different GPU:

Operating System: openSUSE Tumbleweed 20210609
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.9-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 1060 3GB/PCIe/SSE2
Comment 5 MK 2021-06-14 08:30:27 UTC
This was fixed for me with KDE frameworks 5.83
Comment 6 Nate Graham 2021-06-14 15:38:00 UTC
Yeah, this requires Frameworks 5.83. We were hoping that it could be released on the same day as Plasma 5.22, but the schedules didn't line up. Oh well, sometimes we can't have nice things. :)
Comment 7 horen@mac.com 2021-06-15 22:19:41 UTC
5.22.0 with framework 5.83.0 on openSUSE is transparency still broke. Neither adaptive or full transparency visible. It is always non-transparent.