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

            Bug ID: 480117
           Summary: Tags are not added if their CASE doesn't match the
                    case in the tag database.
    Classification: Applications
           Product: digikam
           Version: 8.2.0
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tags-Engine
          Assignee: digikam-bugs-n...@kde.org
          Reporter: b4yf823ap56y457945ty4...@protonmail.com
  Target Milestone: ---

Created attachment 165089
  --> https://bugs.kde.org/attachment.cgi?id=165089&action=edit
ZIP file containing screenshots and an example album.

SUMMARY
***
If you import metadata for an image using an XMP sidecar file, and the sidecar
contains a tag that is already in the tag database, but the CaSe doesn't match
what is in the database, then the tag is ignored.

Attached is a ZIP file with an example image and sidecar as well as some
screenshots of the issue. The Tag "girl" is not imported and cannot be seen in
Digikam. However in the tag manager the tag "GIRL" already exists. If I change
the XMP sidecar tag to "GIRL" then it appears in Digikam.
***


STEPS TO REPRODUCE
1. Add the tag "GIRL" to the database.
2. Enable Settings > Metadata > Read from sidecar files
2. Download the attached ZIP, extract it, and add the Album folder as an Album.

OBSERVED RESULT
The "girl" tag isn't imported.
If you modify the sidecar file and change it to "GIRL" then re-read the
metadata (Tools > Maintenance > Sync Metadata and Database > Sync Direction
"From image metadata to database") it will appear in the list.

EXPECTED RESULT
One of them should be added, preferably whichever tag already exists in the
database should be added.

SOFTWARE/OS VERSIONS
Linux/Ubuntu: 22.04.3
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11 (built against 5.15.11)

ADDITIONAL INFORMATION
I'm using a MySQL database.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to