Bug 426332

Summary: Confirmed Face Tags Turned To Unconfirmed
Product: [Applications] digikam Reporter: rb2005 <rbshsite>
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.2.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.2.0
Sentry Crash Report:

Description rb2005 2020-09-09 07:21:12 UTC
SUMMARY
Face tags previously confirmed turned to unconfirmed.

STEPS TO REPRODUCE
1. Scan for faces and enter names. Confirmed the tags name. Tags turned into "permanent" labels.
2. Move to the next image. Then return to the previous image with confirmed tags.
3. Tags confirmed have changed to "Confirm, cancel" prompts with the previously confirmed names in the suggestion label box.

OBSERVED RESULT
All previously confirmed tags turned into "Confirm-Cancel" prompts.

EXPECTED RESULT
Confirmed tags suppose to be labels in images.

SOFTWARE/OS VERSIONS
Windows: Windows 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
digiKam-7.2.0-beta1-20200908T121020-Win64
Comment 1 rb2005 2020-09-09 07:41:04 UTC
Correction: "Confirm-Remove" prompts
Comment 2 Maik Qualmann 2020-09-15 21:27:51 UTC
Yes, the code is broken here at the moment, I'm fixing it step by step.

Maik
Comment 3 Maik Qualmann 2020-09-16 06:10:06 UTC
Git commit b22be110df2d85da5c2563b6875314b4043b52dd by Maik Qualmann.
Committed on 16/09/2020 at 06:09.
Pushed by mqualmann into branch 'master'.

first step to fix AssignNameWidget
FIXED-IN: 7.2.0

M  +2    -1    NEWS
M  +2    -2    core/libs/database/tags/facetagsiface.cpp
M  +24   -7    core/utilities/facemanagement/items/facegroup.cpp
M  +3    -2    core/utilities/facemanagement/items/facegroup_p.cpp
M  +5    -2    core/utilities/facemanagement/widgets/assignnamewidget.cpp

https://invent.kde.org/graphics/digikam/commit/b22be110df2d85da5c2563b6875314b4043b52dd
Comment 4 rb2005 2020-09-18 18:59:25 UTC
Tested and confirmed to be working as intended. Thanks for the up-keeping of this nice app.
Comment 5 caulier.gilles 2020-09-18 19:59:32 UTC
Thanks for the feedback