Bug 331242

Summary: preview does not work for images, larger than 3mb
Product: [Unmaintained] kfile Reporter: richlv
Component: kpropertiesdialogAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: flashdoebi.fd8q, nate, tosiara
Priority: NOR    
Version: 4.11.5   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description richlv 2014-02-17 16:25:28 UTC
this is a followup report from bug #330868

there seems to be a hardcoded limit of 3mb which cuts off image previews in file properties, preview tab. for example, if the image is 3106009 bytes, preview is shown, if it's 3230231 bytes - not shown.

images are from the same camera and have the same settings. this has been showing with a fairly large amount of images

for testcase, see http://bugsfiles.kde.org/attachment.cgi?id=85196 (don't want to attach it twice)

this is a companion bug to bug #331240 which is about previews on folder icons

Reproducible: Always
Comment 1 Philipp 2014-03-19 21:26:48 UTC
I can confirm this bug. I use openSuSE 13.1 with KDE 4.11.5. In Dolphin previews of, for example, images with file properties higher than 3 MB work fine. But when I work with Thunderbird and want to attach an image with a file property higher than 3 MB I don't get a preview. I think the default limit on local file preview size of 3 MB like it was in older KDE versions  is in this case still active.
Comment 2 tosiara 2014-11-30 14:16:33 UTC
That issue is in openSUSE since 12.3
To workaround you must specify MaximumSize manually in .kde4/share/config/kdeglobals
Comment 3 Nate Graham 2018-06-15 01:58:55 UTC
The Preview tab is no more; use the Information Panel now, which has no such issues.