SVG edited with 0.47 isn't rendered correctly by QT 4.5.2

Asked by J. M. Todaro

I'm editing SVG (KDE Plasma theme elements created by 0.46) with Inkscape 0.47, and running into a problem where they aren't rendered properly by QtSvgRenderer (4.5.2). I'm pretty sure this is a problem with Qt being unable to understand some newer XML used by 0.47, but I was wondering if there is any sort of workaround to make files readable by Qt, short of downgrading to 0.46?

Example files:
Original Working File - http://jmtodaro.com/example/background_0_46.svgz
Edited file that doesn't render properly in Qt 4.5.2 (0.47) - http://jmtodaro.com/example/background_0_47_edited.svg

I plan to file a bug report with Qt about this problem, but it would be helpful if I understood the cause better. If anyone can shed some light on this issue I would be most greatful.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
J. M. Todaro
Solved:
Last query:
Last reply:
Revision history for this message
Oleg Koptev (koptev-oleg) said :
#1

Hello

Did you try to save as Plain SVG, instead of Inkscape SVG?

Revision history for this message
J. M. Todaro (jmtodaro) said :
#2

Hi!

I just now tried saving the above file (background_0_47_edited.svg) as a plain SVG. Unfortunately, I'm still seeing the same results.

I also opened background_0_46.svgz and without modifying anything saved as a plain SVG. This caused it to produce bad results immediately. However, saving it as Inkscape SVG without editing anything seems to output a usable file, as long as I do not modify it.

Examples:
background_0_47_edited.svg saved as plain SVG - http://jmtodaro.com/example/background_0_47_edited_plain.svg
background_0_46.svgz saved as plain SVG - http://jmtodaro.com/example/background_0_46_plain.svg
Background_0_46.svgz saved as Inkscape SVG - http://jmtodaro.com/example/background_0_47_unedited.svg

Revision history for this message
J. M. Todaro (jmtodaro) said :
#3

I believe I have solved the problem by enabling "Force Repeat Commands" in Inkscape Preferences>SVG Output.