deleting thumbnails

Olivier lists at
Sun Oct 10 22:23:31 EEST 2004

On Fri, Oct 08, 2004 at 01:21:56AM +0200, Sven Neumann wrote:
> Hi,
> 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?


I'll update the spec:

if the user specifically requests the thumbnail to be updated, the program
should delete all thumbnails, and re-create only the thumbnails that the
program itself wishes to use.


More information about the xdg mailing list