easymodo / qimgv

Image viewer. Fast, easy to use. Optional video support.
GNU General Public License v3.0
2.45k stars 170 forks source link

Load thumbnails ahead of time in folder view #260

Open archiif opened 4 years ago

archiif commented 4 years ago

Right now, thumbnails are only loaded as you scroll through the folder in folder view. I think it would be better if it continuously loads the thumbnails of all the images in the folder regardless of scroll position. This would make browsing through large folders much faster. Also, another thing I noticed is that it seems to unload some thumbnails beyond the window boundary once you leave it to idle for a short while, forcing some thumbnails to reload once you start to scroll again. Not really sure if this a thing, but if it is maybe an option to turn this behavior off would also be useful.

easymodo commented 4 years ago

Hi, Are you using stable release or the dev branch? On the dev one there's currently a qt crash workaround that makes thumb generation slower. When qt 5.15.2 releases i'll revert it

Not really sure if this a thing, but if it is maybe an option to turn this behavior off would also be useful.

Yes i could add this, no problem

I think it would be better if it continuously loads the thumbnails of all the images

Gwenview does this. It's really bad. Here's a folder with ~4k images opened in both programs

image

not to mention it was lagging for like 2 minutes

archiif commented 4 years ago

I'm using the stable branch. Huh didn't know it could perform that badly. Were the images really high res? ACDSee, FastStone and XnView MP does the same thing, but it's usually never really that bad. Unfortunately, they're all proprietary.