When picking a file(Uploading from Google Chrome for example) using the native KDE file picker, it fails to create a file preview or thumbnail for files larger than 5 MB, said files are fine and are able to be opened on other apps such as Gwenview. Dolphin does show the thumbnail/preview correctly. The problem is when using the file picker dialog. Reproducible: Always Steps to Reproduce: 1.Open an app that uses the native KDE file picker. 2.Navigate to a path or folder with many picture files. 3.Click the "Show thumbnail/Preview" button on the top of the dialog. Actual Results: Thumbnails or previews of image files are shown correctly, but only for files that are smaller than 5 MB. Expected Results: Should show the thumbnails for all image files. I'm using Kubuntu 13.10. For reference I use this JPEG file from Wikipedia: http://upload.wikimedia.org/wikipedia/commons/2/2d/Snake_River_%285mb%29.jpg
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.