Bug 494199

Summary: Faces thumbnails view loses selection/focus after new face added, even when visible area is not changing
Product: [Applications] digikam Reporter: anari.jalakas
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: normal CC: 9db29ca8-9396-4cce-8e4a-64d030c6d936, caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.6.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description anari.jalakas 2024-10-06 09:03:54 UTC
Faces thumbnails view loses selection/focus after new face added, even when visible area is not changing.

STEPS TO REPRODUCE
1. People->Workflow->Detect faces->Scan
2. Go to: People->Unrecognized tag->Thumbnails
3.1 Hower on "Mark this face as Ignored" button
or 
3.2 Click on "Who is this?" and start typing
4. (When) new face is added into tag list (by background process)
5. My selection / focus will be always lost, even when added picture does not change current view area
6. After some seconds hovering, focus will reapplied to face

OBSERVED RESULT
Focus is lost, text input will be problematic, sometimes my text input will be corrupted because of lost focus.

EXPECTED RESULT
When new face is added into list:
- if this will        change visible area (causes redraw), then it should            remove focus
- if this will not change visible area (causes redraw), then it should *not* remove focus

ADDITIONAL INFORMATION
Observed in digiKam-8.5.0-20241005T220112-Qt6-x86-64.appimage
Comment 1 Maik Qualmann 2024-10-06 09:16:14 UTC

*** This bug has been marked as a duplicate of bug 474047 ***
Comment 2 caulier.gilles 2024-12-01 09:04:03 UTC
digiKam 8.5.0 is out with many improvements in face detection and recognition. Please update these entry accordingly with this version. Thanks in advance...

https://www.digikam.org/news/2024-11-16-8.5.0_release_announcement/
Comment 3 anari.jalakas 2024-12-02 20:40:18 UTC
I tested, problem is still present in: 

digiKam - 8.5.0 
and
digiKam - 8.6.0 - 20241129T131154 - Qt6 - x86-64.appimage.