Bug 375187 - Keywords under same tag in digikam do not match
Summary: Keywords under same tag in digikam do not match
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Xmp (show other bugs)
Version: 5.4.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-17 15:38 UTC by Andrius
Modified: 2017-08-13 15:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius 2017-01-17 15:38:40 UTC
Hello,

I have noticed that actual keywords written to files' metadata might be different for the same tag in Digikam. For example, I have "zoo" tag in "Places". When I search images by the tag in the left panel both IMGP5985.JPG and IMGP5986.JPG show up in the search results.
However if you compare the actual keywords using Digikam (Ctrl+Shift+M)or ExifTool (see the output below) you will notice that one file has "zoo" written while the other has "Places/zoo" (compare fields [XMP-dc] and [IPTC]. 

Digikam seems to treat them as the same tag so I can't really change it now.
I am wondering if there is a way to fix that.
Please advise.

PS I think it might be related to this: https://bugs.kde.org/show_bug.cgi?id=320185 since I have used WLPG (Windows Live Photo Gallery) in parallel with Digikam.

IMGP5985.JPG
 [IFD0]          XPKeywords                      : Places/zoo
 [XMP-digiKam]   TagsList                        : Places/zoo
 [XMP-microsoft] LastKeywordXMP                  : Places/zoo
 [XMP-microsoft] LastKeywordIPTC                 : Places/zoo
 [XMP-acdsee]    Categories                      : <Categories><Category Assigned="0">Places<Category Assigned="1">zoo</Category></Category></Categories>
 [XMP-lr]        HierarchicalSubject             : Places|zoo
 [XMP-mediapro]  CatalogSets                     : Places|zoo
 [XMP-dc]        Subject                         : zoo
 [IPTC]          Keywords                        : zoo

IMGP5986.JPG
 [IFD0]          XPKeywords                      : Places/zoo
 [XMP-digiKam]   TagsList                        : Places/zoo
 [XMP-microsoft] LastKeywordXMP                  : Places/zoo
 [XMP-microsoft] LastKeywordIPTC                 : Places/zoo
 [XMP-acdsee]    Categories                      : <Categories><Category Assigned="0">Places<Category Assigned="1">zoo</Category></Category></Categories>
 [XMP-lr]        HierarchicalSubject             : Places|zoo
 [XMP-mediapro]  CatalogSets                     : Places|zoo
 [XMP-dc]        Subject                         : Places/zoo
 [IPTC]          Keywords                        : Places/zoo
Comment 1 Andrius 2017-05-30 18:55:24 UTC
I think this is not happening anymore. appimage 5.6.0