Bug 187884 - Dolphin Crashes when we drop url to same folder
Summary: Dolphin Crashes when we drop url to same folder
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-22 21:59 UTC by Rahman Duran
Modified: 2009-03-26 14:44 UTC (History)
3 users (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 Rahman Duran 2009-03-22 21:59:26 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

How to reproduce:
1.Make sure the view uses grouping
2.simply drag a file and drop it somewhere in same directory ( not on a dir or other item, simply drop it on white ground).
3.now popup menu appears (move here, copy here, cancel etc.)
4. Don't use the popup menu and just click to background.
5. Now you see that the popup menu closed, but something weird happened; we have the small file icon with mouse arrow like we have when we dragging.
6. click to somewhere empty on the view and our dropping popup menu reappears.
7. Now either click to view or click an item on popup menu, dolphin crashes.

It is not random and it crashed everytime I tried.


Backtrace

Application: Dolphin (dolphin), signal SIGSEGV
[Current thread is 1 (Thread 0xb5a96700 (LWP 18006))]

Thread 1 (Thread 0xb5a96700 (LWP 18006)):
[KCrash Handler]
#6  0xb66a21f9 in QEventLoop::exit (this=0x0, returnCode=0) at ../../include/QtCore/../../src/corelib/kernel/qeventloop.h:58
#7  0xb6964d74 in QDragManager::eventFilter (this=0x8211d50, o=0x83418c0, e=0xbfe8b70c) at kernel/qdnd_x11.cpp:1307
#8  0xb66a2f8c in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x80e5f88, receiver=0x83418c0, event=0xbfe8b70c) at kernel/qcoreapplication.cpp:699
#9  0xb68db533 in QApplicationPrivate::notify_helper (this=0x80e5f88, receiver=0x83418c0, e=0xbfe8b70c) at kernel/qapplication.cpp:4059
#10 0xb68e41f1 in QApplication::notify (this=0xbfe8d430, receiver=0x83418c0, e=0xbfe8b70c) at kernel/qapplication.cpp:3786
#11 0xb762c0cd in KApplication::notify (this=0xbfe8d430, receiver=0x83418c0, event=0xbfe8b70c) at /home/rahman/kdelibs/kdeui/kernel/kapplication.cpp:307
#12 0xb66a3cbb in QCoreApplication::notifyInternal (this=0xbfe8d430, receiver=0x83418c0, event=0xbfe8b70c) at kernel/qcoreapplication.cpp:602
#13 0xb68e325e in QApplicationPrivate::sendMouseEvent (receiver=0x83418c0, event=0xbfe8b70c, alienWidget=0x0, nativeWidget=0x83418c0, buttonDown=0xb71781a0, lastMouseReceiver=@0xb71781a4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#14 0xb69527fd in QETWidget::translateMouseEvent (this=0x83418c0, event=0xbfe8bc6c) at kernel/qapplication_x11.cpp:4425
#15 0xb695154d in QApplication::x11ProcessEvent (this=0xbfe8d430, event=0xbfe8bc6c) at kernel/qapplication_x11.cpp:3543
#16 0xb697ae12 in x11EventSourceDispatch (s=0x80e89a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#17 0xb5e0e9a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0xb5e12063 in ?? () from /usr/lib/libglib-2.0.so.0
#19 0xb5e12221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0xb66cf568 in QEventDispatcherGlib::processEvents (this=0x80e5dd0, flags={i = -1075266008}) at kernel/qeventdispatcher_glib.cpp:323
#21 0xb697a555 in QGuiEventDispatcherGlib::processEvents (this=0x80e5dd0, flags={i = -1075265960}) at kernel/qguieventdispatcher_glib.cpp:202
#22 0xb66a22da in QEventLoop::processEvents (this=0x834e7c8, flags={i = -1075265896}) at kernel/qeventloop.cpp:149
#23 0xb66a271a in QEventLoop::exec (this=0x834e7c8, flags={i = -1075265684}) at kernel/qeventloop.cpp:200
#24 0xb6962e4b in QDragManager::drag (this=0x8211d50, o=0x8325db8) at kernel/qdnd_x11.cpp:1952
#25 0xb68eec1a in QDrag::exec (this=0x8325db8, supportedActions={i = -1075265508}, defaultDropAction=Qt::IgnoreAction) at kernel/qdrag.cpp:282
#26 0xb7bcd0a2 in DragAndDropHelper::startDrag (this=0x821a070, itemView=0x8198ee8, supportedActions={i = -1075265432}, controller=0x81dd870)
    at /home/rahman/kdebase/apps/dolphin/src/draganddrophelper.cpp:85
#27 0xb7bb1faf in DolphinIconsView::startDrag (this=0x8198ee8, supportedActions={i = -1075265180}) at /home/rahman/kdebase/apps/dolphin/src/dolphiniconsview.cpp:198
#28 0xb6e4d72d in QAbstractItemView::mouseMoveEvent (this=0x8198ee8, event=0xbfe8cbfc) at itemviews/qabstractitemview.cpp:1547
#29 0xb6e660f2 in QListView::mouseMoveEvent (this=0x8198ee8, e=0xbfe8cbfc) at itemviews/qlistview.cpp:831
#30 0xb7614d84 in KCategorizedView::mouseMoveEvent (this=0x8198ee8, event=0xbfe8cbfc) at /home/rahman/kdelibs/kdeui/itemviews/kcategorizedview.cpp:1034
#31 0xb6931f9d in QWidget::event (this=0x8198ee8, event=0xbfe8cbfc) at kernel/qwidget.cpp:7501
#32 0xb6d03e53 in QFrame::event (this=0x8198ee8, e=0xbfe8cbfc) at widgets/qframe.cpp:559
#33 0xb6da3dff in QAbstractScrollArea::viewportEvent (this=0x8198ee8, e=0xbfe8b0b0) at widgets/qabstractscrollarea.cpp:962
#34 0xb6e521f7 in QAbstractItemView::viewportEvent (this=0x8198ee8, event=0xbfe8cbfc) at itemviews/qabstractitemview.cpp:1466
#35 0xb6da6405 in QAbstractScrollAreaFilter::eventFilter (this=0x81ef300, o=0x81ac900, e=0xbfe8cbfc) at widgets/qabstractscrollarea_p.h:100
#36 0xb66a2eca in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80e5f88, receiver=0x81ac900, event=0xbfe8cbfc) at kernel/qcoreapplication.cpp:718
#37 0xb68db59a in QApplicationPrivate::notify_helper (this=0x80e5f88, receiver=0x81ac900, e=0xbfe8cbfc) at kernel/qapplication.cpp:4080
#38 0xb68e41f1 in QApplication::notify (this=0xbfe8d430, receiver=0x81ac900, e=0xbfe8cbfc) at kernel/qapplication.cpp:3786
#39 0xb762c0cd in KApplication::notify (this=0xbfe8d430, receiver=0x81ac900, event=0xbfe8cbfc) at /home/rahman/kdelibs/kdeui/kernel/kapplication.cpp:307
#40 0xb66a3cbb in QCoreApplication::notifyInternal (this=0xbfe8d430, receiver=0x81ac900, event=0xbfe8cbfc) at kernel/qcoreapplication.cpp:602
#41 0xb68e325e in QApplicationPrivate::sendMouseEvent (receiver=0x81ac900, event=0xbfe8cbfc, alienWidget=0x81ac900, nativeWidget=0x816dad8, buttonDown=0xb71781a0, lastMouseReceiver=@0xb71781a4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#42 0xb69527fd in QETWidget::translateMouseEvent (this=0x816dad8, event=0xbfe8d15c) at kernel/qapplication_x11.cpp:4425
#43 0xb695154d in QApplication::x11ProcessEvent (this=0xbfe8d430, event=0xbfe8d15c) at kernel/qapplication_x11.cpp:3543
#44 0xb697ae12 in x11EventSourceDispatch (s=0x80e89a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0xb5e0e9a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#46 0xb5e12063 in ?? () from /usr/lib/libglib-2.0.so.0
#47 0xb5e12221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#48 0xb66cf568 in QEventDispatcherGlib::processEvents (this=0x80e5dd0, flags={i = -1075260648}) at kernel/qeventdispatcher_glib.cpp:323
#49 0xb697a555 in QGuiEventDispatcherGlib::processEvents (this=0x80e5dd0, flags={i = -1075260600}) at kernel/qguieventdispatcher_glib.cpp:202
#50 0xb66a22da in QEventLoop::processEvents (this=0xbfe8d3c0, flags={i = -1075260536}) at kernel/qeventloop.cpp:149
#51 0xb66a271a in QEventLoop::exec (this=0xbfe8d3c0, flags={i = -1075260472}) at kernel/qeventloop.cpp:200
#52 0xb66a4bc9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#53 0xb68db437 in QApplication::exec () at kernel/qapplication.cpp:3553
#54 0x0807aa08 in main (argc=5, argv=0xbfe8d5e4) at /home/rahman/kdebase/apps/dolphin/src/main.cpp:94
Comment 1 Dario Andres 2009-03-23 12:50:32 UTC
What is your KDE/Qt versions? (or SVN revision/branch)
This looks related to bug 183374
Comment 2 Rahman Duran 2009-03-23 15:05:27 UTC
its latest svn trunk and qt-copy
Comment 3 Harald Hvaal 2009-03-26 13:40:55 UTC
SVN commit 944888 by metellius:

BUG: 187884
Do not start a new drag while one is currently underway.


 M  +7 -0      draganddrophelper.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=944888
Comment 4 Harald Hvaal 2009-03-26 13:42:13 UTC
If this bug did not fix it, let me know.
Comment 5 Harald Hvaal 2009-03-26 13:43:02 UTC
I meant, if this patch did not fix it.
Comment 6 Harald Hvaal 2009-03-26 14:44:55 UTC
SVN commit 944917 by metellius:

Forwardport of r944888
BUG: 187884
Do not start a new drag while one is currently underway.



 M  +7 -0      draganddrophelper.cpp  


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