Version: (using Devel) OS: Linux Installed from: Compiled sources my Distro : Kubuntu 8.10 + KDE 4.2 Beta2 Way of producing this bug: 1- rename a file ( jpg , pdf , text or ... ) on Desktop folder view 2- right click on highlighted name of file 3-1: wait some seconds & move mouse or 3-2: click on copy
can't reproduce here, can you do a backtrace? http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
sorry , I can't :(
This happens to me, too. But there isn't any Backtrace. I mean, the crash reporter don't start to make a backbrace :-( And this happens to me When the Desktop is on Folder view state! (on Folder view plasmoid the rename doesn't work for me :-( I mean doesn't do anything!)
i can confirm this bug :/
sorry, didn't specify, no bt available for me too...
i still have this bug in KDE 4.2 Final ...
Same problem here with Arch Linux and KDE 4.2. I rightclick on a file in the folder view and choose "rename". Nothing happens at all.
Are the crash still valid with 4.2? If it's I can tell you some steps in order to produce a backtrace. Thanks
I haven't experienced any crashes with the folder view so far. Renaming is working at the moment, but every now and then it just doesn't work. Neither via F2 nor via right-click menu.
I can confirm this bug using KDE 4.2.1, Qt 4.4.3. Steps to reproduce: 1) Add a folderview on your desktop 2) Right click on a file, click rename 3) Right click on the selected text 4) click *anywhere* on the deskop or on the popup menu -> crash! What is really strange here is that drkonqi doesn't show up... I don't understand why this happens... Backtrace from gdb: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb453f710 (LWP 13593)] 0xb7e076cd in memmove () from /lib/i686/cmov/libc.so.6 (gdb) bt #0 0xb7e076cd in memmove () from /lib/i686/cmov/libc.so.6 #1 0xb68ffc16 in QListData::remove (this=0x80f4e5c, i=0) at tools/qlistdata.cpp:210 #2 0xb68ffc9a in QListData::erase (this=0x80f4e5c, xi=0x8c6f72c) at tools/qlistdata.cpp:279 #3 0xb71fcffe in QList<QGraphicsWidget*>::erase (this=0x80f4e5c, it={i = 0xbfa49a4c}) at ../../include/QtCore/../../src/corelib/tools/qlist.h:384 #4 0xb71f30be in QGraphicsScenePrivate::removePopup (this=0x80f4d18, widget=0x87ebfc0, itemIsDying=false) at ../../include/QtCore/../../src/corelib/tools/qlist.h:251 #5 0xb71f2f20 in QGraphicsScenePrivate::ungrabMouse (this=0x80f4d18, item=0x87ebfc8, itemIsDying=<value optimized out>) at graphicsview/qgraphicsscene.cpp:804 #6 0xb71cfe46 in QGraphicsItem::ungrabMouse (this=0x8c6f718) at graphicsview/qgraphicsitem.cpp:2025 #7 0xb71d45f6 in QGraphicsItemPrivate::setVisibleHelper (this=0x87a9e20, newVisible=false, explicitly=true, update=true) at graphicsview/qgraphicsitem.cpp:1444 #8 0xb71d47cc in QGraphicsItem::setVisible (this=0x87ebfc8, visible=<value optimized out>) at graphicsview/qgraphicsitem.cpp:1520 #9 0xb72245b2 in QGraphicsProxyWidget::eventFilter (this=0x87ebfc0, object=0x882b470, event=0xbfa49f80) at graphicsview/qgraphicsproxywidget.cpp:821 #10 0xb69cb2ca in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80886a0, receiver=0x882b470, event=0xbfa49f80) at kernel/qcoreapplication.cpp:694 #11 0xb6c5a77a in QApplicationPrivate::notify_helper (this=0x80886a0, receiver=0x882b470, e=0xbfa49f80) at kernel/qapplication.cpp:3799 #12 0xb6c626ea in QApplication::notify (this=0x8067f08, receiver=0x882b470, e=0xbfa49f80) at kernel/qapplication.cpp:3768 #13 0xb781694d in KApplication::notify (this=0x8067f08, receiver=0x882b470, event=0xbfa49f80) at ../../kdeui/kernel/kapplication.cpp:307 #14 0xb69cc0e1 in QCoreApplication::notifyInternal (this=0x8067f08, receiver=0x882b470, event=0xbfa49f80) at kernel/qcoreapplication.cpp:587 #15 0xb6cacbe5 in QWidgetPrivate::hide_helper (this=0x8774cc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209 #16 0xb6cb5f00 in QWidget::setVisible (this=0x882b470, visible=false) at kernel/qwidget.cpp:6615 #17 0xb702d814 in QMenuPrivate::hideMenu (this=0x8774cc0, menu=0x882b470) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:468 #18 0xb702de02 in QMenuPrivate::hideUpToMenuBar (this=0x8774cc0) at widgets/qmenu.cpp:399 #19 0xb702f102 in QMenu::mousePressEvent (this=0x882b470, e=0x8c48858) at widgets/qmenu.cpp:2123 #20 0xb6cb27a9 in QWidget::event (this=0x882b470, event=0x8c48858) at kernel/qwidget.cpp:7159 #21 0xb7031019 in QMenu::event (this=0x882b470, e=0x8c48858) at widgets/qmenu.cpp:2265 #22 0xb6c5a79c in QApplicationPrivate::notify_helper (this=0x80886a0, receiver=0x882b470, e=0x8c48858) at kernel/qapplication.cpp:3803 #23 0xb6c62fd1 in QApplication::notify (this=0x8067f08, receiver=0x882b470, e=0x8c48858) at kernel/qapplication.cpp:3528 #24 0xb781694d in KApplication::notify (this=0x8067f08, receiver=0x882b470, event=0x8c48858) at ../../kdeui/kernel/kapplication.cpp:307 #25 0xb69cc0e1 in QCoreApplication::notifyInternal (this=0x8067f08, receiver=0x882b470, event=0x8c48858) at kernel/qcoreapplication.cpp:587 #26 0xb6c6225e in QApplicationPrivate::sendMouseEvent (receiver=0x882b470, event=0x8c48858, alienWidget=0x0, nativeWidget=0x882b470, buttonDown=0xbfa4a68c, lastMouseReceiver=@0x87a9f4c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212 #27 0xb7226807 in QGraphicsProxyWidgetPrivate::sendWidgetMouseEvent (this=0x87a9e20, event=0xbfa4ad64) at graphicsview/qgraphicsproxywidget.cpp:265 #28 0xb71d2f29 in QGraphicsItem::sceneEvent (this=0x87ebfc8, event=0xbfa4ad64) at graphicsview/qgraphicsitem.cpp:3998 ---Type <return> to continue, or q <return> to quit--- #29 0xb721660f in QGraphicsWidget::sceneEvent (this=0x87ebfc0, event=0xbfa4ad64) at graphicsview/qgraphicswidget.cpp:1011 #30 0xb71f13bc in QGraphicsScenePrivate::sendEvent (this=0x80f4d18, item=0x87ebfc8, event=0xbfa4ad64) at graphicsview/qgraphicsscene.cpp:1030 #31 0xb71f25b2 in QGraphicsScenePrivate::sendMouseEvent (this=0x80f4d18, mouseEvent=0xbfa4ad64) at graphicsview/qgraphicsscene.cpp:1101 #32 0xb71fbad7 in QGraphicsScenePrivate::mousePressEventHandler (this=0x80f4d18, mouseEvent=0xbfa4ad64) at graphicsview/qgraphicsscene.cpp:1118 #33 0xb71fa617 in QGraphicsScene::event (this=0x811ada0, event=0xbfa4ad64) at graphicsview/qgraphicsscene.cpp:2963 #34 0xb6c5a79c in QApplicationPrivate::notify_helper (this=0x80886a0, receiver=0x811ada0, e=0xbfa4ad64) at kernel/qapplication.cpp:3803 #35 0xb6c6261e in QApplication::notify (this=0x8067f08, receiver=0x811ada0, e=0xbfa4ad64) at kernel/qapplication.cpp:3393 #36 0xb781694d in KApplication::notify (this=0x8067f08, receiver=0x811ada0, event=0xbfa4ad64) at ../../kdeui/kernel/kapplication.cpp:307 #37 0xb69cc0e1 in QCoreApplication::notifyInternal (this=0x8067f08, receiver=0x811ada0, event=0xbfa4ad64) at kernel/qcoreapplication.cpp:587 #38 0xb720771b in QGraphicsView::mousePressEvent (this=0x84585d0, event=0xbfa4b43c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209 #39 0xb6cb27a9 in QWidget::event (this=0x84585d0, event=0xbfa4b43c) at kernel/qwidget.cpp:7159 #40 0xb6fe5d43 in QFrame::event (this=0x84585d0, e=0xbfa4b43c) at widgets/qframe.cpp:651 #41 0xb707c46f in QAbstractScrollArea::viewportEvent (this=0x84585d0, e=0x8c6f718) at widgets/qabstractscrollarea.cpp:943 #42 0xb7209b6f in QGraphicsView::viewportEvent (this=0x84585d0, event=0xbfa4b43c) at graphicsview/qgraphicsview.cpp:2337 #43 0xb707ea15 in QAbstractScrollAreaFilter::eventFilter (this=0x8459d00, o=0x84594c8, e=0xbfa4b43c) at widgets/qabstractscrollarea_p.h:96 #44 0xb69cb2ca in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80886a0, receiver=0x84594c8, event=0xbfa4b43c) at kernel/qcoreapplication.cpp:694 #45 0xb6c5a77a in QApplicationPrivate::notify_helper (this=0x80886a0, receiver=0x84594c8, e=0xbfa4b43c) at kernel/qapplication.cpp:3799 #46 0xb6c62fd1 in QApplication::notify (this=0x8067f08, receiver=0x84594c8, e=0xbfa4b43c) at kernel/qapplication.cpp:3528 #47 0xb781694d in KApplication::notify (this=0x8067f08, receiver=0x84594c8, event=0xbfa4b43c) at ../../kdeui/kernel/kapplication.cpp:307 #48 0xb69cc0e1 in QCoreApplication::notifyInternal (this=0x8067f08, receiver=0x84594c8, event=0xbfa4b43c) at kernel/qcoreapplication.cpp:587 #49 0xb6c6225e in QApplicationPrivate::sendMouseEvent (receiver=0x84594c8, event=0xbfa4b43c, alienWidget=0x84594c8, nativeWidget=0x84585d0, buttonDown=0xb741d670, lastMouseReceiver=@0xb741d674) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212 #50 0xb6ccbe2d in QETWidget::translateMouseEvent (this=0x84585d0, event=0xbfa4b92c) at kernel/qapplication_x11.cpp:4044 #51 0xb6ccac11 in QApplication::x11ProcessEvent (this=0x8067f08, event=0xbfa4b92c) at kernel/qapplication_x11.cpp:3162 #52 0xb6cf463a in x11EventSourceDispatch (s=0x808fa98, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142 #53 0xb57dc368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #54 0xb57dfa03 in ?? () from /usr/lib/libglib-2.0.so.0 #55 0x0808f0b0 in ?? () #56 0x00000000 in ?? ()
*** Bug 188086 has been marked as a duplicate of this bug. ***
I can reproduce the crash here using: Qt: 4.5.0 + qt-copy-patches-936035 KDE: 4.2.67 (KDE 4.2.67 (KDE 4.3 >= 20090318)) kdelibs svn rev. 944348 / kdebase svn rev. 944348 on ArchLinux i686 - Kernel 2.6.28.7 However I'm getting a different backtrace (but also Qt related)
Crash confirmed on current trunk too. KDE SVN r959285 Qt 4.5 X.Org 1.6.1
Analysis on bug 189468 could be related to this. Also, when right clicking the KTextEdit delegate of the folderview item, it gets a FocusOut event: kdelibs/kio/kfileitemdelegate.cpp:~1519 case QEvent::FocusOut: { emit commitData(editor); emit closeEditor(editor, NoHint); return true; } Commenting out the closeEditor signal, and returning false... will ""stop"" from crashing.. Of course.. the editor now doesn't close when you manually focus out it... (or click another icon). But that may be a place to start looking... I was thinking about installing another eventFilter in the FolderView abstractitemview class, to check at FocusOut event if the current "editor" is showing the menu and to avoid this (or something like that)
Does not occur in KDE 4.3 beta2+
It still crashes using trunk compiled yesterday evening (I'm just re-compiling, so I don't exactly know the revision number).
this is obviously yet another QGrahpicsView bug (look at the backtrace in comment #10), similar to other ones we've seen. i'll let the Trolls look into it, though this one may already be fixed in upstream. Alexis should know :)
Ok, thanks Aaron :-)