This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Plasma Theme Elements & Inkscape 0.47 (Unstable)

Tags: None
(comma "," separated)
jmtodaro
Registered Member
Posts
7
Karma
0
OS
I have created many theme elements for Plasma with Inkscape 0.46 exclusively (Tragedy & Ghost). I would like to upgrade to Inkscape 0.47 devel, but I run into a problem where Plasma incorrectly displays the elements when editing files that were created in 0.46. Oddly enough, they are also incorrectly displayed by Dolphin's preview, but they always open properly in Inkscape and Gimp renders them correctly. I am currently using KDE 4.2.98 on Kubuntu (Karmic).

I suspect Inkscape 0.47 is doing something differently with the way it handles the XML, and plasma isn't able to interpret it properly, but I am not at all familiar with how everything ties together under the hood. It seems to happen often with gradients and copied/duplicated objects.

Example widget background.svg:
Created in 0.46 (works properly) - http://jmtodaro.com/screenshots/background004.svgz
After editing in Inkscape 0.47 (broken) - http://jmtodaro.com/screenshots/background005.svg

I would like to file a bug report but I am uncertain if this is a Plasma issue or an Inkscape issue. Thanks for any advice.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You may wish to contact the Plasma developers directly about this. It is likely a bug in Plasma::Svg.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
jmtodaro
Registered Member
Posts
7
Karma
0
OS
Thanks! I discussed this on #plasma & ended up filing a Plasma bug report. Arron has advised me that all Plasma svg rendering is dependent on Qt, and it likely could be an issue with QSvgRenderer. I have submitted a Question on the Inkscape bugs forum to try to get more information as to why this could be happening, and intend to file a bug report with the Qt project when/if I get more info.

I guess I will just have to use Inkscape 0.46 in the meantime for working on Plasma themes. Thanks again for your response!
jmtodaro
Registered Member
Posts
7
Karma
0
OS
Just in case anyone else happens to come across this issue with Inkscape 0.47, I've managed to solve the problem by enabling "Force Repeat Commands" under Inkscape Preferences > SVG Output.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]