Comment 7 for bug 743053

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

> Is there an obvious way to work around this for the present?

Define "obvious" ;)

The issue is with masked objects inside transformed groups (groups that have been moved, and have an explicit 'transform' attribute as can be seen in 'Edit > XML Editor…'). Layers in Inkscape are normal groups with a special tag for Inkscape. Changing the page size / orientation causes all top-level layers to be 'moved' into the new location so that
a) the relation of the objects to the lower left page corner stays the same when choosing a different page format, or
b) the content of the layers is inside the new page area if it was resized to drawing or selection.

The "obvious" workaround depends on the structure of the SVG file. For most cases, it seems to suffice to create a new layer after resizing the page (a new empty layer will not require a 'transform' attribute), and move the masked object into the new layer. Stack order can be arranged by lowering the new layer, or by working with additional layers/moving other objects to the new layer as well.