Plasma wallpaper painting inconsistency
Benoit Jacob
jacob.benoit.1 at gmail.com
Wed Sep 3 13:58:51 CEST 2008
I just svn up kdebase, retried. No difference -- still the 3 to 6 added pixels.
I added some kDebug's in applet.cpp... turns out that the wrong rect
in this function (paint() line ~890 in applet.cpp) is
option->exposedRect. It is already wrong here. The contentsRect is the
whole screen, it's not the relevant rect here.
Cheers,
Benoit
2008/9/3 Aaron J. Seigo <aseigo at kde.org>
>
> On Tuesday 02 September 2008, Benoit Jacob wrote:
> > 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?
>
> nope; just noticed it was using toAlignedRect instead of just toRect. probably
> what was causing this...
>
> --
> 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
>
More information about the Plasma-devel
mailing list