Page 1 of 2

1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Sat Jan 06, 2024 1:35 pm
by xley
Been using the "Catalog" facility for many years, so been adding categories to photographs whenever they are ingested.

Can display a specific category via the "Catalog filter" to show its categorised images.

Then select a specific recent photo, and can see its allocated Categories via the "Categories" pane.

However when selecting older photos (it seems before about Sep2019) their categories are not shown. So even though they are displayed via the "Catalog filter" their related categories are not shown.

Operating system: macOS Monterey 12.7.2
XnViewMP version: 1.6.3 64-bit (MacOSX) - Libformat 7.167

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Sun Jan 07, 2024 3:31 am
by xley
I did export the XML list of categories via "Categories" pane, menu dropdown: "Files categories > Export".

The problem files are properly listed there with their Keywords.

But as said, they are not displayed as selected in the "Categories" pane.

Also in the "Browser" the problem ones do not show the little yellow icon to indicated "categorized".

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Mon Jan 08, 2024 8:08 am
by xnview
xley wrote: Sun Jan 07, 2024 3:31 am But as said, they are not displayed as selected in the "Categories" pane.

Also in the "Browser" the problem ones do not show the little yellow icon to indicated "categorized".
When you select a file without "categorized icon" but with good categories in xml, what do you have in 'category sets' panel?

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Mon Jan 08, 2024 4:43 pm
by xley
I do not use "Category sets", but i have enabled that panel now. The "Assigned" section is empty for such files. It does have entries for the files that do have a "categorized icon".

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Tue Jan 09, 2024 3:05 am
by xley
Would the following steps (to export, and then import the same XML file) be a way to recover from this glitch?
  • via "Categories" panel, menu dropdown: "File's categories > Export".
  • via "Categories" panel, menu dropdown: "File's categories > Import".
There is no rush. So if you need me to assist with any more investigation before doing that, then okay.

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Tue Jan 09, 2024 7:43 am
by xnview
xley wrote: Mon Jan 08, 2024 4:43 pm I do not use "Category sets", but i have enabled that panel now. The "Assigned" section is empty for such files. It does have entries for the files that do have a "categorized icon".
and you have this file with good categories in exported xml?

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Tue Jan 09, 2024 7:59 am
by xley
Well i do believe so. As noted earlier in this thread, i have exported it. Then randomly verified ones that do show their categories in the "Categories panel" and ones that do not show their categories in the "Categories panel". All categories do seem to be present in the XML file as expected.

I will copy the ~/.xnviewmp directory contents for safe-keeping before doing the Import operation.

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Wed Jan 10, 2024 7:17 am
by xnview
is it possible to send me the exported xml, and .db?

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Wed Jan 10, 2024 7:33 am
by xley
Certainly. How is best to do that?

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Wed Jan 10, 2024 7:35 am
by xnview
xley wrote: Wed Jan 10, 2024 7:33 am Certainly. How is best to do that?
by mail (contact at xnview dot com)

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Wed Jan 10, 2024 7:55 am
by xley
Gah, forgot to say an example.

For Category "Drainage", etc.

Not displayed: Filename: 0717-132013.jpg
Properly displayed: Filename 0829-035741.jpg

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Wed Jan 10, 2024 3:44 pm
by xnview
It's seems that you have changed the 'base path'

There is 2 times the 0717-132013.jpg file, one in '/Users/....../2015/07/17Jul2015/' folder with categories, and one in '@2015/07/17Jul2015/' without categories

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Thu Jan 11, 2024 6:59 am
by xley
Ah, possibly a long time ago when the images collection was moved from a previous computer.

I did again export the XML list of categories via "Categories" pane, menu dropdown: "Files categories > Export", this time with selected "Export all files from catalog". Then did a "diff" with the previous XML export which shows the entries that are without categories.

I see this via "Settings > Catalog" at the "Catalog maintenance" section. There are duplicated entries with an "exclamation" icon.
xnview-xley-1.png
(The image can be opened in a new window to see more clearly. Obfuscated the "/Users/me/Documents/" part of the paths, but the "exclaimed" and "non-exclaimed" paths are identical.)

I have not yet found an explanation of the purpose of the "Synchronize Folders..." button. Its warning is frightening.

Would a solution be to manually select each of those exclamation rows and press the left-hand "Delete" button?

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Thu Jan 11, 2024 7:36 am
by xnview
why do you use 'base path'?

Re: 1.6.3: Displayed via Catalog filter, but Categories not shown

Posted: Thu Jan 11, 2024 9:08 am
by xley
I assumed that it is necessaray. Should that be removed?