Thumbnails cached even with option disabled

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Thumbnails cached even with option disabled

Post by peterbonge »

I've noticed that with the last few betas the thumbnails get cached even if the cache option is disabled.
If I exit the app the *.dat2 and *.dbits files get deleted, but the XYThumbs.txt remains.
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

admin
Site Admin
Posts: 66294
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Thumbnails cached even with option disabled

Post by admin »

Whoops, right. Fix comes. (I does not do any harm though.)

peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Re: Thumbnails cached even with option disabled

Post by peterbonge »

Thanks for the really fast fix for the XYThumbs.txt, but there are still files created in the thumbnails folder.
I know that they get deleted if I exit the app, but if I disable the cache option (and thus I am unable to change the location) I expect that no files are written.
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

admin
Site Admin
Posts: 66294
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Thumbnails cached even with option disabled

Post by admin »

This is part of the new way. Essential.

peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Re: Thumbnails cached even with option disabled

Post by peterbonge »

OK, but then the options are misleading.

Maybe "Cache thumbnails on disk" should be renamed to "Keep cache on exit" and the folder setting should always be available.
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

admin
Site Admin
Posts: 66294
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Thumbnails cached even with option disabled

Post by admin »

Not worth getting 18 translators out of bed for.

peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Re: Thumbnails cached even with option disabled

Post by peterbonge »

I did not mean immediately. Maybe for the next release version.
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Re: Thumbnails cached even with option disabled

Post by peterbonge »

I've just noticed that the thumbnails folder is slowly growing.
The app doesn't always delete the files at exit. At least it doesn't always delete all files like the clear button in the settings. Sometimes it seems that only a few files get deleted.
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

klownboy
Posts: 4459
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440

Re: Thumbnails cached even with option disabled

Post by klownboy »

Hi Peter, are you noting what is happening when you "don't" have "cache thumbnails selected"? I thought Don's intent was to wipe the thumbnail folder completely on exit including thumbnail.txt file. I ask because even if you "do" cache thumbnails, when you delete a folder of images or delete the images in the folder, the associated thumbnail files "dat"2 and "dbit" will remain in the thumbnails folder. If you delete some files in the image folder, move images or even rename images those associated thumbnails remain in the cache files. The only thing that will properly update and slim down a particular image folder's thumbnail cache is to run Refresh Thumbnails on your image folder or run cid "::#501;" from the Address Bar. Even that will not take care of the deleted folders or all files deleted in a folder circumstances.Take a look at this thread http://www.xyplorer.com/xyfc/viewtopic. ... 257#p90931 and the script if you cache thumbnails and want to take care of the issues mentioned above.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Thumbnails cached even with option disabled

Post by TheQwerty »

peterbonge wrote:I've just noticed that the thumbnails folder is slowly growing.
The app doesn't always delete the files at exit. At least it doesn't always delete all files like the clear button in the settings. Sometimes it seems that only a few files get deleted.
What file types are you seeing?

Some quick testing here showed that occasionally the dbit files don't get deleted, but XYThumbs.txt and the dat2 all seem to be cleaned up correctly here.

klownboy
Posts: 4459
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440

Re: Thumbnails cached even with option disabled

Post by klownboy »

TheQwerty wrote:What file types are you seeing?
I'm not sure why Don wouldn't simply wipe the folder clean on exit if one has the "Cache Thumbnails on Disk" option de-selected.

Obviously, it's the "dat2" files that are "healthy" ones.

peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Re: Thumbnails cached even with option disabled

Post by peterbonge »

klownboy wrote:Hi Peter, are you noting what is happening when you "don't" have "cache thumbnails selected"? I thought Don's intent was to wipe the thumbnail folder completely on exit including thumbnail.txt file. ...
Yes, I have caching disabled.

Yesterday after exiting the app the folder contained 16 *.dbits files with a size of about 3.3 MB.
All other file types always get deleted.
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

peterbonge
Posts: 363
Joined: 25 May 2004 21:53

Re: Thumbnails cached even with option disabled

Post by peterbonge »

peterbonge wrote:Yesterday after exiting the app the folder contained 16 *.dbits files with a size of about 3.3 MB.
On that day I've cleared the cache and now I have checked the folder again: 43 files with 11.69 MB...
Regards,
Peter Bonge

My System:
Windows 11 Pro, 64-bit, German

Post Reply