Moving clipped image

Bug #272423 reported by Mathias Weber
10
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Unassigned

Bug Description

If I clip an image with some clipping path and move the image later. This works perfect within inkscape and I am able to export images from this but if I try to print this page the clipping path stays at the old position but the image which was clipped gets moved.
I added an example where you can see this problem. It is separated into 3 steps.

Step 1:
I add an image and a path which I want to use later for clipping the image.
The printing works here perfectly as you can see within the pdf.

Step 2:
I duplicated the path to get a visible border and used the path for clipping the image.
The printing works still perfectly.

Step 3:
I moved the border and the cliped image.
It still looks perfect within the view of inkscape but printing does not as you can see within the pdf.

I could reproduce this bug within the Inkscape version on windows and ubuntu:
Windows Version 0.46 build 1. April 2008
Ubunut Linux Version 0.46 build 1. April 2008

Revision history for this message
Mathias Weber (mweb) wrote :
tags: added: clipping
summary: - Moving cliped image
+ Moving clipped image
su_v (suv-lp)
tags: added: exporting
Revision history for this message
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.46-2 on OS X 10.5.8 (cairo 1.5.14)
Not reproduced with Inkscape 0.46+devel r22540 on OS X 10.5.8 (cairo 1.8.8)

the transformed (moved) clipping mask is correctly rendered both when printing to file (PDF) and exporting to 'PDF'.

@Mathias - can you test if you still get the same error with a recent prerelease build of 0.47 from <http://sourceforge.net/projects/inkscape/files/inkscape/0.47pre4/>?

Revision history for this message
su_v (suv-lp) wrote :

original testcase used (extracted from the attached archive)

tags: added: printing
removed: exporting
Revision history for this message
Mathias Weber (mweb) wrote :

I did test it with the 0.47 pre4 release and it works now. Thanks for your help.

I only tested it on windows, since I do not have all the dev libs on my ubuntu machine. But since you could reproduce it on OS X and it is fixed there as well I guess this should be fixed now.

Revision history for this message
su_v (suv-lp) wrote :

Closing as 'Fix released': fix confirmed by the bug reporter and local tests.

The issue seems different from bug #242484 and #168800 because the 'Print to File' routine already exported clipped objects to PDF correctly in Inkscape 0.46. I don't know which revision fixed the 'transform' bug where Inkscape apparently didn't apply the transformation of the clipping path properly to the clipped image. Bug #208217 discusses this issue in the comments as well.

Changed in inkscape:
status: New → Fix Released
jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → Medium
milestone: none → 0.47
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.