Bug 407134

Summary: Some icons look pixelated when fractional display scaling is used
Product: [Applications] dragonplayer Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED FIXED    
Severity: normal CC: myriam
Priority: NOR    
Version First Reported In: 19.04   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 19.04.1
Sentry Crash Report:
Attachments: screenshot1
screenshot2
screenshot3
screenshot4

Description Patrick Silva 2019-05-01 20:58:04 UTC
Created attachment 119779 [details]
screenshot1

STEPS TO REPRODUCE
1. open system settings > display and monitor > scale display, set display scaling factor to 1.2 and restart plasma
2. open dragon and observe its icons
3. 

OBSERVED RESULT
Some icons look pixelated. See the attached screenshots please.

EXPECTED RESULT
all icons look crisp

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.13.0 beta3
Comment 1 Patrick Silva 2019-05-01 20:58:21 UTC
Created attachment 119780 [details]
screenshot2
Comment 2 Patrick Silva 2019-05-01 20:58:35 UTC
Created attachment 119781 [details]
screenshot3
Comment 3 Patrick Silva 2019-05-01 20:59:00 UTC
Created attachment 119782 [details]
screenshot4
Comment 4 Harald Sitter 2019-05-02 12:05:44 UTC
Git commit 45a68ef44acad7ef0988fc0b040e5cf693b5ba53 by Harald Sitter.
Committed on 02/05/2019 at 12:05.
Pushed by sitter into branch 'Applications/19.04'.

Enable high-dpi pixmaps to ensure icons look correct with high-dpi scaling

This should work properly as-is, the only custom pixmap logic we seem to
have is in the block analyzer and that all runs through qpainter and is
correctly adjusted for devicepixelratio.
FIXED-IN: 19.04.1

M  +1    -0    src/app/main.cpp

https://commits.kde.org/dragon/45a68ef44acad7ef0988fc0b040e5cf693b5ba53