Bug 418872

Summary: Systemsettings 'Get new symbols' overlay icons are blurry on HiDPI
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: postix <postix>
Component: generalAssignee: Jeremy Whiting <jpwhiting>
Status: RESOLVED LATER    
Severity: minor CC: admin, kdelibs-bugs-null, nate, postix
Priority: NOR    
Version First Reported In: 5.69.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screen recording
Screenshot

Description postix 2020-03-15 13:09:26 UTC
Created attachment 126806 [details]
Screen recording

SUMMARY

The overlays in the 'symbol view' are blurry on a HiDPI.

STEPS TO REPRODUCE
1. Systemsettings
2. Symbols
3. Get New Symbols

OBSERVED RESULT

See screen recording.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1
Kernel Version: 5.5.8-1-MANJARO

ADDITIONAL INFORMATION
Scaling: 1.5
Comment 1 postix 2020-03-15 14:24:09 UTC
Created attachment 126809 [details]
Screenshot

Another example, this time "plasma styles".
Comment 2 Nate Graham 2020-12-01 19:15:12 UTC
This is unavoidable when using a fractional scale factor, I'm afraid. It's just one of those things you have to learn to live with. :)
Comment 3 postix 2020-12-01 19:45:10 UTC
(In reply to Nate Graham from comment #2)
> This is unavoidable when using a fractional scale factor, I'm afraid. It's
> just one of those things you have to learn to live with. :)

What I don't quiet understand is, why many icons look fine, while other's do not on HiDPI with fractional scaling. 

Are those which look fine are in luck so that all "pixel patterns" or vector lengths are multiple of two (in case of 1.5 scaling)?
Comment 4 Nate Graham 2020-12-01 19:59:15 UTC
To be perfectly honest, I'm not sure myself. It may be coincidence that the stroke widths divide cleanly by 1.5, or it could be differences in QtQuick vs QPainter rendering algorithms, or it could be something else entirely.

Sorry I can't be more helpful here. :(