1.3: thumbnail cache lost sometimes after changing folder

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
fireattack
Posts: 103
Joined: Sun Nov 10, 2013 8:02 am

1.3: thumbnail cache lost sometimes after changing folder

Post by fireattack »

Unfortunately I don't have a minimum reproducible case, but I always encounter this issue in my use case.


So I have a folder which I used to save my scans (in BMP). I will leave that folder open in XnView MP browser, so I can see all the new images.

After a while, the folder will have batch of images. All with thumbnails already showing, of course.

I sometimes batch rename these files, not sure if it matters.
Now, if I change folder (say, going into a subfolder) and then go back, all the images will somehow re-load its thumbnail.

Please see this example:

Image

This will only happen once for this batch of file. But it will happen again if I scan some new files.

This bug doesn't happen if I just copy and paste files, but it ALWAYS happen if I scan new images.

This is quite annoying, because these files are huge, they took very long to cache.

These are my settings.

Image
Image
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.3: thumbnail cache lost sometimes after changing folder

Post by xnview »

no folder in 'excluded'?
Pierre.
fireattack
Posts: 103
Joined: Sun Nov 10, 2013 8:02 am

Re: 1.3: thumbnail cache lost sometimes after changing folder

Post by fireattack »

Nope, that tab is empty.
User avatar
masterjp
Posts: 471
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: 1.3: thumbnail cache lost sometimes after changing folder

Post by masterjp »

Do you use one instance of XnViewMP or more at the same time?

You can optimize your cache database to get a better performance in thumbnail view.

Try:

Tools menu => settings
=> Catalog => Button Optimize...
Use the following settings:
XnViewMP-cache.png
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XnViewMP 1.8.7 | XN-View 2.52.0 | XnConvert 1.104.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.7
fireattack
Posts: 103
Joined: Sun Nov 10, 2013 8:02 am

Re: 1.3: thumbnail cache lost sometimes after changing folder

Post by fireattack »

It happens with just one instance. But I do sometimes have multiple opening.

I will try cleanup the db and see if it helps.

Also, I recently noticed that sometimes XnView MP just straight up doesn't refresh the file list. Added a new file in the folder, it didn't show even after refresh (F5). I have to leave the current folder and back to have the new files shown.
waverly
Posts: 4
Joined: Fri Jul 08, 2022 6:15 pm

Re: 1.3: thumbnail cache lost sometimes after changing folder

Post by waverly »

fireattack wrote: Wed Oct 19, 2022 5:28 am Also, I recently noticed that sometimes XnView MP just straight up doesn't refresh the file list. Added a new file in the folder, it didn't show even after refresh (F5). I have to leave the current folder and back to have the new files shown.
I experience this bug now as well.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.3: thumbnail cache lost sometimes after changing folder

Post by xnview »

waverly wrote: Thu Nov 24, 2022 7:59 pm I experience this bug now as well.
on all folders?
Pierre.
Post Reply