Page 1 of 2
Folder thumbnails persist after images are deleted
Posted: Tue Jul 26, 2022 12:43 am
by lphilpot
XnView MP (Windows 11)
Version 1.0 64bits (Apr 28 2022)
Libformat version 7.110
I deleted some images, you can see the folder is empty:
But the thumbnails still show, after Refresh, after restart, even after a reboot. The only way I can get them to update (disappear) is to rebuild thumbnails for that branch of the folder tree.
Thanks.
Re: Folder thumbnails persist after images are deleted
Posted: Wed Jul 27, 2022 7:34 am
by xnview
selecting the folder and View>Refresh doesn't update it? I can't detect folder change...
Re: Folder thumbnails persist after images are deleted
Posted: Wed Jul 27, 2022 10:55 am
by lphilpot
No, refreshing doesn't remove the previews of the deleted images.
Thanks.
Re: Folder thumbnails persist after images are deleted
Posted: Wed Jul 27, 2022 11:49 am
by xnview
i've just tried on Win 10, and it works
Re: Folder thumbnails persist after images are deleted
Posted: Wed Jul 27, 2022 1:56 pm
by lphilpot
Just tried again on Windows 11 -
1. Select the folder with the "phantom" previews
2. Select View | Refresh (or press F5)
3. Previews still show
This is consistent with how it's been for weeks. These are local folders and it's not just them. I've seen it happen with other folders, both local and on my NAS. If I go to Settings | Catalog | Catalog, then select that folder, click Optimize and enable Purge all Thumbnails, it will remove them. I think I was once able to remove them by rebuilding all thumbnails, but that's pretty extreme.
Re: Folder thumbnails persist after images are deleted
Posted: Thu Jul 28, 2022 5:41 am
by masterjp
To refresh the thumbnails of folder you can do the following steps:
1. Select the folder or all folders with the wrong thumbnail(s)
2. Open menu 'view'
3. Select 'rebuild thumbnails'
After that, everything is fine.
Re: Folder thumbnails persist after images are deleted
Posted: Thu Jul 28, 2022 11:03 am
by lphilpot
True, but not practical. I have hundreds of folders and tens of thousands of images. I shouldn't have to manually find, select and rebuild the incorrect ones repeatedly. I've done that in the past off and on but it's not viable ongoing. It's also pretty slow.
Re: Folder thumbnails persist after images are deleted
Posted: Thu Jul 28, 2022 6:46 pm
by masterjp
I agree with you. I want to show you a workaround only.
Re: Folder thumbnails persist after images are deleted
Posted: Thu Jul 28, 2022 7:24 pm
by lphilpot
Understood - Thanks.
Re: Folder thumbnails persist after images are deleted
Posted: Sun Jul 31, 2022 11:02 am
by xnview
lphilpot wrote: Thu Jul 28, 2022 11:03 am
True, but not practical. I have hundreds of folders and tens of thousands of images. I shouldn't have to manually find, select and rebuild the incorrect ones repeatedly. I've done that in the past off and on but it's not viable ongoing. It's also pretty slow.
What will be better?
Re: Folder thumbnails persist after images are deleted
Posted: Sun Jul 31, 2022 12:12 pm
by lphilpot
Ideally when XNview reads a folder and it doesn't match what's previewed, update the thumbnails. But that may not be feasible. If not, update them when implicitly or explicitly refreshed. Would that work?
Re: Folder thumbnails persist after images are deleted
Posted: Wed Aug 03, 2022 8:11 am
by xnview
lphilpot wrote: Sun Jul 31, 2022 12:12 pm
Ideally when XNview reads a folder and it doesn't match what's previewed, update the thumbnails. But that may not be feasible. If not, update them when implicitly or explicitly refreshed. Would that work?
i have no way to detect that folder has changed, the only way is to manually use 'Refresh'
Re: Folder thumbnails persist after images are deleted
Posted: Wed Aug 03, 2022 10:59 am
by lphilpot
Short of somehow hooking into filesystem events that makes sense. But right now for me, refresh doesn't update it.
Thanks.
Re: Folder thumbnails persist after images are deleted
Posted: Thu Aug 04, 2022 9:11 am
by xnview
this doesn't work?
1. Select the folder or all folders with the wrong thumbnail(s)
2. Open menu 'view'
3. Select 'rebuild thumbnails'
Re: Folder thumbnails persist after images are deleted
Posted: Thu Aug 04, 2022 11:00 am
by lphilpot
Yes, but it takes a while. Pressing F5 or selecting Refresh doesn't work.