drawio icon indicating copy to clipboard operation
drawio copied to clipboard

Shapes with hidden tags are still visible in PDF export

Open arw-ml opened this issue 2 years ago • 4 comments

  • [X] I agree to follow the Code of Conduct that this project adheres to.
  • [X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug I use lists for many diagrams I create and need the ability to hide list items. Unfortunately using layers isn't supported for list items so the suggestion was to use tags which works quite well, so I have started using tags instead of layers.

I now need to create PDF copies of these diagrams and have come across an issue. PDF exports show all shapes regardless of tag visibility. PNG export appears to have the expected behavior.

To Reproduce Steps to reproduce the behavior:

  1. Place two shapes on the sheet
  2. Open the tag menu and create a tag
  3. Select one of the shapes and add the tag to it
  4. Set the tag to be hidden. The tagged shape will no longer be visible
  5. Export the page as a PNG. Only one shape displayed which is correct
  6. Export the page as a PDF. Both shapes are shown which is unexpected

Expected behavior A shape with tag set a hidden tag should not be visible in the PDF export

draw.io version (In the Help->About menu of the draw.io editor):

Using apps.diagrams.net 20.5.3

arw-ml avatar Nov 17 '22 00:11 arw-ml

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.

stale[bot] avatar May 16 '23 01:05 stale[bot]

I wanted to mention that I'm currently also facing this issue.

Any help is appreciated!! ❤️

fawidmer avatar Oct 06 '23 09:10 fawidmer

Same issue

premium3722 avatar Feb 05 '24 10:02 premium3722