[kopete-bugs] [Bug 176235] kopete crashes plasma with notifications

makosoft at googlemail.com makosoft at googlemail.com
Sat Dec 6 19:19:07 CET 2008


http://bugs.kde.org/show_bug.cgi?id=176235





--- Comment #9 from makosoft googlemail com  2008-12-06 19:19:06 ---
Ugh. It would seem that QGraphicsItem::~QGraphicsItem is, via a fairly indirect
route, calling the pure virtual method QGraphicsItem::boundingRect of the
object being destroyed. This is apparently a very big no-no in C++, even if the
object is of a subclass that overrides the pure virtual method.

Specifically, the issue is the destruction of the child widgets on the popup,
particularly the Plasma::PushButton. This destroys the underlying
QGraphicsProxyWidget, which calls unsetCursor on the QGraphicsItem underlying
that. unsetCursor attempts to determine if the cursor is over the item in
question, eventually resulting in a call to QGraphicsItem::boundingRect on the
original object that's being destroyed. This crashes plasma.

Thankfully, since I'm neither a KDE or Qt developer, fixing this isn't my
problem. It looks hard, though.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list