! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Anomaly of behaviour when used on /home/my-name/.thumbnails/
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Ristretto
Component:
Application

Comments

Description pfluckiger 2008-05-31 00:56:01 CEST
Ristretto 0.0.18
a quirk or a bug?
running Xubuntu Hardy with xfce on Compaq EN Celeron 850

I have come across the following anomaly:

Using Ristretto to open /home/my-name/.thumbnails/normal and then look at the thumbnails [of thumbnails] initially causes all the files found to be duplicated back into /home/my-name/.thumbnails/normal. 
i.e. if there were originally x number of files, that will double to 2x. 
The files newly created have a different 'name' e.g. file:///home/my-name/.thumbnails/normal/5cf9c58f655e8e8b06f045386a45a6e6.png.

Now quit Ristretto, open it again and repeat as above.

What will happen is that again the original x number of files are added into the /home/my-name/.thumbnails/normal folder, making it to now contain 3x number of files. [assuming no other folders containing images were opened in between the first and the second use of Ristretto]

If /home/my-name/.thumbnails/normal initially contains a large number of files [which may well be the case], then the REPEATED use of Ristretto to look at them, will rapidly [and unnecessarily I guess] increase/inflate the size of the folder.

I guess it might be argued that not many users would use Ristretto to access files in the /home/my-name/.thumbnails directory. ;)

I have used gThumb to try and replicate what Ristretto does to /home/my-name/.thumbnails/normal. 
The result was negative, gThumb does NOT cause the duplication I have observed when using Ristretto.
As a further test I used XnView [through Wine], again the result was negative, as with gThumb.
Comment 1 Stephan Arts editbugs 2008-05-31 06:51:55 CEST
Fixed in SVN last night

Bug #4124

Reported by:
pfluckiger
Reported on: 2008-05-31
Last modified on: 2009-07-14

People

Assignee:
Stephan Arts
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information