Bug 407300

Summary: Sidebar's Components Icons are blurred when shown without text
Product: [Applications] kontact Reporter: Stefano <gisk+kdebugs>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: montel
Priority: NOR    
Version: 5.10.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot

Description Stefano 2019-05-07 15:00:34 UTC
Created attachment 119895 [details]
Screenshot

SUMMARY
The sidebar's icons looks really bad, enlarged and blurred, when shown without the underlying text.
See included screenshot.

STEPS TO REPRODUCE
1. Right click on kontact's sidebar and change between sizes and with or without text

OBSERVED RESULT
Without text, the icons appears at the wrong size and blurred.

EXPECTED RESULT
The icons should maintain the same size and crispness even when disabling the text labels.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.04
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Comment 1 Christoph Feck 2019-05-21 19:30:47 UTC
Laurent, do you know where the code in Kontact decides the icon sizes for the different sidebar view modes?
Comment 2 Laurent Montel 2019-05-22 05:22:06 UTC
it seems to be here :iconsidepane.cpp in "class Delegate : public QStyledItemDelegate" paint() method