Bug 74457

Summary: When selecting an svg-file in kfm, it should be opened in KSVG-part. preset is khtml-part which will display nothing
Product: [Unmaintained] ksvg Reporter: T Kleindienst <t.kleindienst>
Component: generalAssignee: Nikolas Zimmermann <wildfox>
Status: RESOLVED FIXED    
Severity: normal CC: ana, Daniel.Frein, nicolasg, rdieter, sean_parsons
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description T Kleindienst 2004-02-07 13:56:50 UTC
Version:           3.2.0 (using KDE 3.2.0, compiled sources)
Compiler:          gcc version 3.2.3
OS:          Linux (i686) release 2.4.22

problem is the mimetype image/svg+xml which has an entry

X-KDE-IsAlso=text/xml

This xml-addition associates svg files with text editors and the khtml-component. This surely makes sense, but is annoying, because most of the time you want to view the svg-drawing and not don't want to edit it's underlying xml-code...

I know how to change the order by changing share/config/profilerc for a single user but I don't know how to do this system-wide.
Comment 1 T Kleindienst 2004-05-10 18:42:33 UTC
Still the case with KDE 3.2.2
Comment 2 Dima Ryazanov 2004-06-12 04:17:33 UTC
Though some users might actually want to see the code, but .svgz files - gzip'ed svg's - should not be associated with text editors at all. Well, that might be a problem since there is no separate mime type for svgz files.

Also, Adobe (and perhaps others) likes to use xml-svg, not xml+svg, as the mime type, and xml-svg does not have any associated program at all.
Comment 3 Maksim Orlovich 2004-07-10 18:30:00 UTC
*** Bug 84868 has been marked as a duplicate of this bug. ***
Comment 4 Maksim Orlovich 2004-07-10 18:30:49 UTC
*** Bug 84831 has been marked as a duplicate of this bug. ***
Comment 5 Daniel Frein 2004-07-12 22:52:08 UTC
*** This bug has been confirmed by popular vote. ***
Comment 6 Thomas McGuire 2004-12-22 12:39:44 UTC
I also think KSVGPlugin should be the default for previewing local svg files.
The current behavior is to preview in Konqueror, which then displays a XML parser error.
Comment 7 Jonathan Riddell 2004-12-28 21:15:58 UTC
CVS commit by jriddell: 

Make KSVG have priority over KHTML for SVG files
BUG:74457


  M +1 -0      ksvgplugin.desktop   1.44


--- kdegraphics/ksvg/plugin/ksvgplugin.desktop  #1.43:1.44
@@ -24,2 +24,3 @@
 ServiceTypes=KParts/ReadOnlyPart,Browser/View
 X-KDE-Library=libksvgplugin
+InitialPreference=11