<table><tr><td style="">broulik created this revision.<br />broulik added reviewers: Frameworks, dfaure, anthonyfieroni, jtamate.<br />Herald added projects: Dolphin, Frameworks.<br />Herald added subscribers: kfm-devel, kde-frameworks-devel.<br />broulik requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D15763">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Otherwise <tt style="background: #ebebeb; font-size: 13px;">PreviewJob</tt> will refuse to re-use cache files generated by the directory thumbnailer.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Noticed that when I had a folder with a PDF in it (which takes a while to generate) that despite the folder thumbnails having generated a cache file, it would not use it when I entered the directory and instead recreate it again.</p>

<p>With this patch the thumbnails generated by the folder thumbnailer are accepted and previews when entering a folder with few files for the first time is noticeably faster. It doesn't change perception a lot when there are many files.</p>

<p>I don't have access to the plugin there so I don't add the version information to it. Not sure this could be a problem? It's a bit annoying that thumbnailer KIO duplicates so much code from the preview job already :/</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R320 KIO Extras</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15763">https://phabricator.kde.org/D15763</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>thumbnail/thumbnail.cpp</div></div></div><br /><div><strong>To: </strong>broulik, Frameworks, dfaure, anthonyfieroni, jtamate<br /><strong>Cc: </strong>kde-frameworks-devel, kfm-devel, feverfew, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp<br /></div>