Bug 453707

Summary: Resizing and then ignoring recognised face ignores the original rectangle and resizes the rectangle for the suggested face
Product: [Applications] digikam Reporter: arthur
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 7.7.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 7.7.0
Sentry Crash Report:

Description arthur 2022-05-12 16:04:32 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Go to the suggested section for a certain person (where the recognised photos that haven't been confirmed yet are)
2. Open a photo
3. Resize the rectangle that should be around the face
4. Press the ignore button (backwards arrow)
5. Go back to thumbnail view
6. Click on the same thumbnail you just clicked

OBSERVED RESULT
1. The original selection (the rectangle as it was originally shown) is an ignored face
2. The new selection is now suggested to be the originally suggested face - so if selection 1 was suggested to be person A, selection 2 is now suggested to be person A.


EXPECTED RESULT
1. The original selection is transformed into the edited selection and then ignored
2. The original selection is gone and not to be found in the suggestion menu

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

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2022-05-14 19:05:33 UTC
Git commit 61ad10a68768a6a15587a461b758039fea1150cf by Maik Qualmann.
Committed on 14/05/2022 at 19:04.
Pushed by mqualmann into branch 'qt5-maintenance'.

apply changed face region before ignore the face region
FIXED-IN: 7.7.0

M  +2    -1    NEWS
M  +32   -5    core/utilities/facemanagement/items/facegroup.cpp

https://invent.kde.org/graphics/digikam/commit/61ad10a68768a6a15587a461b758039fea1150cf