Bug 281792

Summary: When tagging with 'Return', too many faces are tagged
Product: [Applications] digikam Reporter: Frederic Grelot <fredericg_99>
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: anantapalani, caulier.gilles
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description Frederic Grelot 2011-09-11 10:25:40 UTC
Version:           2.2.0 (using KDE 4.7.1) 
OS:                Linux

Say you have 3 detected faces (A, B, C). You want to tag A and B with the same name, but you're lazy and don't want to use your mouse too much...

Reproducible: Didn't try

Steps to Reproduce:
In the people recognition process, select the first one (A), enter its name in the input field, and hit enter. As you would guess, A disappears (since it is removed from the "Unknown" tag), B gets selected. Now, you're happy, since B is selected and the cursor is inside the input field, with the same name as previously. So you just have to press "Return" so that B gets tagged

Actual Results:  
B *and* C suddenly get tagged (while C was not selected)

Expected Results:  
only B is tagged, it disappears, C gets selected and you do what you want with it.

OS: Linux (x86_64) release 3.0.1-3.fc16.x86_64 (Actually Fedora 15 with kernel from rawhide)
Compiler: gcc
Comment 1 Marcel Wiesweg 2011-09-11 13:55:45 UTC
I suspect the same problem as 277808, hopefully fixed with my commits from Saturday night
Comment 2 Ananta Palani 2011-11-14 22:12:14 UTC
Still a problem in 2.3.0 on Windows. If you click the 'check' icon everything works correctly (only one image tagged), but if you press 'enter' on the keyboard then the current unknown face and the next one in the same album are tagged (causing both images to disappear form unknown faces tag).
Comment 3 caulier.gilles 2011-12-14 13:51:19 UTC
Ananta,

It still reproducible with current implementation from git/master under windows ?

Gilles Caulier
Comment 4 Ananta Palani 2011-12-14 13:52:54 UTC
Gilles,

I'm not sure. Still having trouble with digiKam not showing photos properly as per my e-mail. I'll try this out this weekend with just a couple photos.

-Ananta
Comment 5 Frederic Grelot 2012-03-04 18:54:20 UTC
I can confirm that this bug still exists on git revision b2a26bf1bc6520c07dd3b5b4f4a13f0a62d641b0 (Feb 22th).
Comment 6 Marcel Wiesweg 2012-07-04 20:00:22 UTC
Should be fixed

*** This bug has been marked as a duplicate of bug 289454 ***
Comment 7 caulier.gilles 2019-12-23 15:12:04 UTC
Not reproducible with 7.0.0-beta1