Caching Thumbnailing

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

soulky
Posts: 133
Joined: Tue Dec 06, 2011 9:20 am

Caching Thumbnailing

Post by soulky »

There are a log of issues here. I think it should be reworked completel.
Some issues:
- Although thumbnailing has completed, number of thumnails in cache is different from number of files eligible for thumbnailing in folder.
- When deleting 1 file from a thumbnailed folder or a folder where thumbnailing is in progress, the thumbnailing starts again at 0%.
- "Optimizing" cache results in deletion of all thumbnails
- Improve speed.

It is probably good for small folders. But i wish you would test it yourself with large numbers of files in folders (video files) and then try to use MP with it, then you will see a lot of troubles with it.
User avatar
xnview
Author of XnView
Posts: 45274
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Caching Thumbnailing

Post by xnview »

soulky wrote:- Although thumbnailing has completed, number of thumnails in cache is different from number of files eligible for thumbnailing in folder.
Database store all files, not only thumbnails
- When deleting 1 file from a thumbnailed folder or a folder where thumbnailing is in progress, the thumbnailing starts again at 0%.
Strange, do you use 'Thumbnail/create for whole folder'?
- "Optimizing" cache results in deletion of all thumbnails
Not finished
- Improve speed.
Loading? Creating?
Pierre.
soulky
Posts: 133
Joined: Tue Dec 06, 2011 9:20 am

Re: Caching Thumbnailing

Post by soulky »

xnview wrote:
soulky wrote:- Although thumbnailing has completed, number of thumnails in cache is different from number of files eligible for thumbnailing in folder.
Database store all files, not only thumbnails
It is weird though: Folder has 40000 files in it. All of them thumbnailing files. MP database reports 39970 created thumbnails.
So it has less thumbnailed files in database than files in the folder.
xnview wrote:
soulky wrote: - When deleting 1 file from a thumbnailed folder or a folder where thumbnailing is in progress, the thumbnailing starts again at 0%.
Strange, do you use 'Thumbnail/create for whole folder'?
Create whole folder.
xnview wrote:
soulky wrote: - Improve speed.
Loading? Creating?
- Initial loading
- Loading while scrolling
- Creating while scrolling
- Creating whole folder