Bug 435843 - Metadata changes not saved when removing face region
Summary: Metadata changes not saved when removing face region
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Xmp (other bugs)
Version First Reported In: 7.3.0
Platform: Flatpak Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-17 12:28 UTC by MarcP
Modified: 2021-04-17 15:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 7.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MarcP 2021-04-17 12:28:06 UTC
SUMMARY

I noticed that when I remove an existing face from a picture, the metadata is not saved, so if I re-read that metadata again, the face reappears.

I have to manually Write metadata to file to save the changes.

My configuration is set to all metadata is written to the picture files themselves.

STEPS TO REPRODUCE
1. Delete face region from picture
2. Item/Re-read metadata from file

OBSERVED RESULT
The face region reappears in the picture.

EXPECTED RESULT
Nothing. The picture should stay as it is.

SOFTWARE/OS VERSIONS
Digikam 7.3.0 

Build date: 13/4/21 10:27 (target: Debug)
Rev.: b4b998677390adb557861a01b748f70b1366175c
Comment 1 Maik Qualmann 2021-04-17 15:51:57 UTC
Git commit b1243d73e5fd59f4336a3b1d228bf2c2cbc5b68d by Maik Qualmann.
Committed on 17/04/2021 at 15:50.
Pushed by mqualmann into branch 'master'.

remove all faces when the faces map is empty
FIXED-IN: 7.3.0

M  +2    -1    NEWS
M  +1    -1    core/libs/metadataengine/dmetadata/dmetadata.h
M  +4    -2    core/libs/metadataengine/dmetadata/dmetadata_faces.cpp

https://invent.kde.org/graphics/digikam/commit/b1243d73e5fd59f4336a3b1d228bf2c2cbc5b68d