Bug 360955

Summary: digikam - EXIF caption no longer copied to captions area
Product: [Applications] digikam Reporter: Knut Hildebrandt <post>
Component: Tags-CaptionsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 5.4.0   
Target Milestone: ---   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0
Sentry Crash Report:

Description Knut Hildebrandt 2016-03-24 22:31:43 UTC
In the digikam4 series the contents of the EXIF caption field was automatically copied to the captions area when importing a picture. In digikam-5.0.0beta3 this is not done anymore even though in meta data editor synchronisation with JFIF comment section as well as XMP and IPTC caption are tagged.

Reproducible: Always
Comment 1 caulier.gilles 2016-03-24 23:37:19 UTC
Nothing has changed from this point. in source code. Please provide a sample image to import and check.

Gilles Caulier
Comment 2 caulier.gilles 2016-11-26 10:06:05 UTC
This problem still reproducible using digiKam AppImage bundle 5.4.0 pre release
?

It available at this url :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 3 Knut Hildebrandt 2016-11-28 02:34:16 UTC
Yes the problem still persists. 

The entry in question is "Exif.Photo.UserComment". It is set automatically by the camera and used to be copied at import time to the caption area by digicam4.

Cheers

Knut
Comment 4 Maik Qualmann 2016-11-28 17:47:07 UTC
Can you provide a test image?

Maik
Comment 5 caulier.gilles 2016-11-28 17:59:49 UTC
MAik,

Just a note about current AppImage bundle 5.4.0 for Linux : it include Exiv2 0.26-svn (pre-release). This is important to know for this entry. 

But, i suspect that problem can be located in Advanced Metadata configuration panel from Setup dialog (or in low level DMetadatSettingsContainer class) , as we can found more than one report in bugzilla about metadata management with comments and tags, since 5.0.0 release.

Gilles
Comment 6 Maik Qualmann 2016-12-10 22:30:58 UTC
Problem ist not reproducible with the default settings from Advanced Metadata configuration panel. The "Exif.Photo.UserComment" is added as caption.

Maik
Comment 7 Knut Hildebrandt 2016-12-29 21:33:35 UTC
(In reply to Maik Qualmann from comment #6)
> Problem ist not reproducible with the default settings from Advanced
> Metadata configuration panel. The "Exif.Photo.UserComment" is added as
> caption.
what is meant by default settings. I did not change the settings when upgrading from digikam 4.x to digikam 5.x. Which settings are in question? Only face recognition is not selected in the metadata section, since it used to cause problems and I don't use it anyway.

I send an image as attachment. This image was imported in digikam 5.3.0 using Exiv2 0.25 without Exif.Photo.UserComment being copied to caption.

Knut
Comment 8 Knut Hildebrandt 2016-12-29 21:35:33 UTC
Sorry, can't send the image as an attachment. It's a 16 Mbyte RAW-file. How shall I send it?
Comment 9 caulier.gilles 2016-12-29 22:56:03 UTC
Please, use a cloud web service to share large file.

Gilles Caulier
Comment 10 Maik Qualmann 2016-12-30 23:15:25 UTC
Git commit 05d68a038ab2253364449204976befbb5dbbc18f by Maik Qualmann.
Committed on 30/12/2016 at 23:14.
Pushed by mqualmann into branch 'master'.

fix read EXIF caption  if no XMP section exist
FIXED-IN: 5.4.0

M  +2    -1    NEWS
M  +56   -51   libs/dmetadata/dmetadata.cpp

https://commits.kde.org/digikam/05d68a038ab2253364449204976befbb5dbbc18f
Comment 11 Knut Hildebrandt 2016-12-30 23:35:22 UTC
Thanks. Looking forward to the next update.

Knut
Comment 12 Knut Hildebrandt 2017-01-23 17:14:09 UTC
It's back again.

Thanks