Masked object not visible on export to pdf

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

Steps to reproduce:

  1. Open leGPSbip-problematic.svg in Inkscape.
  2. Saves as pdf.

What happened?

Masked box is not shown (though import from pdf shows the object is still there, but hidden in groups)

Note that an image is added (I think as a mask) on save as pdf.

Files

Reduced test case (remove clippings, use tags, filters) Same but remove the transform on the red rectangle
Blank pdf normal pdf
leGPSbip-problematic_no_clips_or_uses.svg leGPSbip-problematic_no_clips_or_uses_or_transform.svg

Tried to replicate by creating an object with a mask and adding transforms.

Initially it failed but the resulting mask has a blur on it: blur.svg blur.pdf

Edit: This makes me want to say #34 (moved) is related

By chance, Ctrl+Shift+R changed the transforms so that the objects vanished in the pdf: vanish.svg. This produces a pdf with no objects on import to inkscape.

Inkscape Version and Operating System:

  • Inkscape 0.92.3 (2405546, 2018-03-11) on Windows 10 (original poster)
  • development version 2018-12-28 from Max Gaukler (mgmax) (confirmed issue)
  • Inkscape 1.0alpha (a8e9942ea0, 2019-04-13) Linux Mint 19.1

Related Issues

Noted by Max Gaukler (mgmax) on Launchpad, search for "mask export" for related issues.
These seem quite informative.

Edited by Nathan Lee
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information