Bug 262644

Summary: When typing names to unconfirmed faces, only tags beginning with "name" are shown
Product: [Applications] digikam Reporter: Milan Knížek <knizek>
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, rene
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.0

Description Milan Knížek 2011-01-09 11:52:26 UTC
Version:           2.0.0 (using KDE 4.5.4) 
OS:                Linux

digiKam allows to quickly search through tags in full text mode, i.e. any tag, which includes the search string is shown.

However, while confirming the face recognition, only the tags beginning with the search string are shown.

Reproducible: Always

Steps to Reproduce:
Create tag "/People/Malkovich John"
Scan collection for face detection
Filter faces in "/People/Unknown"
Click on face thumbnail
Click to editable field for entering the name
Start typing "John"

Actual Results:  
Tag "Malkovich John" is not found.

Expected Results:  
Existing tag "Malkovich John" should appear below the search string.
Comment 1 Marcel Wiesweg 2011-01-11 13:31:58 UTC
We're using KDE's completion classes here. I'm not sure how to teach them different behavior.
Comment 2 Milan Knížek 2011-01-22 18:46:15 UTC
I am not a developer: however, how does the quick search functionality for filtering the tags in album view work (in both Caption/Tags and Tag Filters)? I can type "John" there and the tag /People/Malkovich John is found.
Comment 3 Marcel Wiesweg 2011-01-24 14:04:12 UTC
It's just a different technology, one uses the KDE KCompletion classes, the other uses a filter model for filtering, with a self written filter method.

I certainly accept this as a bug, but these line edit classes are not easy to deal with, sometimes simple changes take hours. It'll have to wait a bit.
Comment 4 Maik Qualmann 2015-12-16 19:46:42 UTC
Git commit 089a4926d5a5a74148cc199ba57502b822a93ac7 by Maik Qualmann.
Committed on 16/12/2015 at 19:42.
Pushed by mqualmann into branch 'master'.

face Tags and text search bar completer show items now if contains match
FIXED-IN: 5.0.0

M  +2    -2    NEWS
M  +12   -1    libs/tags/taggingactionfactory.cpp
M  +2    -0    libs/tags/tagscompleter.cpp
M  +4    -3    libs/widgets/common/modelcompleter.cpp

http://commits.kde.org/digikam/089a4926d5a5a74148cc199ba57502b822a93ac7