Bug 180664 - Having no text in summary field of event dialog causes lot of "Please specify a summary." dialogs to appear leading to crash
Summary: Having no text in summary field of event dialog causes lot of "Please specify...
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-14 14:29 UTC by Gavin Pryke
Modified: 2009-01-15 01:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Pryke 2009-01-14 14:29:06 UTC
Version:            (using Devel)
Compiler:          gcc-4.1.2 Gentoo
OS:                Linux
Installed from:    Compiled sources

qt-copy patches 910240
kdelibs 910610
kdepimlibs 910852
kdepim 910583

Having no text in the summary field of an event dialog and continually clicking the OK button brings up a lot of windows stacked on top of each other asking "Please specify a summary.", if I then click on Cancel of the event window underneath the dialog while all of these dialog windows are open, there is another window asking "Do you really want to cancel?" If I click yes I am back to a window with "Please specify a summary.", if I click OK on this I get a crash.

Steps to reproduce:
1) Create a new event in korganizer with no text in the summary field, click OK.
2) A dialog window appears with "Please specify a summary.", click the "Cancel" button of the event editor window underneath this dialog window.
3) Another dialog window appears with "Do you really want to cancel?", click OK.
4) In the "Please specify a summary." dialog, click OK on this and korganizer crashes.

Notes:
Found this from unsuccessfully trying to reproduce bug #100691
Related to wishlist bug #132815
I could not find any other bugs similar.

Backtrace:
----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----

Application: KOrganizer (korganizer), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".

Thread 1 (Thread 0xb51a36f0 (LWP 28766)):
[KCrash Handler]
#6  QHash<QObject*, QString>::findNode (this=0x92fa808, akey=@0xbf93b854, ahp=0x0) at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qhash.h:859
#7  0xb6d9a587 in QSignalMapper::map (this=0x92ece70, sender=0x91b6a48) at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qhash.h:846
#8  0xb6d9a73e in QSignalMapper::map (this=0x92ece70) at /home/kde4test/kdesvn/qt-copy/src/corelib/kernel/qsignalmapper.cpp:262
#9  0xb6d9ac57 in QSignalMapper::qt_metacall (this=0x92ece70, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf93b96c) at .moc/release-shared/moc_qsignalmapper.cpp:80
#10 0xb6d9415a in QMetaObject::activate (sender=0x91b6a48, from_signal_index=<value optimized out>, to_signal_index=30, argv=<value optimized out>)
    at /home/kde4test/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3028
#11 0xb6d94440 in QMetaObject::activate (sender=0x91b6a48, m=0xb6b01e04, from_local_signal_index=2, to_local_signal_index=3, argv=0xbf93b96c)
    at /home/kde4test/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3121
#12 0xb6a388a1 in QAbstractButton::clicked (this=0x91b6a48, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:185
#13 0xb67d8ab9 in QAbstractButtonPrivate::emitClicked (this=0x93058e8) at /home/kde4test/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:538
#14 0xb67da2f0 in QAbstractButtonPrivate::click (this=0x93058e8) at /home/kde4test/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:531
#15 0xb67da518 in QAbstractButton::mouseReleaseEvent (this=0x91b6a48, e=0xbf93c040) at /home/kde4test/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:1110
#16 0xb652770f in QWidget::event (this=0x91b6a48, event=0xbf93c040) at /home/kde4test/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:7163
#17 0xb67d96d3 in QAbstractButton::event (this=0x91b6a48, e=0xbf93c040) at /home/kde4test/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:1072
#18 0xb686d181 in QPushButton::event (this=0x91b6a48, e=0xbf93c040) at /home/kde4test/kdesvn/qt-copy/src/gui/widgets/qpushbutton.cpp:652
#19 0xb64dd6df in QApplicationPrivate::notify_helper (this=0x8f7f8c0, receiver=0x91b6a48, e=0xbf93c040) at /home/kde4test/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3803
#20 0xb64e4301 in QApplication::notify (this=0xbf93c6f0, receiver=0x91b6a48, e=0xbf93c040) at /home/kde4test/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3528
#21 0xb7d86393 in KApplication::notify (this=0xbf93c6f0, receiver=0x91b6a48, event=0xbf93c040) at /home/kde4test/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#22 0xb6d83a26 in QCoreApplication::notifyInternal (this=0xbf93c6f0, receiver=0x91b6a48, event=0xbf93c040) at /home/kde4test/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:583
#23 0xb64e3910 in QApplicationPrivate::sendMouseEvent (receiver=0x91b6a48, event=0xbf93c040, alienWidget=0x91b6a48, nativeWidget=0x92f4c68, buttonDown=0xb6b0ddf0, lastMouseReceiver=@0xb6b0ddf4)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:212
#24 0xb653ecae in QETWidget::translateMouseEvent (this=0x92f4c68, event=0xbf93c41c) at /home/kde4test/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:4044
#25 0xb653e1a3 in QApplication::x11ProcessEvent (this=0xbf93c6f0, event=0xbf93c41c) at /home/kde4test/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:3040
#26 0xb65629f8 in x11EventSourceDispatch (s=0x8f850f8, callback=0, user_data=0x0) at /home/kde4test/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#27 0xb596559f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0

----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----

I hope this is explained well enough to be understood and that I filed this in the right place. Thanks for your time.
Comment 1 Allen Winter 2009-01-15 01:31:18 UTC
SVN commit 911188 by winterz:

Give the sorry KMessageBoxes a parent (the incidence editors) so that
they are modal wrt that parent.
BUG: 180664


 M  +3 -1      koeditorgeneral.cpp  
 M  +1 -0      koeditorgeneral.h  
 M  +6 -6      koeditorgeneralevent.cpp  
 M  +1 -1      koeditorgeneraljournal.cpp  
 M  +10 -5     koeditorgeneraltodo.cpp  
 M  +4 -2      koeditorrecurrence.cpp  
 M  +1 -0      koeditorrecurrence.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=911188