Bug 270838 - SVGs generated by "systemd-analyze plot" don't display properly.
Summary: SVGs generated by "systemd-analyze plot" don't display properly.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml svg (show other bugs)
Version: 4.9.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: reproducible
Depends on:
Blocks:
 
Reported: 2011-04-13 15:33 UTC by Alejandro Nova
Modified: 2024-05-06 20:59 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
systemd-analyze SVG plot (217.44 KB, image/svg+xml)
2011-06-06 14:52 UTC, nucleo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Nova 2011-04-13 15:33:15 UTC
Version:           unspecified (using KDE 4.6.2) 
OS:                Linux

When I try to open a SVG generated by "systemd-analyze plot" in Konqueror, all the text and the lines in the chart are missing. I get a lot of errors, looking like:

"link glyph0-22 hasn't been detected!"

The undetected construction is:

<symbol overflow="visible" id="glyph0-22">
<path style="stroke:none;" d="M 4.109375 -3.296875 C 3.242188 -3.296875 2.636719 -3.195312 2.296875 -3 C 1.960938 -2.800781 1.796875 -2.460938 1.796875 -1.984375 C 1.796875 -1.597656 1.921875 -1.289062 2.171875 -1.0625 C 2.429688 -0.84375 2.773438 -0.734375 3.203125 -0.734375 C 3.804688 -0.734375 4.285156 -0.941406 4.640625 -1.359375 C 5.003906 -1.785156 5.1875 -2.351562 5.1875 -3.0625 L 5.1875 -3.296875 Z M 6.265625 -3.75 L 6.265625 0 L 5.1875 0 L 5.1875 -1 C 4.9375 -0.601562 4.628906 -0.304688 4.265625 -0.109375 C 3.898438 0.0742188 3.449219 0.171875 2.921875 0.171875 C 2.242188 0.171875 1.707031 -0.015625 1.3125 -0.390625 C 0.914062 -0.773438 0.71875 -1.28125 0.71875 -1.90625 C 0.71875 -2.644531 0.960938 -3.203125 1.453125 -3.578125 C 1.949219 -3.949219 2.691406 -4.140625 3.671875 -4.140625 L 5.1875 -4.140625 L 5.1875 -4.25 C 5.1875 -4.746094 5.019531 -5.132812 4.6875 -5.40625 C 4.363281 -5.675781 3.910156 -5.8125 3.328125 -5.8125 C 2.953125 -5.8125 2.582031 -5.761719 2.21875 -5.671875 C 1.863281 -5.578125 1.523438 -5.441406 1.203125 -5.265625 L 1.203125 -6.265625 C 1.597656 -6.417969 1.976562 -6.535156 2.34375 -6.609375 C 2.714844 -6.679688 3.082031 -6.71875 3.4375 -6.71875 C 4.382812 -6.71875 5.09375 -6.472656 5.5625 -5.984375 C 6.027344 -5.492188 6.265625 -4.746094 6.265625 -3.75 Z M 6.265625 -3.75 "/>
</symbol>

This SVG displays properly in Inkscape and in the Eye of GNOME.

Reproducible: Always

Steps to Reproduce:
1. Run "systemd-analyze plot > plot.svg" in a Fedora 15 system.
2. Try to open the generated SVG in a KDE app. It fails.
3. Try to open the generated SVG in the Eye of GNOME, or Inkscape. It displays properly.

Actual Results:  
Text and the black lines are missing.

Expected Results:  
Text and the black lines of the chart display properly.

systemd-analyze is a boot time analysis tool featured in Fedora 15.
Comment 1 nucleo 2011-06-06 14:17:40 UTC
The same problem in gwenview with missing text in .svg generated by systemd-analyze.
Comment 2 nucleo 2011-06-06 14:52:24 UTC
Created attachment 60694 [details]
systemd-analyze SVG plot
Comment 3 Martin Koller 2011-07-29 20:33:21 UTC
confirmed with KDE 4.6.5; konqi/WebKit shows the text
Comment 4 Jekyll Wu 2012-05-27 15:10:40 UTC
still reproducible using KDE SC 4.8.3
Comment 5 Alex Savin 2012-06-02 18:19:43 UTC
(In reply to comment #4)
> still reproducible using KDE SC 4.8.3
+1
Comment 6 Alex Savin 2012-07-02 11:48:47 UTC
still reproducible using KDE SC 4.8.4
Comment 7 jack 2012-09-07 13:39:32 UTC
No update? Still in 4.9.1
Comment 8 ebray187 2020-11-12 14:45:04 UTC
And more than 10 years after the same bug persist... Is there any plan so that KDE's default image viewer can properly render SVG images in 2020?
Comment 9 postix 2021-07-10 15:25:54 UTC

*** This bug has been marked as a duplicate of bug 336436 ***
Comment 10 postix 2021-07-10 15:26:23 UTC
Sorry, wrong bug! ;)
Comment 11 Christoph Cullmann 2024-05-06 20:59:50 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann