Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVGs generated with blocklys screenshot functionality are kind of invalid #375

Open
BjoernLuig opened this issue Nov 25, 2024 · 0 comments

Comments

@BjoernLuig
Copy link
Contributor

Describe the bug
SVGs generated with blocklys screenshot functionality are kind of invalid and can not be processed (properly) by some applications.

To Reproduce
Steps to reproduce the behavior:

  1. Go to blockly
  2. click on "download screenshot"

Show SVG in ubuntu file explorer
image

Upload SVG to Canva -> doesnt work
image

Download such an SVG from a Mattermost Message -> Mattermost crashes
image

Same issues seem to persist over multiple operating systems (Ubuntu, Windows, Mac). Same Programms (Browsers) seem to work around this problem. SVG files from other sources do not have these problems.

Expected behavior
Blocklys screenshot functionality creates a "valid SVG file.

Additional context
Some users had similar problems with invalid SVGs from other sources.
photopea/photopea#4663

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant