Created attachment 183580 [details] screenshot showing boxes Since updating to 8.7.0 Digikam is showing box characters for the Caption and User Comment. Digikam 8.6.0 and prior did not do this. I need to explore more, but I think these are off the camera like this and are blank, but still have characters associated with them. This appears to affect files from my Nikon Z50 and I think also processed by Nikon Studio. If you need more files or want me to test some more let me know. This occurs on both Mac and Ubuntu but the box font characters are a little different looking, maybe from different fonts? STEPS TO REPRODUCE 1. Load one of these Nikon files into Digikam and look at Caption See attached image and files. SOFTWARE/OS VERSIONS Windows: ? macOS: 15.5 Linux/KDE Plasma: 22.04 KDE Plasma Version: KDE Frameworks Version: 6.12.0 Qt Version: 6.8.3
Created attachment 183581 [details] screenshot showing boxes
Created attachment 183582 [details] image with the metadata
Not reproducible at all with 8.8.0 : https://imgur.com/a/ZoCr2mi https://imgur.com/a/J49oafZ AppImage for Linux is available here : https://files.kde.org/digikam/ Best Gilles Caulier
The problem can't be reproduced here either; the Exif user comment is empty. I think you're not on the final version of digiKam-8.7.0. Shortly before the release, there was a fix for the Exif user comment, which we now decode ourselves instead of leaving it to Exiv2. Maik
With a null-byte ASCII comment, we might actually be decoding a string. I'll catch it additionally and fix it. Maik
Git commit 22d049c2c92b2587ed74d3580356b7812a32ac08 by Maik Qualmann. Committed on 28/07/2025 at 10:32. Pushed by mqualmann into branch 'master'. check the first byte of the ASCII comment for zero. In Qt6, zero bytes are now also encoded into a QString. FIXED-IN: 8.8.0 M +1 -1 NEWS M +4 -1 core/libs/metadataengine/engine/metaengine_p.cpp https://invent.kde.org/graphics/digikam/-/commit/22d049c2c92b2587ed74d3580356b7812a32ac08
Git commit 48398acad6cc6cd5681f1dc172e15906f30e9302 by Maik Qualmann. Committed on 28/07/2025 at 10:44. Pushed by mqualmann into branch 'master'. better remove all zero bytes from the comment also following M +9 -2 core/libs/metadataengine/engine/metaengine_p.cpp https://invent.kde.org/graphics/digikam/-/commit/48398acad6cc6cd5681f1dc172e15906f30e9302
I just tried digiKam-8.8.0-20250728T161845-Qt6-MacOS-arm64.pkg and it now works as intended. Thanks for the quick fix.