SUMMARY DigiKam doesn't allow specific Exif info to be applied to image. STEPS TO REPRODUCE 1. Select Photo 2. Go to Item -> Edit Metadata 3. Select item to be edited and make changes 4. Push 'Apply' OBSERVED RESULT Data that was changed is reset to prior information EXPECTED RESULT Data that was changed should remain in place SOFTWARE/OS VERSIONS Windows: 10 ADDITIONAL INFORMATION I've uploaded a .gif screen grab that should illustrate the problem in full. The example shows an attempt to add aperture info to the lens setting.
Created attachment 140011 [details] Edit Metadata screen grab
I cannot reproduce the problem here. Image is not write-protected? Please upload the image you are having the problem with. If not public, then to my private email address. A DebugView log is also interesting, as described here for Windows: https://www.digikam.org/contribute/ Maik
Ok, with other images I get a: Cannot save metadata with Exiv2 backend: (Error # 21: "Failed to write image" I have a look at it. Maik
The problem did not exist in digiKam-7.2.0 AppImage and Exiv2-0.27.3. I can reproduce the problem with Exiv2-0.27.4, it seems that our QByteArray metadata container is no longer accepted in all cases. If a value does not yet exist, there are no problems, if a value is changed in the metadata editor there is an error. Maik
Git commit 088e83513d512b91560bb496377097752cf84d93 by Maik Qualmann. Committed on 13/07/2021 at 06:15. Pushed by mqualmann into branch 'master'. first step fix Exif page in Metadata Editor Tool Editing the metadata via a QBytArray does not work more in current Exiv2 versions. M +22 -30 core/dplugins/generic/metadata/metadataedit/exif/exifadjust.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/exif/exifadjust.h M +23 -39 core/dplugins/generic/metadata/metadataedit/exif/exifcaption.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/exif/exifcaption.h M +29 -43 core/dplugins/generic/metadata/metadataedit/exif/exifdatetime.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/exif/exifdatetime.h M +48 -56 core/dplugins/generic/metadata/metadataedit/exif/exifdevice.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/exif/exifdevice.h M +13 -28 core/dplugins/generic/metadata/metadataedit/exif/exifeditwidget.cpp M +26 -34 core/dplugins/generic/metadata/metadataedit/exif/exiflens.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/exif/exiflens.h M +16 -24 core/dplugins/generic/metadata/metadataedit/exif/exiflight.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/exif/exiflight.h https://invent.kde.org/graphics/digikam/commit/088e83513d512b91560bb496377097752cf84d93
Git commit 27e37167bf2a23c6d5d894b82859a8aaa89f7c0f by Maik Qualmann. Committed on 13/07/2021 at 10:41. Pushed by mqualmann into branch 'master'. next step fix Iptc page in Metadata Editor Tool M +9 -20 core/dplugins/generic/metadata/metadataedit/iptc/iptccategories.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/iptc/iptccategories.h M +14 -26 core/dplugins/generic/metadata/metadataedit/iptc/iptccontent.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/iptc/iptccontent.h M +21 -29 core/dplugins/generic/metadata/metadataedit/iptc/iptccredits.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/iptc/iptccredits.h M +20 -30 core/dplugins/generic/metadata/metadataedit/iptc/iptceditwidget.cpp M +32 -42 core/dplugins/generic/metadata/metadataedit/iptc/iptcenvelope.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/iptc/iptcenvelope.h M +6 -17 core/dplugins/generic/metadata/metadataedit/iptc/iptckeywords.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/iptc/iptckeywords.h M +34 -46 core/dplugins/generic/metadata/metadataedit/iptc/iptcorigin.cpp M +9 -4 core/dplugins/generic/metadata/metadataedit/iptc/iptcorigin.h M +34 -44 core/dplugins/generic/metadata/metadataedit/iptc/iptcproperties.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/iptc/iptcproperties.h M +14 -24 core/dplugins/generic/metadata/metadataedit/iptc/iptcstatus.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/iptc/iptcstatus.h M +5 -11 core/dplugins/generic/metadata/metadataedit/iptc/iptcsubjects.cpp M +2 -2 core/dplugins/generic/metadata/metadataedit/iptc/iptcsubjects.h https://invent.kde.org/graphics/digikam/commit/27e37167bf2a23c6d5d894b82859a8aaa89f7c0f
Git commit a83a5b58975c7dbded127c4ddc50c783409243b9 by Maik Qualmann. Committed on 13/07/2021 at 18:49. Pushed by mqualmann into branch 'master'. last step fix Xmp page in Metadata Editor Tool FIXED-IN: 7.4.0 M +2 -1 NEWS M +9 -20 core/dplugins/generic/metadata/metadataedit/xmp/xmpcategories.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/xmp/xmpcategories.h M +18 -30 core/dplugins/generic/metadata/metadataedit/xmp/xmpcontent.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/xmp/xmpcontent.h M +62 -72 core/dplugins/generic/metadata/metadataedit/xmp/xmpcredits.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/xmp/xmpcredits.h M +18 -29 core/dplugins/generic/metadata/metadataedit/xmp/xmpeditwidget.cpp M +6 -17 core/dplugins/generic/metadata/metadataedit/xmp/xmpkeywords.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/xmp/xmpkeywords.h M +51 -63 core/dplugins/generic/metadata/metadataedit/xmp/xmporigin.cpp M +9 -4 core/dplugins/generic/metadata/metadataedit/xmp/xmporigin.h M +20 -29 core/dplugins/generic/metadata/metadataedit/xmp/xmpproperties.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/xmp/xmpproperties.h M +14 -23 core/dplugins/generic/metadata/metadataedit/xmp/xmpstatus.cpp M +8 -3 core/dplugins/generic/metadata/metadataedit/xmp/xmpstatus.h M +5 -11 core/dplugins/generic/metadata/metadataedit/xmp/xmpsubjects.cpp M +2 -3 core/dplugins/generic/metadata/metadataedit/xmp/xmpsubjects.h https://invent.kde.org/graphics/digikam/commit/a83a5b58975c7dbded127c4ddc50c783409243b9
*** Bug 440588 has been marked as a duplicate of this bug. ***
*** Bug 444903 has been marked as a duplicate of this bug. ***