Bug 424587

Summary: Plasma notification pop-ups suffer visual glitches with high DPI scaling
Product: [Plasma] kwin Reporter: Nate Graham <nate>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screensoht
Another Screenshot

Description Nate Graham 2020-07-23 21:36:50 UTC
All KDE software built from git master as of an hour ago.

See attached screenshot. With a high DPI scale factor (tested both 200% and 250%), Plasma notification popups suffer from the following visual glitches:
- The plasmoidheader does not touch the left and right edges of the window
- The corners are sharp and pixelated rather than smooth, rounded, and anti-aliased.
Comment 1 Nate Graham 2020-07-23 21:37:57 UTC
Created attachment 130351 [details]
Screensoht

Attaching a photo from my phone because Spectacle is incapable of taking screenshots on Wayland with proper resolution (Bug 409762), which masks the issue.
Comment 2 Nate Graham 2020-07-23 21:55:49 UTC
The corner glitchiness is masked if the notification appears over a light colored background, but will be visible if it appears over a darker one.
Comment 3 Nicolas Fella 2020-07-23 23:45:42 UTC
Can confirm the corner issue, but the header works fine for me on 2x
Comment 4 Nicolas Fella 2020-07-23 23:46:53 UTC
Created attachment 130354 [details]
Another Screenshot
Comment 5 Nicolas Fella 2020-07-23 23:48:29 UTC
My corners look better too, so I can't confirm either
Comment 6 Nate Graham 2020-07-24 03:11:19 UTC
That's on Wayland with a high DPI screen and ≥200% scaling?
Comment 7 Nicolas Fella 2020-07-24 09:11:43 UTC
yes, Wayland and 2x scaling. I do have a non-scaled one too, but the notification is on the scaled one
Comment 8 Nate Graham 2020-07-25 00:04:42 UTC
Fixed by clearing the plasma SVG cache after changing the scale factor.

Marking as a duplicate of Bug 424615, and will probably be fixed with https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/50.

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