Using Plasma::Svg outside of Plasma

Aaron J. Seigo aseigo at kde.org
Sat Nov 27 19:33:13 CET 2010


On Saturday, November 27, 2010, Manuel Mommertz wrote:
> as you all know, Plasma::Svg is not only used by Plasma itself but by
> external apps like aurorae too. While this works pretty well in most cases
> it still uses Plasma::Theme which can lead to annoying behavior. For
> example if the SVG want to use the current colorscheme. In this case the
> colors from Plasma's theme are applied which might not be what the author
> wanted.

so that i understand the use case correctly:

using Plasma::Svg with a SVG file that is not in the theme, the theme's color 
scheme is applied? 

if so, that's a bug, and easily fixed (by not applying the colors to SVGs that 
are !d->themed).

if that isn't what is happening, can you explain the use case in more detail?

-- 
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 Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101127/700a962b/attachment.sig 


More information about the Plasma-devel mailing list