[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Plasma wallpaper painting inconsistency
From:       "Benoit Jacob" <jacob.benoit.1 () gmail ! com>
Date:       2008-09-03 11:58:51
Message-ID: d9f848520809030458sa87b51eg26cf960ddadaff52 () mail ! gmail ! com
[Download RAW message or body]

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@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@kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel
>
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic