Bug 331242 - preview does not work for images, larger than 3mb
Summary: preview does not work for images, larger than 3mb
Status: RESOLVED NOT A BUG
Alias: None
Product: kfile
Classification: Unmaintained
Component: kpropertiesdialog (show other bugs)
Version: 4.11.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-17 16:25 UTC by richlv
Modified: 2018-06-15 01:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

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