[Kde-games-devel] KDE/kdegames/libkdegames

Parker Coates parker.coates at gmail.com
Fri Nov 27 19:46:32 CET 2009


On Fri, Nov 27, 2009 at 11:22, Albert Astals Cid <aacid at kde.org> wrote:
> A Dimecres, 25 de novembre de 2009, Stefan Majewsky va escriure:
>> SVN commit 1054334 by majewsky:
>>
>> QGraphicsTextItem::setDefaultTextColor does not check whether the given
>> color is equal to the color that was previously set, and issues an
>> update even then. Because we're calling setDefaultTextColor from the
>> item's paint event, this behavior sometimes results in an infinite loop
>> paintEvent -> setDefaultTextColor -> update -> paintEvent.
>>
>> This commit fixes the weird problem that KGamePopupItem::showMessage
>> destroys (on some systems) all running timers.
>
> Have you opened a Qt bug about that, usually Qt has this kind of "protection"
> against the same value not firing signals, so i think it can qualify as bug.

Yes. We showed the issue to Olivier Goffart. It turns out the breakage
was the result of a recent change he made. Stefan reported it here:
http://bugreports.qt.nokia.com/browse/QTBUG-6242
It should be fixed in Qt4.6.1.

Parker


More information about the kde-games-devel mailing list