Bug 438666

Summary: Top 6 pixels of translucent panel appear opaque until cache is deleted
Product: [Frameworks and Libraries] libplasma Reporter: lia <liakdebugs>
Component: libplasmaAssignee: Marco Martin <notmart>
Status: RESOLVED WORKSFORME    
Severity: minor CC: alex765, david.p.warner, liakdebugs, meven29, nate, n_s_mendoza, plasma-bugs-null, watisthispoo
Priority: NOR    
Version First Reported In: 5.83.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The appearance of the panel with translucency enabled
on other widgets too

Description lia 2021-06-15 06:55:40 UTC
Created attachment 139330 [details]
The appearance of the panel with translucency enabled

When the panel opacity is set to adaptive or translucent, the 6 pixels of the panel furthest from the screen edge always remain opaque. This does not occur on the XRender compositor backend.


STEPS TO REPRODUCE
1. Choose the OpenGL 3.1 or 2.0 compositor rendering backend
1. Add a panel
2. Set the opacity to translucent or adaptive

OBSERVED RESULT
The 6 pixels of the panel furthest from the screen edge always remain opaque

EXPECTED RESULT
The translucent effect should apply to the entire panel

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.38.0
Qt Version: 5.15.2
Comment 1 nttkde 2021-06-15 09:34:24 UTC
I'm seeing this on the panel and its other plasmoids/widgets. It appears on all _outer_ edges (right and top of start menu, left and top of calendar, all edges of a tooltip, right of 'add widgets'), not on edges that are touching screen border / the panel.

I tried disabling Background Contrast and rebooted but that didn't help.

Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3
Kernel Version: 5.4.0-74-generic (64-bit)
Graphics Platform: X11
Graphics Processor: Radeon RX Vega 56 (DRM 3.35.0, 5.4.0-74-generic, LLVM 11.0.0)
OpenGL 3.1 compositor backend
Comment 2 nttkde 2021-06-15 09:39:05 UTC
Created attachment 139336 [details]
on other widgets too
Comment 3 Nate Graham 2021-06-15 21:53:35 UTC
What happens if you clear the cache and restart plasmashell?

`rm ~/.cache/plasma* ; plasmashell --replace &`
Comment 4 nttkde 2021-06-16 10:56:28 UTC
Nice, deleting the cache and restarting seems to have fixed it.
Comment 5 Nate Graham 2021-06-16 13:42:11 UTC
Thanks.
Comment 6 Nataniel 2021-07-17 07:06:17 UTC
Had the same problem, deleting the cache solved the issue :)