List autorefreshing in thumbnails view, under special circumstances
-
Borut
- Posts: 1472
- Joined: 19 Oct 2010 19:29
- Location: Win10 Pro 64b 22H2, @120DPI (125%)
List autorefreshing in thumbnails view, under special circumstances
Recently I have been (re)organizing thousands of photos (2+ years). While doing this, I specifically decided to switch OFF "Cache thumbnails on disk". In the list I have images in thumbnails view. In tree I am renaming folder names, one by one, according to the respective images content which I see in the list. Autorefresh is on. While doing this I noticed that - after folder being renamed in tree - the thumbnails apparently disappear, instead of being regenerated automagically. An explicit Refresh, or Refresh List, regenerates the thumbnails. Maybe I here had a too high expectation. On the other hand, maybe it is a kind of a simple omission that would be easy to change.
Win 10 Pro 64bit
-
klownboy
- Posts: 4459
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440
Re: List autorefreshing in thumbnails view, under special circumstances
Hi Borut, have you looked at SC ThumbscacheRename
I also thought at one time Don mentioned that simple renaming was automatic as far as XYplorer recognizing the folder name change in the thumbnail cache, but maybe there's an issue since taking the dat2 files to ini files.
EDIT: I did confirm the following:
- generated new thumbs for a folder full of jpgs (and confirmed in the thumbnail cache files)
- renamed that folder in the tree
- the thumbnails were regenerated in the list panel after the rename.
- though since the cache file name is in part generated from the folder name and thumbnail size, that would be expected. New cache file combination of dbits and ini files is generated.
I used SC thumbscacherename as a maintenance menu item in the Thumbnail Maintenance script here viewtopic.php?p=204361#p204361, but it's been an awful long time. Who knows if it works.thumbscacherename()
Updates a renamed or moved path in the thumbnails cache.
I also thought at one time Don mentioned that simple renaming was automatic as far as XYplorer recognizing the folder name change in the thumbnail cache, but maybe there's an issue since taking the dat2 files to ini files.
EDIT: I did confirm the following:
- generated new thumbs for a folder full of jpgs (and confirmed in the thumbnail cache files)
- renamed that folder in the tree
- the thumbnails were regenerated in the list panel after the rename.
- though since the cache file name is in part generated from the folder name and thumbnail size, that would be expected. New cache file combination of dbits and ini files is generated.
-
admin
- Site Admin
- Posts: 66092
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: List autorefreshing in thumbnails view, under special circumstances
Can't confirm. Did you rename the current folder while the thumbnails were displayed? This will not trigger a rebuild.
FAQ | XY News RSS | XY X
-
klownboy
- Posts: 4459
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440
Re: List autorefreshing in thumbnails view, under special circumstances
I did it again to refresh my memory. After renaming the folder in the tree, I only did a "normal" refresh (F5), and the thumbnails were rebuilt. Now I have 3 sets of thumbnail cache files (ini and dbits) in my thumbnail cache folder for each of the twice renamed folder. Agent downloads, Agent DLs, and Agent ME.
Obviously, based on the way it works as far as the hash filename, XY would have to generate a new cache file combo files ini and dbits. So, I suppose that's alright and to be expected unless you were to take XYplorer a step further and auto deleted the "old" renamed cache file combo. Or, the contents of the original dbits file is automatically used for a newly renamed dbits file to save rebuilding the cache. But of course, the ini also has to be updated to reflect the folder name change.
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: List autorefreshing in thumbnails view, under special circumstances
Unsure why the mention of thumbcacherename and dbits/ini, the OP was talking about the cache being turned off.
-
admin
- Site Admin
- Posts: 66092
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: List autorefreshing in thumbnails view, under special circumstances
Oh, I somehow managed to overlook that as well. Yes, I can confirm that the thumbs disappear! Gonna fix...
FAQ | XY News RSS | XY X
-
klownboy
- Posts: 4459
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440
Re: List autorefreshing in thumbnails view, under special circumstances
Yes, Sorry I missed the most obvious and up front condition on Borut's post. That was a wasted answer...
Just curious Don, how do you manage those thumbnails when the cache is turned off? Are they in a temp condition in memory or written to disk temporarily and gone after closing XYplorer?
-
admin
- Site Admin
- Posts: 66092
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: List autorefreshing in thumbnails view, under special circumstances
It's streamed to disk to handle industrial-sized amounts of data without blowing up RAM. I just fixed a bug concerning the "gone after closing XYplorer" part. They were not always gone, which could cause problems later. The next version should handle this better.klownboy wrote: ↑17 Jun 2024 12:05Yes, Sorry I missed the most obvious and up front condition on Borut's post. That was a wasted answer...
Just curious Don, how do you manage those thumbnails when the cache is turned off? Are they in a temp condition in memory or written to disk temporarily and gone after closing XYplorer?
FAQ | XY News RSS | XY X
-
Borut
- Posts: 1472
- Joined: 19 Oct 2010 19:29
- Location: Win10 Pro 64b 22H2, @120DPI (125%)
Re: List autorefreshing in thumbnails view, under special circumstances
Don, many thanks for this fast implementation of my wish.
In the newest beta - v26.10.0106 - it is working like a charm and the thumbnails survive a folder rename without even blinking at me.
This is really great, since hundreds of folders are to still to be checked/renamed at my place. Much better experience now! Have a nice day! 
Win 10 Pro 64bit
XYplorer Beta Club