Bug 501217 - Confirm faces - same processes in the background
Summary: Confirm faces - same processes in the background
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (other bugs)
Version First Reported In: 8.6.0
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-08 10:36 UTC by Andy
Modified: 2025-03-10 07:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.6.0
Sentry Crash Report:


Attachments
Output 20250308_112500 (15.93 KB, text/plain)
2025-03-08 10:36 UTC, Andy
Details
Output 20250308_121600 (12.93 KB, text/plain)
2025-03-08 11:19 UTC, Andy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andy 2025-03-08 10:36:22 UTC
Created attachment 179221 [details]
Output 20250308_112500

Hello,
During the last tests I noticed by chance that when confirming a face, there are several identical entries in the output. Maybe it is necessary for this to happen, but maybe you can reduce the number of steps here to reduce access to the database or to the photos. That is up to you to decide:

- It is triggered many times in a row.
"digikam.general: Detected change, triggering rescan of ....."

- The Huffman table is read or written several times. I cannot tell which. It is always the same values.

- The metadata is read several times.
"digikam.metaengine: Loading metadata with "Exiv2" backend ...."

Thanks
Andy
Comment 1 Maik Qualmann 2025-03-08 11:01:49 UTC
You have activated external monitoring of albums for changes. Do you really need this function? That means, do you change images while digiKam is running using other programs and would you like the changes to be updated immediately in digiKam? This external monitoring of albums for changes leads to increased updates and reading of the images.

Maik
Comment 2 Andy 2025-03-08 11:19:10 UTC
Created attachment 179222 [details]
Output 20250308_121600

Hi!

OK. It says monitoring of external programs. So I thought that changes by digikam itself were excluded.

I turn the option off and restart.

Attached is a new output. It is a bit shorter. The section with the Huffman type is still duplicated.

Thank you very much!
Andy
Comment 3 Maik Qualmann 2025-03-10 07:02:06 UTC
I don't see any errors in the debug logs. We just need to load the image to create the face thumbnail. This may use a different image loading method than what is set in the view (fast preview, full preview or RAW image). We also need to loop through the file to create a new unique file UUID since adding metadata has changed the file etc.

Maik