SUMMARY With lazy synchronization disabled and write Face Tags to file metadata options enabled in Digikam's Configuration dialog- metadata is not being written back to file. STEPS TO REPRODUCE 1. From Digikam's Configuration dialog - Ensure "Lazy Synchronization" is disabled and "Face Tags" are enabled in the Metadata write options. 2. Select an image file and add "Face Tag" regions and a person's name. OBSERVED RESULT - Face Tags are not immediately written back to the file. EXPECTED RESULT - Face Tags should be written back to file. SOFTWARE/OS VERSIONS Windows: 10 ADDITIONAL INFORMATION - Face Tags are written back to file when selecting the image file and clicking on "Writing metadata to file" in the Items menu. Seems that this option forces the write operation. - If you select "Rating" as another metadata write option, these values are written back to file metadata when the rating value is added, but Face Tags are not. - My setup is: Windows 10, Maria DB running on a remote server. - Ref mailing list email: July 1 2021 - Subject "When is metadata written back to files?"
I already wrote to you that face tags are immediately written into the pictures. A test here under Windows shows no problems. To determine the problem for you, we need the DebugView Log, as described here for Windows: https://www.digikam.org/contribute/ Don't forget to set the debug environment variable. Maik
You must have tags activated (top metadata entry) so that the face data is written immediately. Maik
Created attachment 139807 [details] Face tags under Image Tags After adding the "Image Tags" option it worked. If writing Face Tags is dependent on "Image Tags", then the user should not be allowed to check/enable Face Tags without enabling Image Tags first. The dialog does not seem to be intuitive. I suggest placing the Face Tags checkbox under Image Tags (refer to attached screenshot).
Git commit fc35e02ea4f3fe9787be22da7755519dce61fe4d by Maik Qualmann. Committed on 03/07/2021 at 11:20. Pushed by mqualmann into branch 'master'. fix writing face tags when tags are not activated FIXED-IN: 7.3.0 M +2 -2 NEWS M +1 -3 core/libs/properties/captions/disjointmetadata.cpp https://invent.kde.org/graphics/digikam/commit/fc35e02ea4f3fe9787be22da7755519dce61fe4d