Bug 311472 - gwenview ignores clipping on SVG paths
Summary: gwenview ignores clipping on SVG paths
Status: RESOLVED UPSTREAM
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.9.4
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Gwenview Bugs
URL: https://owncloud.toke.dk/public.php?s...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-10 16:17 UTC by Toke Høiland-Jørgensen
Modified: 2013-01-21 14:14 UTC (History)
1 user (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 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).