Bug 379817 - Behaviour change: JPEG image preview scaled to widget size
Summary: Behaviour change: JPEG image preview scaled to widget size
Status: RESOLVED FIXED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: default (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Development Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-14 14:58 UTC by Alex Bikadorov
Modified: 2017-06-13 18:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Dolphin JPEG image preview (151.06 KB, image/png)
2017-05-14 14:58 UTC, Alex Bikadorov
Details

Note You need to log in before you can comment on or make changes to this bug.
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