[Panel-devel] Infinite rekursion follow up
Aaron J. Seigo
aseigo at kde.org
Wed Sep 12 15:31:40 CEST 2007
On Wednesday 12 September 2007, Beat Wolf wrote:
> Hi,
>
> sorry if that message was sent twice, but i accidentaly hit the send button
> (well, shortcut) while typing.
>
> i posted a infinite rekursion bug some days ago on this mailing list. sadly
> i got no answer.
> So i did some research and that is what i found out:
> I think it has something to do with the caching feature. When i loaded the
> notes plasmaoid i saw for a milisecond the real (yellow) background of it,
> but it imediately changed to that rekursive plasma desktop background.
> Now i looked around the sourcecode and saw that in svg.cpp (in plasma)
> there is a caching method that does not render the svg twice. i then
> commented this section of the code:
>
> if (QPixmapCache::find(id, p)) {
> kDebug() << "found cached version of " << id;
> return;
> } else {
> kDebug() << "didn't find cached version of " << id << ", so
> re-rendering";
> }
what does the debug say on the console? in particular, what is the value of
id?
btw, i'm unable to replicate teh problem.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070912/912fa72a/attachment.pgp
More information about the Panel-devel
mailing list