Page 1 of 1

MP 0.90: Category with "Don't export" checked will be exported to xmp dc subject

Posted: Sun Jun 24, 2018 10:15 pm
by Roadrun
XnView: MP 0.90 - 64 bit
OS: Windows - 64bit

Effect: I have a main category group called "theme" that make no sense to store as a keyword into the file, so I marked it as "Don't export", but it will nevertheless be stored in xmp-dc context.

To reproduce:
1. Settings -> Metadata and check
  • "Export DB Category to XMP Subject and IPTC Keyword",
  • "Create XMP data",
  • "Create IPTC data",
  • "Write hierarchical keywords" and
  • "Automatically apply parent keywords"
2. Create a category tree like
  • theme
    • flowers
3. Right click on "theme" and check "Don't export"
4. Select a jpg image
5. Check "flowers"

Actual behaviour (bug):
XnViewMP stores the following information in the tags:
  • IPTC-IIM -> Keywords: flowers (correct)
  • XMP -> dc -> subject[1]: theme (wrong)
  • XMP -> dc -> subject[2]: flowers (correct, but index should be 1)
  • XMP -> lr -> hierarchicalSubject[2]: flowers (index 2 instead of 1)
Expected behaviour:
  • IPTC-IIM -> Keywords: flowers
  • XMP -> dc -> subject[1]: flowers
  • XMP -> lr -> hierarchicalSubject[1]: flowers
Alternatively or in addition keywords marked as "Don't export" shouldn't be marked automatically in hierarchies.

Thanks for having a look!

Re: MP 0.90: Category with "Don't export" checked will be exported to xmp dc subject

Posted: Sat Jul 21, 2018 2:38 pm
by Roadrun
Meanwhile I also tried it out without "Write hierarchical keywords" checked. Even then they go to the file:
  • IPTC-IIM -> Keywords: theme, flowers (wrong, only flowers should be here)
  • XMP -> dc -> subject[1]: theme (wrong)
  • XMP -> dc -> subject[2]: flowers (correct, but index should be 1)
  • XMP -> lr -> hierarchicalSubject[2]: flowers (index 2 instead of 1, not sure why this tag is written, but that wouldn't be a problem)
Do I completely missunderstood the meaning of the "don't export" flag or what could be the reason to do what the program does at the moment?

Re: MP 0.90: Category with "Don't export" checked will be exported to xmp dc subject

Posted: Sun Aug 05, 2018 4:31 pm
by xnview
:bugconfirmed: Thanks to your detailed description