jgraph / drawio

draw.io is a JavaScript, client-side editor for general diagramming.
https://www.drawio.com
Other
88 stars 28 forks source link

Reopened diagrams in PNG don't remember background value used during export #4160

Open pktiuk opened 10 months ago

pktiuk commented 10 months ago

Preflight Checklist

Describe the bug

In case of editing existing .png files (with embedded diagram metadata) overwriting it causes overwriting earlier selected value of Zoom

To Reproduce

  1. Create diagram
  2. Export it to PNG (File->Export as...-> PNG...) with non-transparent background and with metadata obraz
  3. Close app
  4. Check the image
  5. Open app
  6. Open file (File->Open)
  7. Change something
  8. Save (Ctrl+S)
  9. Check image background

Expected behavior

Image should have the same background transparency

Screenshots If applicable, add screenshots to help explain your problem.

obraz

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

Desktop (please complete the following information):

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

Additional context

This is very similar issue to https://github.com/jgraph/drawio/issues/4125

github-actions[bot] commented 4 months ago

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.

pktiuk commented 4 months ago

Issue still exists