[Panel-devel] icons, files and the desktop

Aaron J. Seigo aseigo at kde.org
Tue Jan 1 09:24:22 CET 2008


On Saturday 29 December 2007, Marco Martin wrote:
> > looking at the code, it's because the icon svg is cached. so after it is
> > painted the first time, you just get the cached image. see the
> > Private::decoration method.
>
> what about something like this?

well, that's only half the problem. and there are easier/nicer ways to fix the 
issue of Plasma::Widget caching innapropriately: just call update() whenever 
the animation changes. and of course ... phase does that already ;)

no, the real problem is in the Plasma::Icon::Private::decoration method. if 
you look closely you'll notice that it's caching the contents of the svg in 
there as well. this is probably not needed or desired in this case as we'll 
need to re-render anyways.

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080101/81942a25/attachment.pgp 


More information about the Panel-devel mailing list