Summary: | File picker dialog doensn't show previews/thumbnails of JPEG's larger than 5MB | ||
---|---|---|---|
Product: | [Applications] kfile | Reporter: | Luis L C <soy.1.fauno> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adaptee, mailto.mikes, nate, ripper, tosiara |
Priority: | NOR | Keywords: | investigated |
Version: | 4.10.5 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=325544 | ||
Latest Commit: | Version Fixed In: |
Description
Luis L C
2013-11-25 23:47:22 UTC
should be related : // kdelibs/kio/kio/previewjob.cpp void PreviewJobPrivate::startPreview() { ...... KConfigGroup cg( KGlobal::config(), "PreviewSettings" ); maximumLocalSize = cg.readEntry( "MaximumSize", 5*1024*1024LL /* 5MB */ ); maximumRemoteSize = cg.readEntry( "MaximumRemoteSize", 0 ); ..... } To raise the limit, edit ~/.kde4/share/config/kdegloabls, add/edit : [PreviewSettings] MaximumSize=10485760 You're right. On my system the kdeglobals file is on: ~/.kde/share/config/kdeglobals I edited the lines you said, and the file dialog now displays the previews up to 10 MB which is fine. Thanks! Since the size for local files has been disabled on dophlin (i.e. all files will get a preview if possible, no matter how big it is) I think this should be handled the same in the file chooser dialog. There is no setting in Dolphin (nor in the File dialog) to increase this size, heading down to the config section is not really user friendly :-) There is another issue with similar behaviour. Folder does not show thumbnail of pictures inside if all the pictures are larger than 5MB. Putting "MaximumSize=10485760" into kdeglobals resolves the issue. This issue reproducible in openSUSE 12.3, 13.1 an latest 13.2 To reproduce: 1. create folder 2. put large JPEG into that folder 3. enable "Preview" 4. folder's icon remains default 5. now edit kdeglobals and try Preview again - folder now shows icon of jpeg picture inside *** Bug 375625 has been marked as a duplicate of this bug. *** Works for me out of the box in KDE Frameworks 5.45. |