https://bugs.kde.org/show_bug.cgi?id=478848
Bug ID: 478848 Summary: AF points in focus not shown Classification: Applications Product: digikam Version: 8.2.0 Platform: Slackware OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Metadata-ExifTool Assignee: digikam-bugs-n...@kde.org Reporter: kdeb...@rastos.org Target Milestone: --- Created attachment 164344 --> https://bugs.kde.org/attachment.cgi?id=164344&action=edit full JSON output from "exiftool -json -l -G:0:1:2:4:6 IMG_0048.JPG" SUMMARY The context menu function "Show focus points" shows the focus points but none of them is shown as "in focus". STEPS TO REPRODUCE 1. Load an image captured by Canon EOS 850D into digikam 2. turn on the "Show focus points" in context menu OBSERVED RESULT The context menu function "Show focus points" shows the focus points but none of them is shown in red i.e. "in focus". EXPECTED RESULT The context menu function "Show focus points" shows the focus points that are "in focus". SOFTWARE/OS VERSIONS KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: qt5-5.15.11_20231011_f1a894e5 exiftool: 12.70 ADDITIONAL INFORMATION My understanding is that the issue is not platform/OS specific. The exiftool produces JSON that contains: $ exiftool -json -l -G:0:1:2:4:6 -MakerNotes:Canon:Camera:AFPointsInFocus IMG_0048.JPG [{ "SourceFile": "IMG_0048.JPG", "MakerNotes:Canon:Camera:::AFPointsInFocus": { "desc": "AF Points In Focus", "num": "3584 519 0 0 0 0 0 0 0", "val": "9,10,11,16,17,18,25" } }] The value "9,10,11,16,17,18,25" is parsed in core/libs/metadataengine/focuspoint/focuspoints_extractor_canon.cpp with line: QStringList af_infocus = findValue(TagNameRoot, QLatin1String("AFPointsInFocus"), true).toStringList(); and the method QVariant FocusPointsExtractor::findValue(const QString& tagName, bool isList) const uses return result[0].toString().split(QLatin1String(" ")); I.e. it is attempting to split using a space character, but the actual separator used in exiftool output is comma. That later causes none of the AF points identified as "in focus". I don't know if the separator used in the json output may depend on camera type, exif version or some other factor. -- You are receiving this mail because: You are watching all bug changes.