Summary: | Dolphin crash if the right click menu is used while renaming a file with Qt Menu effect set to "Fade" (..., KTextEdit::contextMenuEvent, QWidget::event) | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | enkithan |
Component: | general | Assignee: | Peter Penz <peter.penz19> |
Status: | RESOLVED UPSTREAM | ||
Severity: | crash | CC: | andresbajotierra, finex, kdelibs-bugs |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
enkithan
2009-09-07 13:55:56 UTC
If you can reproduce the bug you should install debug enabled packages and paste the complete backtrace. Please read this page for more information about generating an useful backtrace: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports Many thanks If you are using KDEMod you can install the "kdebase-apps-debug" package. If you are not using them, you would need to recompile kdebase-apps ... - Does Dolphin always crash when you repeat the steps you described ? - What is your renaming mode? (inline or in a separate dialog) Thanks - Does Dolphin always crash when you repeat the steps you described ? Yes.And with any file/folder type in any view mode. - What is your renaming mode? (inline or in a separate dialog) Inline. The crash happens when I right-click on the selected text to copy it. If I install kdemod, let it create a new .kdemod folder, and change the rename mode to inline, it doesn't crash anymore. If I replace the .kdemod folder with my old .kde folder, it crashes again. The difference is than with the default setting, dolphin get out of the rename mode as soon I right-click; while with my settings, the rename mode is still active when the menu appears. kdemod + debug backtrace : #5 0x0000000000e86570 in ?? () #6 0x00007f296b6609c5 in KTextEdit::contextMenuEvent (this=<value optimized out>, event=0x7fffd9d777b0) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.3.1/kdeui/widgets/ktextedit.cpp:591 #7 0x00007f296a28a4e5 in QWidget::event (this=0xebda30, event=0x7fffd9d777b0) at kernel/qwidget.cpp:7708 #8 0x00007f296a5e3276 in QFrame::event (this=0xebda30, e=0x7fffd9d777b0) at widgets/qframe.cpp:559 #9 0x00007f2969da8007 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0xe2d9a0, event=0x7fffd9d777b0) at kernel/qcoreapplication.cpp:726 #10 0x00007f296a23b63c in QApplicationPrivate::notify_helper (this=0x9394f0, receiver=0xe2d9a0, e=0x7fffd9d777b0) at kernel/qapplication.cpp:4052 #11 0x00007f296a242c97 in QApplication::notify (this=0x7fffd9d79540, receiver=0xe2d9a0, e=0x7fffd9d777b0) at kernel/qapplication.cpp:3845 #12 0x00007f296b5698f6 in KApplication::notify (this=0x7fffd9d79540, receiver=0xe2d9a0, event=0x7fffd9d777b0) at /home/phil/kdemod/core/kdelibs/src/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302 #13 0x00007f2969da8cec in QCoreApplication::notifyInternal (this=0x7fffd9d79540, receiver=0xe2d9a0, event=0x7fffd9d777b0) at kernel/qcoreapplication.cpp:610 #14 0x00007f296a2a8521 in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4410 #15 0x00007f296a2a6c5a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffd9d79170) at kernel/qapplication_x11.cpp:3545 #16 0x00007f296a2cee3c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #17 0x00007f2965ad8dbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #18 0x00007f2965adc568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #19 0x00007f2965adc690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #20 0x00007f2969dd11b6 in QEventDispatcherGlib::processEvents (this=0x9290b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327 #21 0x00007f296a2ce61e in QGuiEventDispatcherGlib::processEvents (this=0xbde5e0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #22 0x00007f2969da75f2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #23 0x00007f2969da79c4 in QEventLoop::exec (this=0x7fffd9d79490, flags=) at kernel/qeventloop.cpp:201 #24 0x00007f2969da9b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #25 0x0000000000439515 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/phil/kdemod/core/kdebase/src/kdebase-4.3.1/apps/dolphin/src/main.cpp:94 It would be useful to know which setting is causing that behavior change (to not exit the rename mode on right click), but I don't have the enough knowledge to do it. At any point, make a copy of your .kde folder (the one that causes the crash): it may be useful in the future. Thanks I finally found what is causing the bug :) It's the Qt Fade effect for menus. As soon as I disable effects in QtConfig, KDE goes back to its default behavior (contextual menu appears and rename mode is canceled). Ironically, it's related to other the bug I reported the same day. https://bugs.kde.org/show_bug.cgi?id=206620 Now my problem is that the effect is enabled again when I restart my computer (but not when I restart X). And I can't find what KDE/Qt setting is activating them. I tried to disable all plasma/kwin effects with no success :(. Sorry, I said something wrong, the effect is actually enabled again as soon X/KDE is restarted (unlike the related plasma bug where the computer has to be restarted). I guess this could be a kdelibs/Qt issue. Thanks It is definitely a Qt issue (http://qt.nokia.com/developer/task-tracker/index_html?id=206637&method=entry). However it has been set to "Expired" there :-/ |