Created attachment 165493 [details] ASCII in caption field SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** When caption is empty, it displays "ASCII" as content STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
This entry can only arise from the Exif user comment, I suspect incorrect coding within your image. In order to analyze this, we need the image. If not public, on my private email. Maik
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
Created attachment 182336 [details] Example image "ASCII" shown in caption in digikam, but no caption tag seen when using exiftool
Ken, I'm not sure to understand what you mean. I downloaded your JPEG file, "ASCII" is well displayed in caption field, and ? Best Gilles Caulier
Ah ok, it show "ASCII" even the Exif comment is empty...
In metadata view from the right sidebar, the Exif/Comment tag decoded by Exiv2 show "ASCII". This is why digiKam show "ASCII" in comment field. The problem come from Exiv2 library
We're currently leaving the ASCII decoding to EXiv2, and we're doing the Unicode decoding ourselves due to bugs. When I look in the hex editor, Exiv2 should actually display something like this: Yaw:255.22284,Pitch:4.973536182626138,Roll:-4.4172657130717425.278544.2025:05:20 13:11:42 I'll have to take a closer look. Maik
If reading metadata with ExifTool is enabled in digiKam, the correct comment is displayed. Maik
Git commit afa85356b6e4f394e4d6e19ae0d707e61973e0ab by Maik Qualmann. Committed on 19/06/2025 at 04:12. Pushed by mqualmann into branch 'master'. decode Exif comment itself to fix an Exiv2 bug FIXED-IN: 8.7.0 M +1 -1 NEWS M +11 -4 core/libs/metadataengine/engine/metaengine_p.cpp https://invent.kde.org/graphics/digikam/-/commit/afa85356b6e4f394e4d6e19ae0d707e61973e0ab