Summary: | accidently draged file to places while renaming | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | ruben.mueller |
Component: | view-engine: general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | adotfive, FirasHanife |
Priority: | NOR | ||
Version: | 2.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-baseapps/951cb9c35d7a9ef814b3de5b359915968da9b881 | Version Fixed In: | 4.9.4 |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
ruben.mueller
2012-11-02 13:22:08 UTC
Thanks for the bug report! I can confirm this crash. It's somewhat related to bug 308018 - the KItemListRoleEditor (the object which handles inline renaming) gets deleted in a nested event loop which is run inside one of its functions. As soon as we return from the loop, we get a crash. I might have an idea how to fix this. Git commit 951cb9c35d7a9ef814b3de5b359915968da9b881 by Frank Reininghaus. Committed on 05/11/2012 at 22:03. Pushed by freininghaus into branch 'KDE/4.9'. Prevent crashes caused by nested event loops run when renaming inline When renaming inline and starting a drag or invoking the context menu, a nested event loop will be run. If the role editor loses focus and emits roleEditingFinished(), we must prevent that deleteLater() is called because this would delete the role editor inside a nested event loop which is run from one of its own functions. We would get a crash when returning from that event loop otherwise. Related: bug 308018 FIXED-IN: 4.9.4 M +9 -2 dolphin/src/kitemviews/kstandarditemlistwidget.cpp M +47 -2 dolphin/src/kitemviews/private/kitemlistroleeditor.cpp M +12 -0 dolphin/src/kitemviews/private/kitemlistroleeditor.h http://commits.kde.org/kde-baseapps/951cb9c35d7a9ef814b3de5b359915968da9b881 Created attachment 75035 [details]
New crash information added by DrKonqi
dolphin (2.1) on KDE Platform 4.9.2 using Qt 4.8.3
- What I was doing when the application crashed:
I was renaming a file when I accidently dragged it into the left side bar and the application crashed
-- Backtrace (Reduced):
#5 0x00007f79eea7ee21 in QTextEdit::mouseMoveEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#6 0x00007f79ee66bf24 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#7 0x00007f79eea16626 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#8 0x00007f79ef48dc66 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#9 0x00007f79ee61c73c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
*** Bug 310801 has been marked as a duplicate of this bug. *** Unfortunately, it still does not always work as expected in KDE 4.9.4 (see bug 311409). Sometimes, the drag does not stop when dropping the text on the Places Panel. |