Bug 461799

Summary: No progress is shown for second face recognition process
Product: [Applications] digikam Reporter: MarcP <iwannaberich>
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: iwannaberich, metzpinguin
Priority: NOR    
Version First Reported In: 7.9.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.0.0
Sentry Crash Report:

Description MarcP 2022-11-14 01:23:22 UTC
SUMMARY
I noticed that if a second (or more) face recognition task is started when some other faces are being recognized, the second (and subsequent) tasks are not shown in the progress bar. However, it will continue in the background, although there's no visual feedback of the process completion.

STEPS TO REPRODUCE
1. Select a picture folder/album, right click, "Scan for Faces".
2. Observe how a progress bar is shown at the bottom right.
3. Select another picture folder/album, right click, "Scan for Faces".

OBSERVED RESULT
Nothing apparently happens. The second album is actually being scanned, but without any indicator of its progress.

EXPECTED RESULT
A second progress bar should appear showing the progress of that second task.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kubuntu 22.04 LTS 
digiKam-7.9.0-20221030T175249-x86-64.appimage
Comment 1 Maik Qualmann 2022-11-14 06:46:49 UTC
This was changed in digiKam-8.0.0, it is no longer possible to start other processes and a message is displayed. The start of several face detection/recognition processes is not wanted due to the high memory consumption.

Maik
Comment 2 Maik Qualmann 2022-11-14 06:52:18 UTC
See also this: https://invent.kde.org/graphics/digikam/-/merge_requests/192

Maik
Comment 3 MarcP 2022-11-14 12:50:20 UTC
Wouldn't a better option be queueing the pictures to be scanned for faces, so they don't run in parallel but in series?