Bug 407690

Summary: Preview of some window decorations is badly rendered when fractional display scale is used
Product: [Plasma] kwin Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: nate
Priority: NOR    
Version: 5.93.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot
screenshot taken on Plasma 5.18

Description Patrick Silva 2019-05-18 14:11:28 UTC
STEPS TO REPRODUCE
1. open system settings > display and monitor > "Scale display" button and set display scale factor to 1.2
2. restart plasma
3. open system settings > application style > window decorations

OBSERVED RESULT
See the attached screenshot. Preview of the window decorations looks blurry,
"Plastik" is misplaced/ureadable and has badly rendered fonts, "Formvolvere"
has badly rendered fonts.

EXPECTED RESULT
previews are not blurry, all fonts are rendered correctly.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.15.90
KDE Frameworks Version: 5.58.0
Qt Version: 5.13.0 beta3
Comment 1 Patrick Silva 2019-05-18 14:11:59 UTC
Created attachment 120168 [details]
screenshot
Comment 2 Nate Graham 2019-05-21 18:51:03 UTC
Can reproduce.
Comment 3 Patrick Silva 2020-02-11 15:27:45 UTC
Created attachment 125848 [details]
screenshot taken on Plasma 5.18

Situation is better on Plasma 5.18. But previews are still pixelated/blurry with display scale set to 125%.

Operating System: Arch Linux 
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Comment 4 Patrick Silva 2021-01-24 18:42:23 UTC
it's still reproducible with display scale 125% on X11 session.

Operating System: Arch Linux
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 5 Patrick Silva 2024-02-03 15:25:45 UTC
The buttons of Plastik and Oxygen look fuzzy on Plasma 6 RC2.

Operating System: Arch Linux 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Graphics Platform: X11