Bug 379817

Summary: Behaviour change: JPEG image preview scaled to widget size
Product: [Frameworks and Libraries] kio-extras Reporter: Alex Bikadorov <alex.bikadorov>
Component: defaultAssignee: Plasma Development Mailing List <plasma-devel>
Status: RESOLVED FIXED    
Severity: normal CC: a.volkov
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Dolphin JPEG image preview

Description Alex Bikadorov 2017-05-14 14:58:56 UTC
Created attachment 105528 [details]
Dolphin JPEG image preview

Preview images in KImageFilePreview for JPEG files are always scaled to the widget size - no matter how how small the jpeg is. PNGs are not scaled. Dolphin and Krusader are affected. See screenshot.

I tracked it down to thumbnail/jpegcreator and its maybe caused by https://git.reviewboard.kde.org/r/129851/

Version:
KDE Frameworks 5.33.0
kio-extras 17.04.0
Comment 1 Alexander Volkov 2017-05-15 10:34:04 UTC
It should be fixed by https://git.reviewboard.kde.org/r/130129/
Comment 2 Alex Bikadorov 2017-05-15 10:51:47 UTC
Thanks for the fast response. I don't have permission to view the review request.
Comment 3 Christoph Feck 2017-06-02 19:03:52 UTC
Alexander, could you please upload the patch using https://phabricator.kde.org/differential/diff/create/

It is missing from the link in comment #1, and it looks like reviewboard does not work; the review is not even listed at https://git.reviewboard.kde.org/users/volkov/
Comment 4 Alexander Volkov 2017-06-03 09:31:09 UTC
Sorry, I didn't publish it.
Comment 5 Alexander Volkov 2017-06-03 09:32:08 UTC
Try it now https://git.reviewboard.kde.org/r/130129/diff
Comment 6 Christoph Feck 2017-06-13 18:13:11 UTC
Fixed by Alexander Volkov.

https://commits.kde.org/kio-extras/b5e4e830bae2928b54a52fca26c3009e96fe2c56