Bug 311472

Summary: gwenview ignores clipping on SVG paths
Product: [Applications] gwenview Reporter: Toke Høiland-Jørgensen <toke>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: major CC: cfeck
Priority: NOR    
Version: 2.9.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: https://owncloud.toke.dk/public.php?service=files&dir=%2Falrua%2Ffiles%2Fshared%2Fgwenview
Latest Commit: Version Fixed In:

Description Toke Høiland-Jørgensen 2012-12-10 16:17:24 UTC
When rendering .svg images, clipping of paths seems to be ignored. I.e. paths that should be cut off are not, but are instead drawn on top of / below other paths. The link contains a test .svg file as well as a screenshot of side-by-side rendering by gwenview and chromium.

Reproducible: Always

Steps to Reproduce:
1. Load test.svg
2. Observe unclipped paths
Actual Results:  
Paths are not clipped.

Expected Results:  
Paths should be clipped.
Comment 1 Christoph Feck 2012-12-16 01:16:52 UTC
This is a bug in the QtSvg library. Please report to Qt developers via https://bugreports.qt-project.org/
Comment 2 Toke Høiland-Jørgensen 2013-01-21 14:13:14 UTC
The response on the Qt bugreport indicates this is expected, since the svg spec supported by qt does not support clipping. Since this issue somewhat diminishes gwenview's usefulness as a general purpose image viewer (for me at least), is there anything gwenview/the kde project can do to remedy this lack? Either by providing full svg support for qt, or incorporating a different svg library for viewing svg files? (Note I have no idea what amount of effort this would require, but thought I'd ask before I go looking for a different image viewer) :)
Comment 3 Toke Høiland-Jørgensen 2013-01-21 14:14:28 UTC
(The Qt bug report is here: https://bugreports.qt-project.org/browse/QTBUG-28636 sorry forgot the link).