[Digikam-devel] Thumbnails

Andi Clemens andi.clemens at gmx.net
Tue May 26 13:33:57 BST 2009


Gilles,

I checked this right again:

1. I removed the .thumbnails folder
2. I open a folder in digiKam and let it generate the thumbs
3. I close digiKam
4. I start digiKam again
5. thumbs are read immediately
6. closing digiKam again
7. Open gwenview
8. display the folder I watched in digiKam before
9. thumbs are generated
10. close gwenview
11. open digiKam
12. THUMBS ARE RE-GENERATED!!

Somehow the thumbnails seems to get invalid after shown in gwenview.
I can confirm this every time.

Andi

On Sunday 24 May 2009 21:48:15 Gilles Caulier wrote:
> Andi,
>
> Duing some rules in digiKam thumbs generator, only Gwenview can use
> digiKam thumbs, not the inverse.
>
> Gilles
>
> 2009/5/24 Andi Clemens <andi.clemens at gmx.net>:
> > Hmm weird.
> > I removed my .thumbnails folder.
> >
> > Then I did this:
> >
> > 1. open gwenview, go into some folder, generate thumbs
> > 2. open digiKam, go into same folder, thumbs are regenerated
> > 3. go into gwenview again, thumbs are regenerated!!!
> > 4. close gwenview, open it again, thumbs are there
> > 5. open digiKam, go into same folder, thumbs are regenerated
> > 6. go into gwenview again, thumbs are regenerated!!!
> >
> > This is weird. Now both application steal each other their thumbs?
> >
> > :D
> >
> > This is a strange behaviour. Need to check if folder size is
> > increasing...
> >
> > Andi
> >
> > On Sunday 24 May 2009 20:06:37 Andi Clemens wrote:
> >> Ok will check this later. Right now I can see that all thumbs seem to be
> >> generated again, maybe because of a different URI.
> >> I will remove my .thumbnails folder this evening, display one folder in
> >> gwenview and then in digiKam.
> >> It should be quite fast in digiKam then...
> >>
> >> Andi
> >>
> >> On Sunday 24 May 2009 16:08:51 Gilles Caulier wrote:
> >> > 2009/5/24 Gilles Caulier <caulier.gilles at gmail.com>:
> >> > > 2009/5/24 Gilles Caulier <caulier.gilles at gmail.com>:
> >> > >> 2009/5/24 Arnd Baecker <arnd.baecker at web.de>:
> >> > >>> On Sat, 23 May 2009, Andi Clemens wrote:
> >> > >>>> Hi,
> >> > >>>>
> >> > >>>> is it possible that our thumbnails are somehow not compatible
> >> > >>>> with dolphin or gwenview?
> >> > >>>
> >> > >>> Maybe this entry
> >> > >>>  https://bugs.kde.org/show_bug.cgi?id=152877
> >> > >>> is of relevance here?
> >> > >>> (Or is this one already solved in svn?)
> >> > >>
> >> > >> I think it's not fixed yet... and i think it's the Andi problem...
> >> > >>
> >> > >> I take a look to compare KDE thumb generator and digikam code...
> >> > >>
> >> > >> Gilles
> >> > >
> >> > > Arnd,
> >> > >
> >> > > Look code here :
> >> > > http://lxr.kde.org/source/extragear/graphics/digikam/libs/threadimag
> >> > >eio /t humbnailcreator.cpp#247
> >> > >
> >> > > uri is a QString. There is no latin conversion to record Uri in text
> >> > > png chunk. so no problem from digiKam code here.
> >> > >
> >> > > BUT, ztxt png text chunk only support latin code from PNG library.
> >> > >
> >> > > http://www.libpng.org/pub/png/spec/iso/index-object.html#11tEXt
> >> > >
> >> > > ONLY itxt png text chunk oly support UTF-8 char encoding, and the
> >> > > method to create itxt png chunk is disable until libpng 1.4.0...
> >> > >
> >> > > http://www.libpng.org/pub/png/spec/iso/index-object.html#11iTXt
> >> > >
> >> > > The question is : how Qt4::Qimage do to record QString in png text
> >> > > chuck ?
> >> >
> >> > It sound like Qt record info as byte array into zTxt chunk. And it's
> >> > work.
> >> >
> >> > Andi, my commit #972293 must fix your problem, at least between
> >> > gwenview and digiKam. Uri is the same now.
> >> > For dolphin, no idea. I can't find right code from
> >> > kdebase::kio-thumbnail loader.
> >> >
> >> > Gilles Caulier
> >> > _______________________________________________
> >> > Digikam-devel mailing list
> >> > Digikam-devel at kde.org
> >> > https://mail.kde.org/mailman/listinfo/digikam-devel
> >>
> >> _______________________________________________
> >> Digikam-devel mailing list
> >> Digikam-devel at kde.org
> >> https://mail.kde.org/mailman/listinfo/digikam-devel
> >
> > _______________________________________________
> > Digikam-devel mailing list
> > Digikam-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/digikam-devel
>
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel




More information about the Digikam-devel mailing list