Bug 505098

Summary: Ignored or confirmed faces in Preview Mode: frames disappear and reappear twice in a row and can take a while.
Product: [Applications] digikam Reporter: Andy <zunar>
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: minor CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.7.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: 20250601 Output

Description Andy 2025-06-01 17:11:15 UTC
Created attachment 181959 [details]
20250601 Output

Hello,
This is about the face confirmations in the image preview.
This is best seen when all face markers are displayed.
When a face is ignored or confirmed, you can see that the frames disappear and reappear twice in a row. Only then can I edit the next face. If there are many faces, it takes longer.
According to the output, the metadata is reloaded several times. Is there anything that can be optimized here? Could some time be saved?

Regards
Andy
Comment 1 Maik Qualmann 2025-06-01 18:12:13 UTC
Yes, reloading the image metadata is necessary when tags have been written. The image file size has changed, the unique file UUID, the modification date, etc., all of this needs to be updated in the database.

Maik