Bug 429551

Summary: Many Tags Stored in Photos are not Inserted into Digikam's tag list When Photos are Read.
Product: [Applications] digikam Reporter: Ken Lerner <kenlerner>
Component: Database-ScanAssignee: Digikam Developers <digikam-bugs-null>
Status: CLOSED NOT A BUG    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.2.0
Sentry Crash Report:

Description Ken Lerner 2020-11-23 13:55:17 UTC
SUMMARY
Many tags stored in photos are not inserted into Digikam's tag list when photos are read.

STEPS TO REPRODUCE
1. Install digikam, add directory where photos reside.  In this case, photos are stored on a network drive in many different folders.
2. Allow digikam to read all photos
3. After digikam completes scan of all photos, observe tag list.

OBSERVED RESULT
Tag list is incomplete

EXPECTED RESULT
Tag list is complete

SOFTWARE/OS VERSIONS
Windows: 10

ADDITIONAL INFORMATION
Used Xviv to insert xmp subject tags into many photos.  

(For example:  ./exiv2 -M "add Xmp.dc.subject 5 Star Photos: 2003 - 2005" "P:/2003/2003_01/esimg2829.jpg")

Many photos are tagged with the same subject.

When looking at individual photos, DigiKam shows that the tags exist (in the metadata view), but the photo does not appear under the "5 Star Photos: 2003 - 2005." tag in the tag view.

I think this has to do with the filename of the photo.  In many cases, the filenames of photos are similar.  For example:  "esimg374 3-19-2003 12-53-02 PM.JPG", "esimg374 3-19-2003 2-12-36 PM.JPG" 

Is it possible that there is a dependency on file name?

Also tried re-reading image metadata with the same result.
Comment 1 Ken Lerner 2020-11-23 15:53:25 UTC
See link below for a video example of issue:

https://www.dropbox.com/s/hfftwfv6v5h9gmk/example.mp4?dl=0
Comment 2 Maik Qualmann 2020-11-23 17:00:58 UTC
You have to move the metadata field in the advanced metadata settings to the top position in which your tags were saved by the other program. This is not a bug, there are too many different programs that save tags in different metadata fields, you have to adapt digiKam to your needs.

Maik
Comment 3 Ken Lerner 2020-11-24 03:34:54 UTC
Thanks for the information Maik.  I will close the defect.