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

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
Roadrun
Posts: 2
Joined: Sun Jun 24, 2018 9:17 pm

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

Post 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!
Roadrun
Posts: 2
Joined: Sun Jun 24, 2018 9:17 pm

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

Post 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?
User avatar
xnview
Author of XnView
Posts: 43357
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

similar post
Currently 'Dont export' is used when exporting categories xmp file

Should this setting be used when exporting in XMP metadata??
Pierre.
Post Reply