Bug 468016

Summary: Caption information is written to Exif UserComment and no option exists to disable
Product: [Applications] digikam Reporter: José Oliver-Didier <jose_oliver>
Component: Metadata-ExifAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 8.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 8.0.0

Description José Oliver-Didier 2023-03-31 22:27:52 UTC
SUMMARY
***
Caption information is written to Exif UserComment and no option exists to disable
***


STEPS TO REPRODUCE
1.  Type text in Caption field.
2. Go to Configure Digikam Settings->Metadada->Advanced tab

OBSERVED RESULT
- No option for  Exif.UserComment is displayed.
- Metadata is written to Exif.UserComment - Can be confimed using exiftool -UserComment command.

EXPECTED RESULT
- Do not write to exif.UserComment unless enabled in Advanced Metadata options.

SOFTWARE/OS VERSIONS
Windows 11
Comment 1 Maik Qualmann 2023-04-01 06:28:23 UTC
Git commit d49a79eaecb7f95de2637c557ff105095c0f75d3 by Maik Qualmann.
Committed on 01/04/2023 at 06:27.
Pushed by mqualmann into branch 'master'.

add metadata config option for Exif.Photo.UserComment
FIXED-IN: 8.0.0

M  +6    -1    NEWS
M  +13   -3    core/data/metadata/darktable.dkamp
M  +26   -6    core/data/metadata/digikam.dkamp
M  +8    -1    core/libs/metadataengine/dmetadata/dmetadata_comments.cpp
M  +11   -4    core/libs/metadataengine/dmetadata/dmetadatasettingscontainer.cpp

https://invent.kde.org/graphics/digikam/commit/d49a79eaecb7f95de2637c557ff105095c0f75d3
Comment 2 Maik Qualmann 2023-04-01 06:30:43 UTC
Note that the caption section must be reset to default or the default digiKam profile must be loaded for the new option to appear.

Maik
Comment 3 Maik Qualmann 2023-04-01 06:33:51 UTC
Reading the Exif comments still needs to be fixed, that's coming today...

Maik
Comment 4 Maik Qualmann 2023-04-01 06:40:43 UTC
Reading the Exif Comment does not require a fix.

Maik