Bug 273226 - Increase preview file size limit
Summary: Increase preview file size limit
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Debian unstable Linux
: NOR wishlist
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 22:27 UTC by Valentyn Pavliuchenko
Modified: 2014-02-06 21:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valentyn Pavliuchenko 2011-05-13 22:27:55 UTC
Version:           unspecified (using KDE 4.6.2) 
OS:                Linux

Please increase default preview file size limit from 5Mb to 15Mb.

The reason is that modern digital still cameras offer higher resolution images that doesn't fit into 5Mb limit (15 megapixel JPEG takes from 6 to 13Mb). Of course user can go to preferences and increase max file size setting, but most of users will just think that dolphin is buggy (never knowing that this is configurable). As hi-res JPEGs are becoming normal IMHO defaults should be adjusted to let common cases work out of the box.

Reproducible: Didn't try
Comment 1 Peter Penz 2012-04-08 14:12:33 UTC
Git commit 918cde3fc21fbeee09edcf3bb4a3d55aba1b40b7 by Peter Penz.
Committed on 08/04/2012 at 16:08.
Pushed by ppenz into branch 'master'.

Ignore maximum size for local files when creating previews

It is up to the plugins to decide what sensible size is required for
creating a preview, this cannot be decided by the user for all
plugins. A maximum size only makes sense for remote files, where
the user implicitely decides how much of the bandwith may be used
for having previews.
FIXED-IN: 4.9.0

M  +3    -2    dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp
M  +2    -1    dolphin/src/panels/information/informationpanelcontent.cpp
M  +8    -33   dolphin/src/settings/general/previewssettingspage.cpp
M  +0    -1    dolphin/src/settings/general/previewssettingspage.h
M  +2    -1    dolphin/src/views/tooltips/tooltipmanager.cpp

http://commits.kde.org/kde-baseapps/918cde3fc21fbeee09edcf3bb4a3d55aba1b40b7
Comment 2 Valentyn Pavliuchenko 2012-04-08 19:37:18 UTC
Thanks!
Comment 3 Peter Albrecht 2013-02-04 21:02:19 UTC
I just upgraded to KDE 4.9.5. Now I can see thumbnail previews of JPG files > 5 MB in the information panel. 

Thanks a lot!

But opening the trash can, the information panel still seems to block previews for images > 5 MB.

Could you, please, fix this limitation, too? 

When you are filtering digiKam images and just deleted 30 bad and accidentally 1 good image, it would be very helpful, to see previews for those deleted images.
Comment 4 richlv 2014-02-06 21:58:40 UTC
could it be that some hardcoded limit is still there ?
i filed bug 330868 about seemingly such a thing