Bug 345184 - when manually adding a face, the focus should automatically go to the text field
Summary: when manually adding a face, the focus should automatically go to the text field
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (show other bugs)
Version: 4.8.0
Platform: Kubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-15 17:17 UTC by Stephan Olbrich
Modified: 2017-08-15 21:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Olbrich 2015-03-15 17:17:34 UTC
When adding a new face manually you always have to move the focus to the textfield by either pressing TAB or clicking into the textfield before entering the name of the person.
Automatically switching the focus after the rectangle is drawn would speed up the process of manual face tagging.

Reproducible: Always

Steps to Reproduce:
1. Click on the add face button
2. Draw a rectangle around a face


Actual Results:  
no object has the focus?

Expected Results:  
the textfield should have the focus and the text ("unknown" or whatever the text is in english) should be selected so that you can start typing right away.
Comment 1 Maik Qualmann 2015-04-10 19:27:40 UTC
Git commit 06d328f677a97c502887bfafb559ae94ca6dcce1 by Maik Qualmann.
Committed on 10/04/2015 at 19:17.
Pushed by mqualmann into branch 'master'.

set focus to LineEdit from AssignNameWidget when widget is shown
FIXED-IN: 4.10.0

M  +2    -1    NEWS
M  +19   -0    utilities/facemanagement/assignnamewidget.cpp
M  +1    -0    utilities/facemanagement/assignnamewidget.h

http://commits.kde.org/digikam/06d328f677a97c502887bfafb559ae94ca6dcce1
Comment 2 caulier.gilles 2015-04-10 19:40:01 UTC
Git commit a5395215a74a8b36f3bb6b8ab8ab66e38c5782ab by Gilles Caulier.
Committed on 10/04/2015 at 16:37.
Pushed by cgilles into branch 'frameworks'.

backport commit #06d328f677a97c502887bfafb559ae94ca6dcce1 from git/master to frameworks branch

M  +19   -0    utilities/facemanagement/assignnamewidget.cpp
M  +1    -0    utilities/facemanagement/assignnamewidget.h

http://commits.kde.org/digikam/a5395215a74a8b36f3bb6b8ab8ab66e38c5782ab
Comment 3 Stas 2015-08-27 12:12:35 UTC
Hello, I see now, that this feature is realized in the actual version 4.12. Can you please make an option for this feature to optionally turn it on and off. I have a different workflow (as I think this is the fastest one): I first go through all pictures and draw rectangles in case there are not allready there. Than I go to face menu and just select all faces of the same person and assign the face tag. This way I have to type the name only once.

With the new focus I can not move from picture to picture fast (with shortcuts) but have to do it with the mouse.

Plese do it as an option ;)
Comment 4 caulier.gilles 2015-08-27 14:37:22 UTC
This file is closed now. Please fill a new entry with a link to this file.

Thanks in advance

Gilles Caulier