Bug 74457 - When selecting an svg-file in kfm, it should be opened in KSVG-part. preset is khtml-part which will display nothing
Summary: When selecting an svg-file in kfm, it should be opened in KSVG-part. preset i...
Status: RESOLVED FIXED
Alias: None
Product: ksvg
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Nikolas Zimmermann
URL:
Keywords:
: 84831 84868 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-07 13:56 UTC by T Kleindienst
Modified: 2004-12-28 21:15 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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