[kio] [Bug 319528] KDE should use the XDG "Thumbnail Managing Standard"

Mark markg85 at gmail.com
Fri Jun 28 15:00:03 BST 2013


https://bugs.kde.org/show_bug.cgi?id=319528

Mark <markg85 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED
         Resolution|WONTFIX                     |REMIND

--- Comment #5 from Mark <markg85 at gmail.com> ---
(In reply to comment #4)
> Are you confusing KImageCache and thumbnail cache? They are unrelated, and
> that's why I consider this feature request valid.

Oke, seems i was mixing things up quite massively. I completely mis-read the
bug report (i blame my ipad :p) The reporter was right and i was wrong.

KImageCache is indeed not used for thumbnails. Rather it's used for icon
caching.

But this did left me wondering: "Where are those thumbnails being generated at
the moment?" Since dolphin isn't doing that on it's own:
http://quickgit.kde.org/?p=kde-baseapps.git&a=blob&h=eaaab6bc0529f1f72a2bc81ea3b1cd3729f8280b&hb=cab86c292b530ae52c504124e9c77af96cef7f01&f=dolphin%2Fsrc%2Fkitemviews%2Fkfileitemmodelrolesupdater.cpp
the only caching it seems to rely upon is the PreviewJob cache.

So upon further investigation in PreviewJob it quickly became clear to me that
PreviewJob is managing this. Only not in the .cache folder.

So my earlier statement that KIO is not the place to decide this is false since
PreviewJob is doing this.
Also for my own question where this should be done.. PreiewJob apparently ;)

To conclude:
Currently: ~/.thumbnails is used
Needs to be: ~/.cache/thumbnails

Obviously changing bug report from wontfix to verified and remind. I will take
care of this issue now. I have the tendency to forget bug reports so if you
don't see progress within ~2 weeks, please do remind me! :)

It seems as simple as changing:
    d->thumbRoot = QDir::homePath() + QLatin1String("/.thumbnails/");
to:
    d->thumbRoot = QDir::homePath() + QLatin1String("/.cache/thumbnails/");

> 
> And unless you are willing to discuss format changes with the X Desktop
> Group, we should respect that it mandates PNG files.
> 
> > How is EZ progressing?
> 
> If you mean IZ, no public commits since its announcement, due to lack of
> interest. I had hoped to attract digikam or Krita developers.

Yet another thing i mixed up :( i meant IZ indeed. I hope the interest gets
back in that project since it seems very promising!

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list