FrameSvg corruption [a bit urgent]

Aaron J. Seigo aseigo at kde.org
Fri Jan 16 11:07:39 CET 2009


On Friday 16 January 2009, Ivan Čukić wrote:
> > When those two lines switch places, so that s is the newest size,
> > everything is ok. (I'll keep testing whether it is just accident)
>
> This seems to have fixed the problem. No breakage in Lancelot anymore, and
> as far as I can tell, no breakage outside neither. (have restarted plasma

ok, it's 3am here and maybe i'm missing it, but i think what would happen in 
that case is:

* the svg will get resized to its natural size
* it'll still get painted down to a smaller rect
* that will scale the cached _pixmap_ rather than the svg

avoiding scaled pixmaps are why we're using svgs. ;)

i'm sure it looks ok superficially, but if you look closely i'll bt you see 
artifacts, depending on the sizes of the elements in the svg and the size of 
the elements being painted.

> Lancelot doesn't since I wouldn't want to initialize [for example] the
> disabled state of the buttons, and load the elements into cache, when I
> never use the disabled state (at least, not at the present moment).

shouldn't need to.

-- 
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 Qt Software

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090116/084e8768/attachment.sig 


More information about the Plasma-devel mailing list