Category not set from sidecar if category is empty

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: helmut, XnTriq, xnview, Dreamer

bgoodman
Posts: 11
Joined: Fri Jun 03, 2016 1:23 am

Category not set from sidecar if category is empty

Post by bgoodman »

Using XnView MP 0.79 x64 on both Windows 7 and Linux Mint 17.3.

In Settings>Metadata>Update or Create Sidecar = checked.

In browser, view a file image which has an IPTC keyword of "Dog".

In Categories panel, uncheck "Dog" category. An XMP sidecar file is created for the image with an empty keyword specification.

Exit XnView MP.

Copy image file and sidecar into a new directory.

Launch XnView MP and view the new image file. It will have a category of "Dog" even though the Dog category was removed.

Note: This works properly if the "Dog" category is removed and a "Cat" category is added. The sidecar properly overrides the categories from the image file IPTC data. The problem seems to occur only when the IPTC keyword data is empty indicating that there should be NO category on an image file which contains an IPTC keyword.
User avatar
xnview
Author of XnView
Posts: 45942
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Category not set from sidecar if category is empty

Post by xnview »

See Issue 892 for details.
Pierre.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Category not set from sidecar if category is empty

Post by helmut »

@ bgoodman: This bug is supposed to be fixed in v0.82? Could you please try and confirm the bug fix?