Bug 262644 - When typing names to unconfirmed faces, only tags beginning with "name" are shown
Summary: When typing names to unconfirmed faces, only tags beginning with "name" are s...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (show other bugs)
Version: 2.0.0
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-09 11:52 UTC by Milan Knížek
Modified: 2017-08-15 18:25 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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