deleting thumbnails

Sven Neumann sven at
Fri Oct 8 02:21:56 EEST 2004


lists at (Olivier) writes:

> for outdated or corrupt thumbnails: delete it
> if the user requests it (for example, there is no thumbnail of
> that size yet), the old thumbnail should stay I think.

The problem is how to decide why the thumbnail has been
recreated. GIMP doesn't know why the user forced it.

> There is no problem to have two thumbnails, as long as they are both
> valid. Think of the following situation:
> 2 programs have different default thumbnail sizes. You first use program #1,
> it creates a thumbnail. Then you use program #2, it wants a larger
> thumbnail, if it would delete the other, program #1 needs to recreate it.

program #1 wouldn't have to recreate. It could display the large
thumbs downscaled. The spec isn't clear if that's the recommended
behaviour but IMO it makes the most sense. The other way around is
more difficult.  An application using the larger thumbsize will
probably want to recreate the thumbnail if it only exists in normal
size.  Should it delete the normal sized thumbnail then?


More information about the xdg mailing list