Bug 467560 - Keywords assigned by Synology Photos is written in XMP metadata but not recognized by digiKam.
Summary: Keywords assigned by Synology Photos is written in XMP metadata but not recog...
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Keywords (show other bugs)
Version: 7.9.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-19 07:57 UTC by malte.boensch
Modified: 2025-04-23 14:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (281.81 KB, image/jpeg)
2023-03-19 07:57 UTC, malte.boensch
Details
photo-favorit-keyword-not-detected (28 bytes, text/plain)
2023-03-19 08:48 UTC, malte.boensch
Details
advanced settings (102.78 KB, image/jpeg)
2023-03-19 09:19 UTC, malte.boensch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description malte.boensch 2023-03-19 07:57:09 UTC
Created attachment 157410 [details]
screenshot

SUMMARY


STEPS TO REPRODUCE
1. Tag an image in Synology Photos with an existing keyword (in this case "Favorit")
2. Load digikam and the image that was tagged in Synology Photos

OBSERVED RESULT
The tag is in fact written in the metadata. It is visible in the XMP "Dublin Core - XMP-dc" section. (see attached image).
However, the newly added tag is not "recognized" by Digikam.
Interestingly: I tested this with a different image that did not have any previous XMP tags (e.g. face/person tags). In this case Digikam recognized the same tag after applying it in synology photos. However, in this example there are two face tags already existing, when the new tag "Favorit" is added.


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2023-03-19 08:03:39 UTC
Please provide a file sample to test here.
Comment 2 Maik Qualmann 2023-03-19 08:37:57 UTC
digiKam searches for tags from a list defined in the advanced metadata settings. Go to the advanced metadata settings and move Xmp.dc.subject to the top of the keywords list.

Maik
Comment 3 malte.boensch 2023-03-19 08:48:47 UTC
Created attachment 157412 [details]
photo-favorit-keyword-not-detected
Comment 4 malte.boensch 2023-03-19 08:48:59 UTC
(In reply to caulier.gilles from comment #1)
> Please provide a file sample to test here.

done
Comment 5 Maik Qualmann 2023-03-19 08:55:12 UTC
As described in Comment 2, it would be the solution or alternatively you can also activate in the advanced metadata that all possible keyword tags are read. Basically, more of a bug report on Synology Photos is that they don't update all possible keyword metadata when they exist.

Maik
Comment 6 caulier.gilles 2023-03-19 09:08:32 UTC
See also this section from the online doc:

https://docs.digikam.org/en/setup_application/metadata_settings.html#advanced-settings

Gilles Caulier
Comment 7 malte.boensch 2023-03-19 09:19:00 UTC
Created attachment 157413 [details]
advanced settings
Comment 8 malte.boensch 2023-03-19 09:20:10 UTC
(In reply to Maik Qualmann from comment #5)
> As described in Comment 2, it would be the solution or alternatively you can
> also activate in the advanced metadata that all possible keyword tags are
> read. Basically, more of a bug report on Synology Photos is that they don't
> update all possible keyword metadata when they exist.
> 
> Maik

Are these the settings you are referring to? I attached new picture digikam_5
Comment 9 Maik Qualmann 2023-03-19 09:50:33 UTC
Yes, either select Xmp.dc.subject and move it to the first position in the list with the "Nach oben" tool button. Whether you want to enable reading of all possible metadata for keywords depends on the state of your metadata in the images, whether many keywords in other metadata fields are perhaps "outdated" and you don't want to import them at all.

Maik
Comment 10 Maik Qualmann 2023-03-19 10:07:03 UTC
To make it clear again. The list is processed from top to bottom, if there is content, it is aborted and the values found are used. As you can see, in the default setting, Xmp.dc.subject has a lower status because it only supports keywords without a path by default.

Maik
Comment 11 caulier.gilles 2023-05-03 12:11:09 UTC
@malte.boensch@web.de

With 8.0.0, we also introduced a configuration profile load/save for the Metadata advanced settings configuration page. Look the online documentation for details:

https://docs.digikam.org/fr/setup_application/metadata_settings.html#advanced-settings

You can create a new profile for the synology NAS and share the config file in the room to includes it with next release.

Best regards

Gilles Caulier
Comment 12 caulier.gilles 2023-05-20 21:54:47 UTC
@malte.boensch@web.de

did you seen my previous comment ?

Gilles Caulier
Comment 13 caulier.gilles 2023-10-15 03:54:57 UTC
@malte.boensch@web.de,

This problem still reproducible with the new digiKam 8.2.0 pre-release Windows
installer available at usual place:

https://files.kde.org/digikam/

This new bundle is based on last Qt framework 5.15.11 and KDE framework 5.110.

Thanks in advance

Gilles Caulier
Comment 14 caulier.gilles 2025-04-11 18:13:56 UTC
Hi,

The 8.7.0 pre-release Windows installer from today have been rebuilt from
scratch with Qt 6.8.3, KDE 6.12, OpenCV 4.11 + CUDA support, Exiv2 0.28.5, ExifTool 13.27, ffmpeg 7, all image codecs updated to last version (jxl, avif, heif, aom, etc.).

Please try with this version to see if your problem still reproducible...

https://files.kde.org/digikam/

Thanks in advance
Best regards

Gilles Caulier