[KPhotoAlbum] Thumbnails for images not on the disk disappear

Risto H. Kurppa risto at kurppa.fi
Thu Oct 9 11:47:23 CEST 2008

On Thu, Oct 9, 2008 at 12:00 PM, Martin Höller <martin at xss.co.at> wrote:
>> > Might this be the problem? Why do you delete thumbs?
>> Because we remove the original file.
> Deleting the original file is exactly what one does when he archives images,
> isn't it? And that's what the original problem is.

If an image is in the database, the thumb will not be deleted (if
there's space for it around). This is also the case when the image
file itself is not around.
If an image is removed from the database, the thumb will be removed
too. This happens only when a user selects an image and deletes it
using KPA. Of course a thumb can be deleted (automatically) also when
the cache max size is reached.

I don't know what's the logic to remove the files from a full thumbs
cache: oldest first, I guess?

>> > Other applications might eventually do them same.
>> In the kde4 branch, we've switched to a new way of thumbnail storage;
>> now we use another format, which is a bit more space hungry, but a lot
>> faster.
> I followed the discussion on this list about that some weeks ago but don't
> no details. Wasn't it  just about using a different format but still
> following the recommendations about storing thumbs in .thumbails?

Yes, stored there but in different format so as far as I know, no
other programs will use, touch or delete these thumbs.


| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

More information about the KPhotoAlbum mailing list