[Bug 164320] Systemtray crashed plasma on panel resize

Sebastian Sauer mail at dipe.org
Tue Jun 17 21:37:32 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=164320         




------- Additional Comments From mail dipe org  2008-06-17 21:37 -------
ok, a guess;

systemtraywidget.cpp looks like this;

SystemTrayContainer *container = new SystemTrayContainer(this);
addWidgetToLayout(container);
emit sizeShouldChange();
connect(container, SIGNAL(destroyed(QObject *)), this, SLOT(relayoutContainers(QObject *))); //<== CRASHES

while the SystemTrayContainer ctor contains;

connect(this, SIGNAL(clientClosed()), SLOT(deleteLater()));

so... what *may* happen is, that the clientClosed() got fired up before the
connect(container, SIGNAL(destroyed(QObject *)), this, SLOT(relayoutContainers(QObject *))); was setup and therefore we end in a crash...


More information about the Panel-devel mailing list