Skip to content

Clone inside mask disappears

Migrated from: https://bugs.launchpad.net/inkscape/+bug/1516434

Steps to reproduce:

  • open Inkscape
  • create any object
  • Clone it with Alt+D
  • Group both objects with CTRL+G
  • Create on third object
  • Send it behind the previous group
  • Now Select both>Right Click>Set Mask

What happened?

Clone object's effect will not be visible in mask

If you release the mask it seems to have vanished

What should have happened?

The clone should affect the mask.

Creating a regular copy doesn't seem to expose the bug, and cloning the group prior to using it as a mask also seems to 'fix' it.

Inkscape Version and Operating System:

  • Inkscape Version: 1.1-dev (6b4d57f, 2020-04-01)
  • Operating System: Windows 10
  • Operating System version: 10.0.18362

Migration info

Mc commented:

indeed, the use is orphaned when setting the mask (which is the bug origin). Note that clipPaths may not contain groups (but can contain several path/shapes or direct clones of paths/shapes) while masks can contain virtually anything.

Suv commented:

The copied clone's link to the original is not updated to refer to the copy of the original in the mask definition inside the defs.

Reproduced in

  • Inkscape 0.47, 0.48.5, 0.91 r13735 and 0.91+devel r14472 on OS X 10.7.5.
  • Windows 10 64Bits and Inkscape 0.91 r13725
Edited by Jonathan Neuhauser
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information