Catalog Filter Pane - File count for categories

Ask for help and post your question on how to use XnView MP.

Moderator: xnview

Pepelu
Posts: 20
Joined: Tue Mar 12, 2024 12:50 pm

Catalog Filter Pane - File count for categories

Post by Pepelu »

Hi,

I am using XnView in Linux (Ubuntu) and recently the file count on the categories in the Catalog Filter Pane have disappeared. I am not sure if this was a settings item that I changed, but I am not able to find it if this was so.

So, my question is, how do I get the file count back on the categories filter pane?

Thanks.
User avatar
xnview
Author of XnView
Posts: 47539
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Catalog Filter Pane - File count for categories

Post by xnview »

Now category count following the context (current/recurse/global) in match
Pierre.
Pepelu
Posts: 20
Joined: Tue Mar 12, 2024 12:50 pm

Re: Catalog Filter Pane - File count for categories

Post by Pepelu »

Thanks,

Now I see that I get the count when it is set to global. There is no count for current or recurse, is this correct?
jkm
Posts: 412
Joined: Sat May 11, 2024 12:43 am

Re: Catalog Filter Pane - File count for categories

Post by jkm »

There are counts for current or recurse, but you have to have matching files in that folder for it to be counted, since the number is the count of the current scope. Get it?

If you have the scope set to current directory, the count of your Dogs category will be zero if there are no images tagged Dogs in the current directory. Zero counts are not shown. Tag one file with Dogs, and you will see the count go to 1. Set the scope to Global, and the count for Dogs will be the number of images tagged Dogs in your entire catalog. It's that simple.

Counts do not update instantly when you assign a category; they update when you change the selection - like clicking on a different file, or a different folder.

Just try tagging some files and see what happens. Nothing is wrong with the software. :)

Hopefully this helps...
Pepelu
Posts: 20
Joined: Tue Mar 12, 2024 12:50 pm

Re: Catalog Filter Pane - File count for categories

Post by Pepelu »

Well, it doesn't work for me like you say.

All my pictures are categorized in someway, and i only see a count when the category filter is set to global.

I am not saying that anything is wrong with the software, I think it is a great software, just that I don't see the count on my categories when the selection is current or recurse.

Could it be some sort of "hidden" setting that needs to be set?
jkm wrote: Sun Mar 22, 2026 8:56 am If you have the scope set to current directory, the count of your Dogs category will be zero if there are no images tagged Dogs in the current directory. Zero counts are not shown. Tag one file with Dogs, and you will see the count go to 1. Set the scope to Global, and the count for Dogs will be the number of images tagged Dogs in your entire catalog. It's that simple.
I must be doing something wrong if it is that simple, because it doesn't work for me. I have also tried tagging with a new category, to see if that would work, but it didn't. I have "dogs" in the folder to see if the count for dogs would still be shown in the different configurations. And dogs only show in global.
jkm
Posts: 412
Joined: Sat May 11, 2024 12:43 am

Re: Catalog Filter Pane - File count for categories

Post by jkm »

I'll try and help you get to the bottom of it…

What version of the app are you running? Should be 1.10.5, the latest. If there is a bug, it's something that's affecting Linux not Windows.

I'd try a couple of things:

1. Make sure everything is checked in Settings:Metadata for import/export and update when file is changed.

then
2. Select a few tagged files and do an "Update catalog from files", then change folders and go back in the browser to see if the counts update.
or
3. Select some tagged files and do "Update files from catalog" (yes the opposite of #2). Then outside of xnviewmp, copy those files to a brand new directory.
3. Now browse in XnViewMP to that new directory with the copied files. The app should see them as new files, import them and thumbnail them. Check if it sees the categories.
4. If you don't see any counts in step 3, please post one of the tagged files.

You could also try closing the app, making a backup copy of your XnView.ini, then delete xnview.ini and start the app. It will create a new ini file with defaults. See if you still have the issue then.

I would also recommend you post a single screenshot that shows all of the following:
-Your catalog filter set to current folder, scrolled to the categories and showing missing counts
-Your browser sitting on a folder with tagged images that should show in the count.
-One of those files selected, in the browser
-The categories pane, indicating that the category is in fact applied to the selected image
Pepelu
Posts: 20
Joined: Tue Mar 12, 2024 12:50 pm

Re: Catalog Filter Pane - File count for categories

Post by Pepelu »

This is a test. I am unable to post a reply as the forum asks me to log in again and deletes all that is written.
Last edited by Pepelu on Tue Mar 24, 2026 4:24 pm, edited 1 time in total.
Pepelu
Posts: 20
Joined: Tue Mar 12, 2024 12:50 pm

Re: Catalog Filter Pane - File count for categories

Post by Pepelu »

Screenshot from 2026-03-24 16-57-07.png
Done all that. No luck.

Here is a screen shot. You can see that selecting the tag, in this case Madrid, we can see in the browser the files that have this tag in the current folder, in this case 13 photos. You can also see that there is no count next to the category in the pane. This goes to show that the filter is working fine as it is showing the photos with the correct tag when selected. Just the count number doesn't appear.

If I now select the filter to global, then we see the count, and all the photos in the catalog with this tag, in this case nearly 13K.
Screenshot from 2026-03-24 17-01-50.png
I cannot attach one of the pictures as they are too big for this forum.
Thanks for all your help.

P.s. by the way, I have tried in windows on a new installation of release 1.10.5 and have the same issue.
You do not have the required permissions to view the files attached to this post.