Categories and ratings information displays non-existent files

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

Moderators: xnview, Dreamer

Post Reply
recman
Posts: 4
Joined: Fri Aug 18, 2023 5:09 am

Categories and ratings information displays non-existent files

Post by recman »

Even if the file with the category set no longer exists, the category information attached to the file deleted outside of xnview seems to remain. (Files that no longer exist are still counted in the catalog search category.)

However, even if I run Settings>Catalog>Maintenance, it is not reflected.

How can I synchronize with the current files (exising or not) status? Do I have to rescan using "Folder Sync" every time?

I have no idea how to do this because there is no explanation of the operation of each Setting menu or the difference in options.
It doesn't seem like there is an explanation of settings anywhere, but why doesn't this software ever try to maintain help?
recman
Posts: 4
Joined: Fri Aug 18, 2023 5:09 am

Re: Help for settings

Post by recman »

It is not only categories that remain with information on nonexistent files, but also ratings and the like.
And they do not disappear even after maintenance is performed.
Example: 1. There are 1000 files with a rating of 1. 2.
2. Delete them from a folder other than xnviewMP (e.g. Explorer) or move them to an unmanaged folder.
3. select rating 1 in catalog search (global, recursive)
4. long loading runs. (During this time, it is displayed with default icons for files that do not exist.

If catalog maintenance is performed after 2., the files disappear after the loading is finished, but during the long loading, the non-existent files are still visible.

When the number of files is huge, such as 500,000 files, it takes a very long time to complete each search>loading.
I would like to do something about this.
recman
Posts: 4
Joined: Fri Aug 18, 2023 5:09 am

Re: Help for settings

Post by recman »

This software is multifunctional and excellent, but this behavior significantly reduces its usefulness.
User avatar
xnview
Author of XnView
Posts: 47119
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Help for settings

Post by xnview »

XnView can't know when a file is deleted outside.
you can use 'Catalog>Sync folders'
Pierre.
User avatar
michel038
XnThusiast
Posts: 1498
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Categories and ratings information displays non-existent files

Post by michel038 »

Good old Picasa used to be able to do just that, by comparing a previous FAT image (or other system allocation table) with the current FAT. It seems that small file search programs are also capable of reading FAT in a second...
This would be a major improvement for XnViewMp, but it requires rigorous (and configurable) management of the monitored folders.
RabidHobbit
Posts: 1
Joined: Wed Jan 07, 2026 3:57 pm

Re: Categories and ratings information displays non-existent files

Post by RabidHobbit »

Forgive me if this is an ignorant suggestion, but XnView seems to "know" that there is no thumbnail data to load for a missing picture in the browser, and it seems to "know" when you press Enter on a picture in the browser that it cannot load the image.

Wouldn't it be possible to have Xnview delete metadata on a case-by-case basis for individual images in either of these circumstances? It would at least be nice to have a setting to enable this kind of functionality.

i.e. Either of these two functions:

1. When XnView is showing image thumbnails is browser, when it finds an image with no thumbnail, it removes from the catalog
2. When the user tries to open a file in the browser (double click or press enter) and it cannot load it, it removes from the catalog
Post Reply