[Digikam-devel] [Bug 221460] New: Xmp subject tags imported in wrong order

Jakob Malm jakob.malm at gmail.com
Tue Jan 5 23:11:31 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=221460

           Summary: Xmp subject tags imported in wrong order
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: jakob.malm at gmail.com


Version:           1.0.0 karmic-backports (using KDE 4.3.4)
OS:                Linux
Installed from:    Ubuntu Packages

I have a JPEG file with the following XMP tags, among others:

Xmp.lr.hierarchicalSubject                   XmpBag      1 
Personer|Familj|Jonatan
Xmp.dc.subject                               XmpBag      3  Familj, Jonatan,
Personer

When digiKam imports this photo it does not appear to read
Xmp.lr.hierarchicalSubject, but instead Xmp.dc.subject. All tags (Familj,
Jonatan, Personer) are checked in the keywords panel.

In DMetadata::getImageTagsPath
(http://lxr.kde.org/source/extragear/graphics/digikam/libs/dmetadata/dmetadata.cpp#569),
it appears that the intention is to read ONE of the following, in this order:
- Xmp.digikam.TagsList (not found in my JPEG)
- Xmp.lr.hierarchicalSubject (in my JPEG)
- Xmp.dc.subject (in my JPEG)
- Iptc.Application2.Keywords (also in my JPEG)

Is the Xmp.dc.subject read at some other place than in this function?

If I delete the Xmp.dc.subject tag, my hierarchical keywords are read correctly
from Xmp.lr.hierarchicalSubject, and only Personer/Familj/Jonatan is checked in
the keywords panel.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list