jgraph / drawio-desktop

Official electron build of draw.io
https://www.diagrams.net
Apache License 2.0
50.03k stars 4.97k forks source link

Release v24.4.6 and above kills all default shadow opacity #1750

Closed felixhix closed 4 months ago

felixhix commented 4 months ago

Preflight Checklist

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug Opening existing drawio files with the new release v24.4.6 and above will modify all "default" shadows from 25% to 100% in the whole file. The modification is permanent (opening the file with older releases will result in shadow of 100% on all elements).

To Reproduce Steps to reproduce the behavior:

  1. Create a new file with older release
  2. Place box in the diagram
  3. Enable shadow (should be 25% by default)
  4. Save file and open it with newer release (v24.4.6/*.7)
  5. Box shadow opacity is set to 100% (see screenshots below)

Expected behavior No modification on existing elements (should be left by 25%)

Screenshots v24.4.0 vs v24.4.6 and v24.4.7 drawio-issue-shadowopacity-example-v24 4 6 drawio-issue-shadowopacity-example-v24 4 0 drawio-issue-shadowopacity-v24 4 0 drawio-issue-shadowopacity-v24 4 6

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

Desktop (please complete the following information):

davidjgraph commented 4 months ago

Fix in 24.4.8, thanks for report.