[Panel-devel] Infinite rekursion follow up

Beat Wolf asraniel at fryx.ch
Wed Sep 12 16:38:31 CEST 2007


Here is the output.
I also uncommented some kdebug in svg.cpp, perhaps this helps too. Now that i 
removed the comments around the caching, the bug is back again.
and that you can't reproduce it, i know. nobody can, thats why i think i will 
have to find the bug myself. but i will need some hints where to look at.

plasma(19396)/kdecore (trader) KServiceTypeTrader::defaultOffers: query for 
serviceType  "Plasma/Applet"  : returning  1  offers
plasma(19396) Plasma::Applet::constraintsUpdated: Applet::constraintsUpdate(): 
constraints are FormFactor:  0 , Location:  1
plasma(19396) Plasma::Svg::Private::findInCache: id 
is  "/home/kde-devel/kde/share/apps/desktoptheme/default/widgets/toolbox-button.svg_100_100"
plasma(19396) Plasma::Svg::Private::findInCache: found cached version 
of  "/home/kde-devel/kde/share/apps/desktoptheme/default/widgets/toolbox-button.svg_100_100"
plasma(19396) Plasma::Svg::paint: pix size is  QSize(100,100)
plasma(19396) Plasma::Svg::Private::findInCache: id 
is  "/home/kde-devel/kde/share/apps/desktoptheme/default/widgets/notes.svg_256_256"
plasma(19396) Plasma::Svg::Private::findInCache: didn't find cached version 
of  "/home/kde-devel/kde/share/apps/desktoptheme/default/widgets/notes.svg_256_256" , 
so re-rendering
plasma(19396) Plasma::Svg::Private::findInCache: size for  ""  is  
QSize(256,256)
plasma(19396) Plasma::Svg::paint: pix size is  QSize(256,256)
plasma(19396) Plasma::Svg::Private::findInCache: id 
is  "/home/kde-devel/kde/share/apps/desktoptheme/default/widgets/toolbox-button.svg_100_100"
plasma(19396) Plasma::Svg::Private::findInCache: found cached version 
of  "/home/kde-devel/kde/share/apps/desktoptheme/default/widgets/toolbox-button.svg_100_100"
plasma(19396) Plasma::Svg::paint: pix size is  QSize(100,100)
plasma(19396) Plasma::Svg::Private::findInCache: id 
is  "/home/kde-devel/kde/share/apps/desktoptheme/default/widgets/notes.svg_256_256"
plasma(19396) Plasma::Svg::Private::findInCache: found cached version 
of  "/home/kde-devel/kde/share/apps/desktoptheme/default/widgets/notes.svg_256_256"
plasma(19396) Plasma::Svg::paint: pix size is  QSize(256,256)
plasma(19396) Plasma::Svg::Private::findInCache: id 
is  "/home/kde-devel/kde/share/apps/desktoptheme/default/widgets/toolbox-button.svg_100_100"
plasma(19396) Plasma::Svg::Private::findInCache: found cached version 
of  "/home/kde-devel/kde/share/apps/desktoptheme/default/widgets/toolbox-button.svg_100_100"
plasma(19396) Plasma::Svg::paint: pix size is  QSize(100,100)



On Wednesday 12 September 2007 15.31:40 Aaron J. Seigo wrote:
> 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.




More information about the Panel-devel mailing list