Bug 425125 - User Comment shown as "binary comment"
Summary: User Comment shown as "binary comment"
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Albums (show other bugs)
Version: 7.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-07 20:14 UTC by LarsE
Modified: 2021-04-04 07:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.3.0


Attachments
screenshot showing "Binary Comment" (126.91 KB, image/png)
2020-08-07 20:14 UTC, LarsE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LarsE 2020-08-07 20:14:53 UTC
Created attachment 130718 [details]
screenshot showing "Binary Comment"

SUMMARY
After importing RAW files (here: Nikon D7500 NEF files) the caption shows "binary comment" instead of the content of the UserComment. When reading the EXIF data with exiftool, the user comment shows the expected string and not "binary comment".

STEPS TO REPRODUCE
1. import a RAW file via Import / Add Folders...
2. Select the files to import and import them to a new album
3. after import finished, view the caption or Metadata / EXIF / Photograph Information / User Comment and see that there is just "binary comment" instead of the expected string.

OBSERVED RESULT
wrong string for user comment

EXPECTED RESULT
use the provided string of this property ;-)

SOFTWARE/OS VERSIONS
Windows: 10 x64 professional (1909)

ADDITIONAL INFORMATION
Worked fine with last digikam version before 7.0.0
Comment 1 Maik Qualmann 2020-08-07 20:20:31 UTC
If, it is a mistake, this Exiv2 must be reported. If the field contains data that cannot be decoded safely, this text is displayed.

https://bugs.kde.org/show_bug.cgi?id=422240
https://github.com/Exiv2/exiv2/issues/1258#issuecomment-669455677

Maik

*** This bug has been marked as a duplicate of bug 374012 ***
Comment 2 Maik Qualmann 2020-08-23 07:04:29 UTC
Git commit 3b9b6615fd7b6a9711a5aa8986d143429bb31909 by Maik Qualmann.
Committed on 23/08/2020 at 07:02.
Pushed by mqualmann into branch 'master'.

filter "binary comment" from the comment fields
Since Exiv2-0.27.3 empty comment fields are
output as "binary comment".
Related: bug 374012, bug 422240

M  +11   -6    core/libs/metadataengine/engine/metaengine_exif.cpp

https://invent.kde.org/graphics/digikam/commit/3b9b6615fd7b6a9711a5aa8986d143429bb31909
Comment 3 caulier.gilles 2021-04-04 07:34:10 UTC
Fixed with #374012