Bug 441280

Summary: Confirming face in preview removes other face regions
Product: [Applications] digikam Reporter: Mats <maklingberg>
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: metzpinguin
Priority: NOR    
Version: 7.3.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 7.4.0
Sentry Crash Report:
Attachments: Metadata settings screenshot

Description Mats 2021-08-21 09:59:38 UTC
SUMMARY
When I open an image with multiple unknown faces in preview and give one of them a name and confirm it, the other (unknown) face regions disappear from the image. This seems to also happen if I name them in the thumbnail view (the other regions and corresponding thumbnails disappear).

STEPS TO REPRODUCE
1. Run face detection on image/album with multiple faces (seems to work correctly).
2. Open image in preview and tag one unknown face.
3. Other regions in the same picture disappear.

OBSERVED RESULT
Only one face region remains in the image.

EXPECTED RESULT
Other, untouched, face regions should remain (as unknown).


SOFTWARE/OS VERSIONS
macOS: 11.5.1
Comment 1 Maik Qualmann 2021-08-21 10:58:01 UTC
I cannot reproduce that. Please take a screenshot of your metadata and sidecar settings.

In principle, this can only occur if you have activated a re-read of the metadata in the event of a change and the cleaning of the DB.

Maik
Comment 2 Mats 2021-08-21 11:30:32 UTC
Created attachment 140908 [details]
Metadata settings screenshot

Aha, that is it! I had both "Rescan file when files are modified" and "Clean up the metadata from the database rescan files" set. Disabling the latter makes the problem go away. Didn't read the warning on that one carefully enough, apologies!

Mats