Bug 459954

Summary: digikam shows non existing new faces
Product: [Applications] digikam Reporter: Juanma <juxmix>
Component: Faces-RecognitionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: metzpinguin
Priority: NOR    
Version: 7.5.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Image of the false new faces found

Description Juanma 2022-10-03 21:57:06 UTC
Created attachment 152577 [details]
Image of the false new faces found

After a heave use of facial recognition digikam shows a few persons with new faces pending that does not exists (or at least are not shown when pressed the person in particular)
***
STEPS TO REPRODUCE
1. Do facial recognition with plenty of photos 
2. Confirm correct recognized faces and manually tag the rest

OBSERVED RESULT
Some faces show pending recognized faces that digikam don't show if you press the person icon

EXPECTED RESULT
No pending faces al all

SOFTWARE/OS VERSIONS
Linux: Ubuntu 22.04.1 LTS
KDE Plasma Version: ???
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2022-10-04 05:51:47 UTC

*** This bug has been marked as a duplicate of bug 432760 ***
Comment 2 Maik Qualmann 2022-10-04 05:56:15 UTC
The problem has already been reported. It is possible that the origin of the error was only fixed in digiKam-8.0.0 through changes to write processes in the database. Since I have never been able to reproduce the problem, if you use SQLite, can you send me the digikam4.db to my email?
To investigate the problem and possibly implement a repair in the database maintenance tool.

Maik
Comment 3 Maik Qualmann 2022-10-04 12:01:45 UTC
Thank you for the database. For me, 6 items were displayed with a green frame. So your database is consistent. But I found the reason why they are not displayed for you. You have deactivated the option to display the original image in the digiKam settings under Editor-> Versioning. The images are "hidden" for viewing because they are original images where an edited version exists. We now have to consider whether we ignore versioning in the People View.

Maik