Plasma wallpaper painting inconsistency

Benoit Jacob jacob.benoit.1 at gmail.com
Wed Sep 3 06:04:36 CEST 2008


Yes, seems fixed. More specifically the debug output now is:

.....
plasma(8143) Mandelbrot::paint: recompute QRect(640,0
160x100)
plasma(8143) Mandelbrot::paint: repaint QRectF(637,0
166x103)
plasma(8143) Mandelbrot::paint: recompute QRect(800,0
160x100)
plasma(8143) Mandelbrot::paint: repaint QRectF(797,0
166x103)
plasma(8143) Mandelbrot::paint: recompute QRect(960,0
160x100)
plasma(8143) Mandelbrot::paint: repaint QRectF(957,0
166x103)
plasma(8143) Mandelbrot::paint: recompute QRect(1120,0
160x100)
plasma(8143) Mandelbrot::paint: repaint QRectF(1117,0
163x103)
plasma(8143) Mandelbrot::paint: recompute QRect(1120,100
160x100)
plasma(8143) Mandelbrot::paint: repaint QRectF(1117,97
163x106)
plasma(8143) Mandelbrot::paint: recompute QRect(1120,200
160x100)
plasma(8143) Mandelbrot::paint: repaint QRectF(1117,197
163x106)
plasma(8143) Mandelbrot::paint: recompute QRect(1120,300
160x100)
plasma(8143) Mandelbrot::paint: repaint QRectF(1117,297
163x106)
.....

So the actually repainted rect is only slightly larger than what is being
asked for. A margin of 3 or 6 pixels seems to still be added. Normal
behavior?

There still are repainting glitches, but it'll be time to discuss these when
i'll have committed.

Cheers,
Benoit

2008/9/3 Aaron J. Seigo <aseigo at kde.org>

> On Tuesday 02 September 2008, Aaron J. Seigo wrote:
> > On Tuesday 02 September 2008, Benoit Jacob wrote:
> > > See, the paint() function is always called with exposedRect equal to
> the
> > > whole screed, regardless of the parameter passed to update().
> >
> > this is a bug in Applet::paint; not sure when it was introduced, but it's
> a
> > pretty big fubar. =/ i'm working on fixing it right now...
>
> can you svn up and let me know if it's better now? =)
>
> --
> 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
>
>
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20080903/33b8caaa/attachment-0001.htm 


More information about the Plasma-devel mailing list