Bug 460463

Summary: Scroll position in Faces view keeps jumping back & forth during face recognition/detection
Product: [Applications] digikam Reporter: Jens <jens-bugs.kde.org>
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.9.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In: 8.0.0

Description Jens 2022-10-15 09:07:04 UTC

1. Detect and recognize a number of faces so Digikam can make suggestions.
2. Start recognition of a number of new photos with a certain person on them (it should keep Digikam busy for ~1min at least to see the issue) 
3. Open the Face view of a person. There should be sufficient faces to make Digikam create a scrollbar for the view, ie. at least 100 or so.
3. Start correcting & reorganizing photos in this face view

When a face is detected and Digikam suggests to put it in the currently opened Face view, the scroll position jumps to the top of the view where the suggested face is added, and then back. Sometimes, it does not jump back, or jumps to a completely different position. Also, during detection, selecting faces for reorganization is hard because the input focus keeps flickering.

Detecting and/or recognizing faces should not change the foreground view, should not cause flickering of input fields. It should be possible to have a detection job in the background and *simultaneously* reorganize & correct existing faces. Except for the progress bar at the bottom of the screen and the CPU load, face detection and recognition should not be noticeable at all.

SOFTWARE/OS VERSIONS: KDE Neon 20.04 with Digikam-7.9 appimage with debug enabled from 2022-10-12.

Possible duplicate of #402322.
Comment 1 Maik Qualmann 2022-10-15 09:26:21 UTC

*** This bug has been marked as a duplicate of bug 402322 ***
Comment 2 caulier.gilles 2022-11-24 07:17:01 UTC
Fixed with #402322