Bug 262171 - When attaching a name to a face in Preview mode, the widget does not behave correctly
Summary: When attaching a name to a face in Preview mode, the widget does not behave c...
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-05 11:23 UTC by Julien Narboux
Modified: 2017-08-15 21:49 UTC (History)
2 users (show)

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


Attachments
Tagging widget too small (62.19 KB, image/png)
2011-12-26 10:36 UTC, Andi Clemens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Narboux 2011-01-05 11:23:59 UTC
Version:           2.0.0
OS:                Linux

When I want to attach an existing name to a face. I type the first letters of the name and then select with arrows the right name and press enter. The name is not attached to the face as it should. To make it work I need to select with arrows and confirm by clicking on confirm. I think that if you press enter or click on a name it should be the same as confirm.

Reproducible: Didn't try
Comment 1 Milan Knížek 2011-01-08 20:15:12 UTC
IMHO, the problem is that the image is not selected before the name is written into the confirmation box.
It helps to click on the image thumbnail and only then start typing the name and/or choosing the existing tag...
Comment 2 Marcel Wiesweg 2011-01-30 20:58:42 UTC
Hm, I cannot reproduce this problem, it works for me.
This is in the icon view, isnt it?

I plan to improve the behavior, so that at least the image is select if you type, even better operating on multiple images etc. I dont know though when I find time.
Comment 3 Julien Narboux 2011-04-19 11:33:41 UTC
I can confirm the problem using current git trunk. This is in preview view.

Julien
Comment 4 Olivier Kes 2011-06-23 09:56:37 UTC
Had the same problem when trying the beta6 from Phillip5 ppa yesterday.
Comment 5 Marcel Wiesweg 2011-07-11 17:03:44 UTC
Tested once again, it works as it should for me (in the preview view, hovering
a face, clicking in the line edit, typing a few letters, using Arrow down to
 select, press Enter).

Here are the essential parts of the backtrace which leads from receiving the
key press to executing the action:

#0  Digikam::AssignNameWidget::slotActionActivated (this=0x5ca5e30, action=...)
    at /home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/utilities/facedetection/assignnamewidget.cpp:716
#1  0x0000000000685a7d in Digikam::AssignNameWidget::qt_metacall (this=0x5ca5e30, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=
    0x7fffffffa6d0) at /home/marcel/freshmeat/multimedia/kde4/build/extragear/graphics/digikam/core/digikam/assignnamewidget.moc:150
#3  0x00000000005fbb40 in Digikam::AddTagsComboBox::taggingActionActivated (this=<value optimized out>, _t1=<value optimized out>)
    at /home/marcel/freshmeat/multimedia/kde4/build/extragear/graphics/digikam/core/digikam/addtagscombobox.moc:102
#4  0x00000000005fc207 in Digikam::AddTagsComboBox::slotLineEditActionActivated (this=0x77bc7f0, action=...)
    at /home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/digikam/tags/addtagscombobox.cpp:179
#7  0x00000000005feff0 in Digikam::AddTagsLineEdit::taggingActionActivated (this=<value optimized out>, _t1=<value optimized out>)
    at /home/marcel/freshmeat/multimedia/kde4/build/extragear/graphics/digikam/core/digikam/addtagslineedit.moc:120
#8  0x00000000005ff97a in Digikam::AddTagsLineEdit::slotReturnPressed (this=0x7b7eec0, text=<value optimized out>)
    at /home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/digikam/tags/addtagslineedit.cpp:368
#11 0x00007ffff1aa0355 in KLineEdit::returnPressed(QString const&) () from /usr/lib64/libkdeui.so.5
#12 0x00007ffff1b07c8f in KLineEdit::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#13 0x00007ffff0413d6d in QComboBox::keyPressEvent (this=0x77bc7f0, e=0x7fffffffc2b0) at widgets/qcombobox.cpp:3016
#14 0x00007ffff00975bc in QWidget::event (this=0x77bc7f0, event=0x7fffffffc2b0) at kernel/qwidget.cpp:8235

So it would be helpful if someone who can reproduce this problem sets breakpoints
to see at which stage the problem occurs.
Comment 6 Andi Clemens 2011-12-26 10:36:18 UTC
Created attachment 67120 [details]
Tagging widget too small
Comment 7 Andi Clemens 2011-12-26 10:42:30 UTC
oops, wrong topic....
Comment 8 caulier.gilles 2014-08-24 17:26:14 UTC
Julien, 

This problem still valid using last digiKam 4.2.0 ?

Gilles Caulier
Comment 9 caulier.gilles 2014-09-05 09:44:30 UTC
Someone can attach a screenshot of the problem please

Gilles Caulier
Comment 10 caulier.gilles 2015-05-11 09:00:37 UTC
Problem described in comment #0 is not reproducible with current implementation from git/master.

Gilles Caulier