"Refresh Thumbnails" results corrupted thumbnails with a directory with a huge list
Posted: 19 Feb 2017 16:14
"Refresh Thumbnails" results corrupted thumbnails with a directory with a huge list.
Steps reproduce
1. Have a directories with large number of directories. (34051 directories in my case)
2. Put a jpg file in each sub directories
3. Enable [v] Show folder thumbnails option
4. Set Thumbnails width & Height to 300 x 200 for Size #3
5. Select List view to "Thumbnails #3 (300 x 200)
6. View | Caches | Refresh Thumbnails
Expected results
A thumbnail cache for all files should be created successfully and then all thumbnails shall be loaded from the cache when xyplorer is restarted.
Issue
- Although thumbnail caches get created successfully for about the half of the items, thumbnails start to get corrupted (see picture attached) starting from the beginning of already created thumbnails when refreshing thumbnails approaches to end of list.
- Upon restarting the xyplorer, thumbnail cache file (xxx.dbits file) is reset to zero byte and xyplorer does't load any thumbnail caches. Note I'm not sure when is the exact moment that the cache file gets reset to zero size.
Notes
- It may not directly related to size of thumbnails or may not only happen with Folder thumbnails. Rather it may be a general issue with any thumbnails.
- The Issue may be related to a wrong index with cache thumbnails file or maybe related to the max size of cache file. My guess is because the thumbnails starting from the beginning start to get corrupted after a certain number of thumbnails are created. It looks like no more new thumbnails can be created without invalidating already created thumbnails.
- I can try a beta version or debug build to further troubleshoot or confirm a fix
Steps reproduce
1. Have a directories with large number of directories. (34051 directories in my case)
2. Put a jpg file in each sub directories
3. Enable [v] Show folder thumbnails option
4. Set Thumbnails width & Height to 300 x 200 for Size #3
5. Select List view to "Thumbnails #3 (300 x 200)
6. View | Caches | Refresh Thumbnails
Expected results
A thumbnail cache for all files should be created successfully and then all thumbnails shall be loaded from the cache when xyplorer is restarted.
Issue
- Although thumbnail caches get created successfully for about the half of the items, thumbnails start to get corrupted (see picture attached) starting from the beginning of already created thumbnails when refreshing thumbnails approaches to end of list.
- Upon restarting the xyplorer, thumbnail cache file (xxx.dbits file) is reset to zero byte and xyplorer does't load any thumbnail caches. Note I'm not sure when is the exact moment that the cache file gets reset to zero size.
Notes
- It may not directly related to size of thumbnails or may not only happen with Folder thumbnails. Rather it may be a general issue with any thumbnails.
- The Issue may be related to a wrong index with cache thumbnails file or maybe related to the max size of cache file. My guess is because the thumbnails starting from the beginning start to get corrupted after a certain number of thumbnails are created. It looks like no more new thumbnails can be created without invalidating already created thumbnails.
- I can try a beta version or debug build to further troubleshoot or confirm a fix