Clipping grouped objects not exported to xaml
Bug #1423216 reported by
elecman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
jazzynico |
Bug Description
When objects are grouped and the whole group is clipped by a single square, no clipping information is present when exported to xaml.
To reproduce:
-Start inkscape.
-Draw 3 yellow squares using the rectangle tool.
-Group all 3 shapes together.
-Draw a 4th square partially on top of the other squares.
-Put the 4th square on top of the z order.
-Select all 5 squares.
-Go to Object->Clip->Set.
-Save a copy as xaml.
-Open the xaml file.
-Note that there is a clipPath present, but this is not used anywhere.
The xaml spec supports clipping of groups using this format:
<Canvas Name="g4217" Clip="{
Inkscape: v0.91
OS: Win 7
tags: | added: exporting xaml |
Changed in inkscape: | |
status: | New → Triaged |
assignee: | nobody → jazzynico (jazzynico) |
milestone: | none → 0.92 |
Changed in inkscape: | |
importance: | Undecided → Medium |
Changed in inkscape: | |
milestone: | 0.91.1 → 0.92 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Activating line 83 (currently commented out) seems to fix the issue. See http:// bazaar. launchpad. net/~inkscape. dev/inkscape/ trunk/view/ head:/share/ extensions/ svg2xaml. xsl#L83. At least with the attached test file.
For what I understand, the template call was commented a long time ago, when the clip feature was not completely implemented.
Test for regressions required...