[Bug 161122] Plasma::Svg::Private::findInCache creates invalid pixmap and X errors when size is invalid

Aaron J.Seigo aseigo at kde.org
Tue Apr 22 00:56:21 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=161122         




------- Additional Comments From aseigo kde org  2008-04-22 00:56 -------
this is internal API, so it tends to favour utility over clarity a bit. the default argument is to be used primarily when painting just an element from the svg; the size is not known before hand, so we have to query the svg document first.


in any case, i'm moved the code around a bit more and removed the nasty #if's that were recently introduced (and introduced at least one bug =/)

> Although I'm sure why they're using Plasma.

to avoid having to reimplement Plasma::Svg and Plasma::Theme themselves.

anyways, if there's further discussion on this, please please take it to panel-devel kde org  b.k.o just sucks for these  kinds of conversations.


More information about the Panel-devel mailing list