Categories not in Saved images

Bugs which are supposed to be fixed in the next test version (not available yet)

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
dave80
Posts: 21
Joined: Fri Oct 08, 2021 12:13 am

Categories not in Saved images

Post by dave80 »

When I edit and Save a jpg image that has Categories written into the original file's metadata the Categories are not in the saved image.

Steps to reproduce
1. Add Categories to images.
2. Edit image (crop, auto contrast, saturation, etc).
3. Click Save (to save a copy) or Save As.

Result
Saved images do not have any Categories assigned to them.

I have the options set to Write Categories into IPTC and XMP. Settings > Metdata.
xnviewmp-metadata_settings.JPG
xnviewmp-metadata_settings.JPG (107.31 KiB) Viewed 204 times

I have the options selected to Keep EXIF, IPTC and XMP when saving. Settings > Formats > Write.
xnviewmp-write_settings.JPG
xnviewmp-write_settings.JPG (97.57 KiB) Viewed 204 times
Am I doing something wrong?
User avatar
xnview
Author of XnView
Posts: 46325
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Categories not in Saved images

Post by xnview »

i'm not able to reproduce. Saved file has no XMP or IPTC metadata? Please send us your xnview.ini
Pierre.
dave80
Posts: 21
Joined: Fri Oct 08, 2021 12:13 am

Re: Categories not in Saved images

Post by dave80 »

Thank you Pierre. I have sent the xnview.ini file in a PM to you.
Sorry I have just noticed that if I look at the Info panel the metadata is in XMP and IPTC.
My default view has the Categories panel open. The Category is not selected for the saved image. Also the saved image does not have the little symbol on it's thumbnail. If I do Metadata > Update catalogue from files on the saved image the Category becomes selected and the symbol appears on it's icon. Do I have to do this every time or is there a setting to have the Categories automatically selected after editing and saving images?

After Metadata > Update catalogue from files
xnview-symbol.JPG
xnview-symbol.JPG (40.84 KiB) Viewed 184 times
Last edited by dave80 on Tue Jun 24, 2025 8:07 pm, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 46325
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Categories not in Saved images

Post by xnview »

It works with your xnview.ini :? Please send me a sample file? and the steps to reproduce?
Pierre.
dave80
Posts: 21
Joined: Fri Oct 08, 2021 12:13 am

Re: Categories not in Saved images

Post by dave80 »

Thank you Pierre. Sorry I made a mistake. The metadata is in IPTC and XMP but the saved image does not have the Category selected in the Categories panel and the thumbnail of the saved image does not have the Has Category Overlay icon on it.
I have to do Metadata > Update catalogue from files to make the Category become selected in the Categories panel and the Has Category Overlay icon appear on the thumbnail. Should I have to do Metadata > Update catalogue from files? I thought that after saving an image that already had a Category assigned the resulting saved image would also have a Category assigned and have the Has Category Overlay icon on the thumbnail.
User avatar
xnview
Author of XnView
Posts: 46325
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Categories not in Saved images

Post by xnview »

dave80 wrote: Tue Jun 24, 2025 8:21 pm I have to do Metadata > Update catalogue from files to make the Category become selected in the Categories panel and the Has Category Overlay icon appear on the thumbnail. Should I have to do Metadata > Update catalogue from files?
you don't need to do that, overlay will be added automatically.
Please send me a sample file? and the steps to reproduce?
Pierre.
User avatar
user0
XnThusiast
Posts: 2435
Joined: Sat May 09, 2015 9:37 am

Re: Categories not in Saved images

Post by user0 »

I'm pretty sure OP is confused because after assigning categories,
overlay icons do not appear until you unselect file(s) or press F5
dave80
Posts: 21
Joined: Fri Oct 08, 2021 12:13 am

Re: Categories not in Saved images

Post by dave80 »

xnview wrote: Wed Jun 25, 2025 5:41 am
dave80 wrote: Tue Jun 24, 2025 8:21 pm I have to do Metadata > Update catalogue from files to make the Category become selected in the Categories panel and the Has Category Overlay icon appear on the thumbnail. Should I have to do Metadata > Update catalogue from files?
you don't need to do that, overlay will be added automatically.
Please send me a sample file? and the steps to reproduce?
Thank you,
I will email the files to you Pierre.

Here are the steps I take.

1. Import images.
1.JPG
1.JPG (99.51 KiB) Viewed 124 times
2. Add Categories.
2.JPG
2.JPG (100.61 KiB) Viewed 124 times
3. Overlay icons have been added and the Category is checked in the Category panel.
3.JPG
3.JPG (155.62 KiB) Viewed 124 times
4. Double click to open Image and then edit it.
5.JPG
5.JPG (74.9 KiB) Viewed 124 times
5. Click Save to Save a copy.
6.JPG
6.JPG (60.92 KiB) Viewed 124 times
6. Return to Browser. Category is not checked and the Overlay icon is missing.
7.JPG
7.JPG (114.21 KiB) Viewed 124 times
User avatar
xnview
Author of XnView
Posts: 46325
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Categories not in Saved images

Post by xnview »

ok, thanks, i can reproduce with 'Save as' & 'Save copy'. 'Save' will overwrite the file and keep overlay.
Pierre.
dave80
Posts: 21
Joined: Fri Oct 08, 2021 12:13 am

Re: Categories not in Saved images

Post by dave80 »

xnview wrote: Wed Jun 25, 2025 2:41 pm ok, thanks, i can reproduce with 'Save as' & 'Save copy'. 'Save' will overwrite the file and keep overlay.
You're welcome. Thank you for confirming I was not doing something wrong.
User avatar
xnview
Author of XnView
Posts: 46325
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Categories not in Saved images

Post by xnview »

dave80 wrote: Wed Jun 25, 2025 8:37 pm You're welcome. Thank you for confirming I was not doing something wrong.
i've sent you a PM
Pierre.
User avatar
xnview
Author of XnView
Posts: 46325
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Categories not in Saved images

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
Post Reply