Skip to content

Ungrouping: Fix transform of linked non-children

Transform of linked items must only be compensated if their source is a direct child of the group being ungrouped. This also applies to linked items which are not ungrouped themselves but their source is.

This was already working for clones, so the fix is to handle all clone-like links the same.

Test case: complex-group-3.svg

Ungroup the top-level group. All items should stay in place (slight font-skewing is expected, but font-size must be preserved).

Better alternative to !2462 (closed) because it uses hrefList for reverse lookup of linked items. That means it also compensates transform of linked items which are not in the group themselves.

Edit: complex-group-3.svg test case with offsets of offsets, clones of clones, patterns and gradients.

Edited by Thomas Holder

Merge request reports