KDE/kdevplatform

Andreas Pakulat apaku at gmx.de
Mon Jul 27 16:32:40 UTC 2009


On 27.07.09 18:17:35, David Nolden wrote:
> Am Montag 27 Juli 2009 18:04:27 schrieb Andreas Pakulat:
> > As I said before, IMHO we rather have something thats doesn't work, but
> > also doesn't break anything in the 4.0 release. Then having something that
> > works 40-70% and additionally screws up your configuration.
> Ok now please explain in detail, as I don't exactly get it, how is my commit 
> responsible for the configuration screwup?

Easy: I didn't have that problem anymore before the multi-mainwindow
support here with KDE4.2. I re-applied the multi-mainwindow support,
created a second mainwindow, re-configured the quickopen shortcut in the
second mainwindow. Closed everything, started again, re-configured the
shortcut in another second mainwindow and suddenly the quickopen toolbar
was moved.

Tried to reproduce again, but don't have 100% working steps, basically I
just start kdev4, created a second window, configure shortcuts in that
window, close shortcuts editor. Then either close second window, close
first window or try to exit with Ctrl+Q (this might or might not crash, see
below). At some point I suddenly end up with the toolbar moved to the left
over some other widgets. Might even be a Qt bug, but as I said I didn't see
this for quite some time using just 1 window.
 
> Didn't you say that the screwup just some bug in the toolbar management? Then 
> the proper fix is fixing that code.

I wish you luck on that.

Andreas

Crash when trying to quit KDevelop with multiple windows:
#0  0xb65cfbd6 in QActionGroup::d_func (this=0x0) at /home/andreas/src/kde4/qt-copy/src/gui/kernel/qactiongroup.h:56
#1  0xb65cefcb in QActionGroup::actions (this=0x0) at /home/andreas/src/kde4/qt-copy/src/gui/kernel/qactiongroup.cpp:243
#2  0xb7381fae in KSelectAction::items (this=0x864c2b0) at /home/andreas/src/kde4/kdelibs/kdeui/actions/kselectaction.cpp:321
#3  0xb737d542 in KRecentFilesAction::saveEntries (this=0x864c2b0, _cg=@0xbfc385b4)
    at /home/andreas/src/kde4/kdelibs/kdeui/actions/krecentfilesaction.cpp:273
#4  0xb7e3dec9 in KDevelop::DocumentController::cleanup (this=0x864cca8)
    at /home/andreas/src/kde4/kdevplatform/shell/documentcontroller.cpp:172
#5  0xb7e1c54d in KDevelop::Core::cleanup (this=0x854ea90) at /home/andreas/src/kde4/kdevplatform/shell/core.cpp:258
#6  0xb7e0e6bc in ~MainWindow (this=0x85be098) at /home/andreas/src/kde4/kdevplatform/shell/mainwindow.cpp:99
#7  0xb7112448 in qDeleteInEventHandler (o=0x85be098) at /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qobject.cpp:3659
#8  0xb711720c in QObject::event (this=0x85be098, e=0x8c5a8b8) at /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qobject.cpp:1139
#9  0xb663d811 in QWidget::event (this=0x85be098, event=0x8c5a8b8) at /home/andreas/src/kde4/qt-copy/src/gui/kernel/qwidget.cpp:7551
#10 0xb6a555b3 in QMainWindow::event (this=0x85be098, event=0x8c5a8b8)
    at /home/andreas/src/kde4/qt-copy/src/gui/widgets/qmainwindow.cpp:1268
#11 0xb7515aff in KMainWindow::event (this=0x85be098, ev=0x8c5a8b8) at /home/andreas/src/kde4/kdelibs/kdeui/widgets/kmainwindow.cpp:1094
#12 0xb755323c in KXmlGuiWindow::event (this=0x85be098, ev=0x8c5a8b8)
    at /home/andreas/src/kde4/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:131
#13 0xb65d0f33 in QApplicationPrivate::notify_helper (this=0x8516998, receiver=0x85be098, e=0x8c5a8b8)
    at /home/andreas/src/kde4/qt-copy/src/gui/kernel/qapplication.cpp:3803
#14 0xb65d2d7f in QApplication::notify (this=0xbfc39124, receiver=0x85be098, e=0x8c5a8b8)
    at /home/andreas/src/kde4/qt-copy/src/gui/kernel/qapplication.cpp:3768
#15 0xb7444301 in KApplication::notify (this=0xbfc39124, receiver=0x85be098, event=0x8c5a8b8)
    at /home/andreas/src/kde4/kdelibs/kdeui/kernel/kapplication.cpp:307
#16 0xb7101053 in QCoreApplication::notifyInternal (this=0xbfc39124, receiver=0x85be098, event=0x8c5a8b8)
    at /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:587
#17 0xb7860e1d in QCoreApplication::sendEvent (receiver=0x85be098, event=0x8c5a8b8)
    at ../../../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209
#18 0xb7101616 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x845cd88)
    at /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1198
#19 0xb71018ab in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0)
    at /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1091
#20 0xb7138c22 in QCoreApplication::sendPostedEvents () at /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qcoreapplication.h:214
#21 0xb7137e0f in postEventSourceDispatch (s=0x8518d78)
    at /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:205
#22 0xb547b718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0xb547ec7b in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x08518cf8 in ?? ()
#25 0x00000000 in ?? ()


-- 
You may be recognized soon.  Hide.




More information about the KDevelop-devel mailing list