Summary: | Thumbnails above 5Mb not displayed on directory icon; no GUI to control this | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio-extras | Reporter: | AvelHeol <ph.fondrillon> |
Component: | Thumbnails and previews | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | A.Fettouhi, adaptee, bugseforuns, eddiefullmetal, filipfila.kde, frank78ac, L.Bonnaud, mahen, nate, nugrud, samrog131 |
Priority: | NOR | Keywords: | junior-jobs, usability |
Version: | 18.04.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=331240 https://bugs.kde.org/show_bug.cgi?id=395456 |
||
Latest Commit: | https://commits.kde.org/kio-extras/1b334712ed0fd2d81b4aa1478acca3bd4630948b | Version Fixed In: | 18.12.0 |
Sentry Crash Report: |
Description
AvelHeol
2010-05-24 16:41:09 UTC
I have the same issue on Arch Linux 64 bit with the latest KDE 4.5.4. I can't video thumbnails to appear on folders at all. The thumbnails of the video files themselves are generate fine and show up as expected. since file management is handled by a dolphin kpart in konqueror, this bug ticket needs to be opened against dolphin's part. I do have this bug in my kubuntu 12.04 x86_64 (3.2.0-24-generic), kde 4.8.3, it used to work in opensuse 12.1 Does it ever work ? Should this report be set as wishlist ? This does work and has since KDE SC 4.6, when it was finally fixed. Tested it with KDE 4.6.2 and 4.9.2 (with ffmpegthumbnailer and kffmpegthumbnailer) and it doesn't work (video thumbnails are successfully generated but the folder thumbnail doesn't contain the video thumbnails), so it seems that this was never implemented. Please check: http://www.kubuntuforums.net/showthread.php?58927-Video-thumbnail-not-displayed-on-directory-icon Is this still an issue in KDE 4.10.5 or later? In any case, this is not a Dolphin issue. The directory preview images are generated by the thumbnailers in kde-runtime. Works for me on Arch Linux 64 bit with KDE 4.10.5 using mplayerthumbs. The other video thumbnailer in KDE is ffmpegthumbs. While it requires linking to ffmpeg libraries (which mplayerthumbs elegantly avoids by calling the external binary), I found it to be faster and more reliable. To make both mplayerthumbs and ffmpegthumbs show previews on folders, you have to make sure they are allowed in .kde/share/config/kdeglobals: [PreviewSettings] MaximumSize=1200000000 Plugins=imagethumbnail,jpegthumbnail,videopreview,ffmpegthumbs "videopreview" is for mplayerthumbs. The actual "bug" here is that in thumbnail.cpp the list of default Plugins does not include ffmpegthumbs, but only videopreview. The default size limit of 5 MB might be intended. (In reply to Christoph Feck from comment #10) > The other video thumbnailer in KDE is ffmpegthumbs. While it requires > linking to ffmpeg libraries (which mplayerthumbs elegantly avoids by calling > the external binary), I found it to be faster and more reliable. > > To make both mplayerthumbs and ffmpegthumbs show previews on folders, you > have to make sure they are allowed in .kde/share/config/kdeglobals: > > [PreviewSettings] > MaximumSize=1200000000 > Plugins=imagethumbnail,jpegthumbnail,videopreview,ffmpegthumbs > > "videopreview" is for mplayerthumbs. This workaround is still working with the Dolphin & kio-extras 16.08.0 KF 5.25.0 Qt 5.7.0 More: https://www.kubuntuforums.net/showthread.php?32568-Video-Previews&p=391741&viewfull=1#post391741 Is this still relevant for current Kubuntu and KDE Frameworks versions? It seems to work in part now on my Arch Linux install but only on a select few video files. Working with the Arch Linux, kio-extras: 17.12.3. The folder/directory thumbnailer code (thumbnail.cpp) is part of the kio-extras. -> https://cgit.kde.org/kio-extras.git/tree/thumbnail/thumbnail.cpp (In reply to André Fettouhi from comment #14) > It seems to work in part now on my Arch Linux install but only on a select > few video files. As default the kio-extras - https://cgit.kde.org/kio-extras.git/tree/thumbnail/thumbnail.cpp has line 456: 'm_maxFileSize = globalConfig.readEntry("MaximumSize", qulonglong(5 * 1024 * 1024)); // 5 MByte default'. For the video files the 5 MByte is quite small. By Christoph Feck - https://bugs.kde.org/show_bug.cgi?id=238690#c10 - you could add to the kdeglobals a bigger 'MaximumSize'. With the KF5. Adding to the $HOME/.config/kdeglobals: [PreviewSettings] MaximumSize=52428800000 and more video files are shown, at here, on the top of the folder icon. Hmm, I see video previews for all my videos without having that setting set in kdeglobals. Since the original issue is resolved, let's track the remaining issue in a new bug. Thanks all! Re-opening, since we got another report in Bug 394269. *** Bug 394269 has been marked as a duplicate of this bug. *** *** Bug 395456 has been marked as a duplicate of this bug. *** Git commit 1b334712ed0fd2d81b4aa1478acca3bd4630948b by Kai Uwe Broulik. Committed on 10/10/2018 at 13:58. Pushed by broulik into branch 'master'. Use correct MaximumSize The maximum size for local thumbnails was raised from 5 MB to unlimited elsewhere. Differential Revision: https://phabricator.kde.org/D15741 M +2 -1 thumbnail/thumbnail.cpp https://commits.kde.org/kio-extras/1b334712ed0fd2d81b4aa1478acca3bd4630948b |