Bug 176064

Summary: KDE no longer does SVG image format previews in konqueror
Product: [Fedora] Fedora Reporter: Niko Mirthes <nmirthes>
Component: kdegraphicsAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: nman64
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://straw.sh.nu/kde/kde-3.5.0-no-SVG-preview.png
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-07 11:35:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Niko Mirthes 2005-12-18 22:39:30 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

Description of problem:
KDE should be generating thumbnails when browsing a folder containing files in the SVG image format. This worked with the previous KDE 3.4.2 packages and it works with my personal build. There should also be a ksvg plugin that allows viewing SVG's embedded in konqueror. Both features are missing with the recent release of KDE 3.5.0 to updates-released. Looking over the relevant patches and .specs (kdelibs and kdegraphics) I can't see where this has been intentionally disabled. Can anyone shed any light on this?


Version-Release number of selected component (if applicable):
kdelibs-3.5.0-0.1.fc4

How reproducible:
Always

Steps to Reproduce:
1. Browse to a directory conatining SVG images with konqueror
2. On the menubar, go to View -> Preview and look for an entry for the SVG format
3. Note the entry is missing


Actual Results:  No previews are shown, nor is the ksvg plugin available when looking at the svg mimetype settings found on konqueror's File Associations page.

Expected Results:  Konqueror should have the SVG Preview option available as well as the ksvg plugin.

Additional info:

Comment 1 Patrick Barnes 2005-12-19 22:04:56 UTC
This problem is also present in Rawhide.  Instead of appropriate thumbnails, a
thumbnail of the plaintext XML is shown.

Comment 2 Bill Crawford 2005-12-21 17:08:16 UTC
This is a problem when adding / selecting desktop backgrounds too (although the
desktop does display correctly).

Comment 3 Niko Mirthes 2005-12-23 01:28:23 UTC
I finally realized why this is happening. Seems ksvg (kdegraphics) requires
lcms/lcms-devel, which is available from extras. Saying ./configure in
kdegraphics without lcms-devel installed results in the following message:

Some of the libraries required for KSVG are missing or too old,
therefore KSVG will not be compiled.

If you want to compile KSVG you should install:
* lcms 1.09 or newer (http://www.littlecms.com/)

I've rebuilt kdegraphics with lcms-devel installed and svg previews and the ksvg
konqueror plugin are both available again.

Can packages from base require packages from extras? I've noticed koffice-krita
and koffice-suite both complain if i try to remove lcms.


Comment 4 Bill Crawford 2005-12-23 21:35:31 UTC
lcms shouldn't be in Extras, then.


Comment 5 Niko Mirthes 2006-01-10 04:54:31 UTC
Can anyone comment on the likelihood of bringing lcms into base? 

Comment 6 Patrick Barnes 2006-01-10 22:04:48 UTC
lcms has been pulled into Core for Mono.

Comment 7 Niko Mirthes 2006-01-19 17:47:49 UTC
That's great news. Is there a process for moving something from extras to 
core/base? I'd like to see this happen for FC4 as well. 

Comment 8 Than Ngo 2006-02-07 11:35:10 UTC
lcms has been pulled into Core now, adn this problem has been fixed in rawhide.

For FC4, it cannot be built with ksvg support because of lacking lcms library.