Bug 429057

Summary: Corners of notifications, OSDs and systray popups have a small shadow glitch on Wayland after switching from the X11 session
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alex765, butirsky, edarocha1324, i, kde, nate, nicolas.fella, plasma-bugs, tromzy
Priority: HI Keywords: wayland
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: volume OSD
Notification
popup of plasma-pa applet
screenshot
Notification corners have white pixels

Description Patrick Silva 2020-11-13 12:19:23 UTC
Created attachment 133297 [details]
volume OSD

SUMMARY
Please see the attached screenshots showing the glitch highlighted in red.
It does not occur all the time, I do not know specific steps to reproduce yet.

EXPECTED RESULT
no glitch

SOFTWARE/OS VERSIONS
WOperating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
Comment 1 Patrick Silva 2020-11-13 12:19:44 UTC
Created attachment 133298 [details]
Notification
Comment 2 Nate Graham 2020-11-13 18:55:41 UTC
can you run:

rm ~/.cache/plasma*

plasmashell --replace

and see if that fixes it?
Comment 3 Patrick Silva 2020-11-14 12:46:17 UTC
I reinstalled my system 2 days ago and the previous installation had the same bug,
then I don't think that this bug is related to cache. But I will follow your instructions when
the bug to occur again.
Comment 4 Patrick Silva 2020-11-20 11:54:52 UTC
The bug is less noticeable after your commands.
However, after re-login I get exactly the same result shown in my screenshot.
Comment 5 Patrick Silva 2020-11-20 12:43:29 UTC
Arch Linux is also affected.

Operating System: Arch Linux
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Comment 6 Nate Graham 2020-11-20 14:58:10 UTC
How odd. Thanks for testing.
Comment 7 Nate Graham 2020-11-20 18:02:28 UTC
Cannot reproduce FWIW.
Comment 8 Patrick Silva 2021-01-24 15:23:59 UTC
Created attachment 135130 [details]
popup of plasma-pa applet

Plasma 5.21 beta is also affected on Arch Linux.
See the attached showing popup of plasma-pa applet.

Operating System: Arch Linux
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 9 Nicolas Fella 2021-01-29 08:56:44 UTC
*** Bug 431761 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2021-03-20 02:52:53 UTC
Are you using a scale factor of any sort and switching between the Wayland and X11 sessions? If so I suspect you're hitting Bug 396791. I am, and I can sort of reproduce this bug sometimes.
Comment 11 Patrick Silva 2021-03-20 11:33:43 UTC
I use display scale 100%.
I can reproduce switching between X11 and Wayland sessions.
Comment 12 Nate Graham 2021-03-20 15:27:14 UTC
OK, if you're not changing the scale between Wayland and X11, then it's probably not that exact issue. Perhaps something related though.
Comment 13 Patrick Silva 2021-05-15 14:15:58 UTC
Created attachment 138460 [details]
screenshot

This bug gets worse with third-party Plasma style.
The attached screenshot shows Layan Plasma style on neon unstable.
Comment 14 Nate Graham 2021-06-14 19:33:02 UTC
Cannot reproduce anymore with current git master. Is anyone else able to reproduce?
Comment 15 Patrick Silva 2021-06-15 02:56:03 UTC
bug persists on my neon unstable.
Comment 16 Nate Graham 2021-06-16 16:45:41 UTC
*** Bug 438723 has been marked as a duplicate of this bug. ***
Comment 17 Nate Graham 2021-06-16 16:59:48 UTC
*** Bug 438696 has been marked as a duplicate of this bug. ***
Comment 18 Guo Yunhe 2021-08-09 14:35:41 UTC
Created attachment 140609 [details]
Notification corners have white pixels

I have a slightly different issue but maybe they are related. When I use Breeze Dark theme, switching from Wayland to X, I see white artifacts around the corners of popups and notifications.
Comment 19 Patrick Silva 2021-08-09 15:42:59 UTC
(In reply to Guo Yunhe from comment #18)
> Created attachment 140609 [details]
> Notification corners have white pixels
> 
> I have a slightly different issue but maybe they are related. When I use
> Breeze Dark theme, switching from Wayland to X, I see white artifacts around
> the corners of popups and notifications.

reported as bug 438644
Comment 20 Nate Graham 2021-08-31 21:22:58 UTC
I can no longer reproduce this particular issue. It has been replaced with Bug 439408 and Bug 438644.

Can anyone confirm? 

Actually maybe this is simply an earlier manifestation of Bug 439408...
Comment 21 Patrick Silva 2021-09-01 10:52:29 UTC
volume and brightness OSDs are still affected.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 22 Nate Graham 2021-09-01 14:11:07 UTC
Looking more closely, this is actually the same as Bug 439408. Forward-duping since that one has more info and is being actively investigated.

*** This bug has been marked as a duplicate of bug 439408 ***