Summary: | Two faces tagged instead of one | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Frederic Grelot <fredericg_99> |
Component: | Faces-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 2.4.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/digikam/c9893c9218809c7b7f16a70314af3d9036d35caa | Version Fixed In: | 2.6.0 |
Sentry Crash Report: |
Description
Frederic Grelot
2011-12-20 19:55:42 UTC
Frederic, Please check if a similar bug is not already open in "Face Management" component from bugzilla : https://bugs.kde.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&product=digikam&component=Face+Management&long_desc_type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0= Gilles Caulier The same event is handled twice because line edit does not accept the event when emitting returnPressed: #0 Digikam::DigikamImageView::confirmFaces (this=0xe3ffe0, indexes=..., tagId=1006) at /home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/digikam/items/digikamimageview.cpp:250 #1 0x00000000005f8e16 in Digikam::DigikamImageView::qt_metacall (this=0xe3ffe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a= 0x7fffffffb140) at /home/marcel/freshmeat/multimedia/kde4/build/extragear/graphics/digikam/core/digikam/digikamimageview.moc:186 #2 0x00007ffff1032a5f in QMetaObject::activate (sender=0xe353c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv= 0x7fffffffb140) at kernel/qobject.cpp:3278 #3 0x0000000000608e71 in Digikam::AssignNameOverlay::confirmFaces (this=<value optimized out>, _t1=<value optimized out>, _t2=1006) at /home/marcel/freshmeat/multimedia/kde4/build/extragear/graphics/digikam/core/digikam/assignnameoverlay.moc:97 #4 0x0000000000609819 in Digikam::AssignNameOverlay::slotAssigned (this=0xe353c0, action=<value optimized out>, info=<value optimized out>, faceIdentifier=<value optimized out>) at /home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/digikam/items/assignnameoverlay.cpp:306 #5 0x00000000006099c8 in Digikam::AssignNameOverlay::qt_metacall (this=0xe353c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffb320) at /home/marcel/freshmeat/multimedia/kde4/build/extragear/graphics/digikam/core/digikam/assignnameoverlay.moc:84 #6 0x00007ffff1032a5f in QMetaObject::activate (sender=0x41cff00, m=<value optimized out>, local_signal_index=<value optimized out>, argv= 0x7fffffffb320) at kernel/qobject.cpp:3278 #7 0x000000000069995a in Digikam::AssignNameWidget::assigned (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>) at /home/marcel/freshmeat/multimedia/kde4/build/extragear/graphics/digikam/core/digikam/assignnamewidget.moc:200 #8 0x000000000069b22d in Digikam::AssignNameWidget::qt_metacall (this=0x41cff00, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fffffffb450) at /home/marcel/freshmeat/multimedia/kde4/build/extragear/graphics/digikam/core/digikam/assignnamewidget.moc:153 #9 0x00007ffff1032a5f in QMetaObject::activate (sender=0xe6eaf0, m=<value optimized out>, local_signal_index=<value optimized out>, argv= 0x7fffffffb450) at kernel/qobject.cpp:3278 #10 0x000000000061b750 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 #11 0x000000000061c0da in Digikam::AddTagsLineEdit::slotReturnPressed (this=0xe6eaf0, text=<value optimized out>) at /home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/digikam/tags/addtagslineedit.cpp:368 #12 0x000000000061c491 in Digikam::AddTagsLineEdit::qt_metacall (this=0xe6eaf0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a= 0x7fffffffb590) at /home/marcel/freshmeat/multimedia/kde4/build/extragear/graphics/digikam/core/digikam/addtagslineedit.moc:107 #13 0x00007ffff1032a5f in QMetaObject::activate (sender=0xe6eaf0, m=<value optimized out>, local_signal_index=<value optimized out>, argv= 0x7fffffffb590) at kernel/qobject.cpp:3278 #14 0x00007ffff1b1af55 in KLineEdit::returnPressed(QString const&) () from /usr/lib64/libkdeui.so.5 #15 0x00007ffff1b1d64e in KLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib64/libkdeui.so.5 #16 0x00007fffeffa2ce0 in QWidget::event (this=0xe6eaf0, event=0x7fffffffc260) at kernel/qwidget.cpp:8294 #0 Digikam::DigikamImageView::confirmFaces (this=0xe3ffe0, indexes=..., tagId=1006) at /home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/digikam/items/digikamimageview.cpp:250 #1 0x00000000005f8e16 in Digikam::DigikamImageView::qt_metacall (this=0xe3ffe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a= 0x7fffffffb810) at /home/marcel/freshmeat/multimedia/kde4/build/extragear/graphics/digikam/core/digikam/digikamimageview.moc:186 #2 0x00007ffff1032a5f in QMetaObject::activate (sender=0xe353c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv= 0x7fffffffb810) at kernel/qobject.cpp:3278 #3 0x0000000000608e71 in Digikam::AssignNameOverlay::confirmFaces (this=<value optimized out>, _t1=<value optimized out>, _t2=1006) at /home/marcel/freshmeat/multimedia/kde4/build/extragear/graphics/digikam/core/digikam/assignnameoverlay.moc:97 #4 0x0000000000609819 in Digikam::AssignNameOverlay::slotAssigned (this=0xe353c0, action=<value optimized out>, info=<value optimized out>, faceIdentifier=<value optimized out>) at /home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/digikam/items/assignnameoverlay.cpp:306 #5 0x00000000006099c8 in Digikam::AssignNameOverlay::qt_metacall (this=0xe353c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffb9f0) at /home/marcel/freshmeat/multimedia/kde4/build/extragear/graphics/digikam/core/digikam/assignnameoverlay.moc:84 #6 0x00007ffff1032a5f in QMetaObject::activate (sender=0x41cff00, m=<value optimized out>, local_signal_index=<value optimized out>, argv= 0x7fffffffb9f0) at kernel/qobject.cpp:3278 #7 0x000000000069995a in Digikam::AssignNameWidget::assigned (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>) at /home/marcel/freshmeat/multimedia/kde4/build/extragear/graphics/digikam/core/digikam/assignnamewidget.moc:200 #8 0x000000000069a748 in Digikam::AssignNameWidget::slotConfirm (this=0x41cff00) at /home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/utilities/facedetection/assignnamewidget.cpp:715 #9 0x00007fffeffa2ce0 in QWidget::event (this=0x41cff00, event=0x7fffffffc260) at kernel/qwidget.cpp:8294 #10 0x00007ffff0347a86 in QFrame::event (this=0x41cff00, e=0x7fffffffc260) at widgets/qframe.cpp:557 Git commit c9893c9218809c7b7f16a70314af3d9036d35caa by Marcel Wiesweg. Committed on 19/05/2012 at 13:51. Pushed by mwiesweg into branch 'master'. With AddTagsLineEdit, the return key triggers an action and should be accepted, to prevent triggering the same event if the parent widget also listens for Return. M +2 -1 NEWS M +1 -0 digikam/tags/addtagslineedit.cpp http://commits.kde.org/digikam/c9893c9218809c7b7f16a70314af3d9036d35caa *** Bug 281792 has been marked as a duplicate of this bug. *** |