Bug 412086

Summary: Several Standalone KCMs have badly rendered fonts with fractional display scaling on Wayland until their windows are resized
Product: [Applications] systemsettings Reporter: Patrick Silva <bugseforuns>
Component: kcmshellAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, subdiff
Priority: NOR    
Version First Reported In: 5.17.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2019-09-19 21:33:01 UTC
SUMMARY
After I enable fractional display scaling (1.2 factor) on Wayland, several standalone KCMs have badly rendered fonts. This problem disappears after I resize the affected KCM window manually by dragging any of its border. The following KCMs are affected on my system:
display configuration
global theme
plasma style
colors
fonts
icons
cursors
general behavior
desktop effects
virtual desktops
splash screen
notifications
language
launch feedback
mouse
night color
audio
thunderbolt

STEPS TO REPRODUCE
1.  set fractional display scaling on Wayland (I use 1.2 scale factor)
2. open any mentioned above KCM via the apps launcher or krunner
3. 

OBSERVED RESULT
the KCM has badly rendered fonts

EXPECTED RESULT
fonts are correctly rendered

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.16.90
KDE Frameworks Version: 5.62.0
Qt Version: 5.13.1
Comment 1 Patrick Silva 2019-09-19 21:56:08 UTC
Maximizing the KCMs windows also fix the fonts rendering.
Comment 2 Patrick Silva 2021-01-24 19:08:47 UTC
I can't reproduce with display scale 125% and mentioned above KCMs launched via
"kcmshell5 <kcm name>".

Operating System: Arch Linux
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2