jgraph / drawio-desktop

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

Does not save edited Libraries to the original name #1138

Closed TLK2A closed 1 year ago

TLK2A commented 2 years 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 When editiing a custom library (the collection of icons) and saving it, I am asked to specify a location. If I decide to overwrite the original file and accept the warning, then a endless circle "Wird gespeichert." (circular progress bar without progress) is displayed. Strange enough I can press "cancle" which closes the libraries window and omits all changes, but the circle remains.

To Reproduce Steps to reproduce the behavior:

  1. Open draw.io-windows-no-installer (Version 20.3.0), create a New Library, place some icons and save it.
  2. Close draw.io
  3. Open draw.io-windows-no-installer (Version 20.3.0) (existing drawing or new drawing makes no difference)
  4. Click on the pencil of the Library you created to edit it.
  5. A popup window appears in the centre of the screen allowing to edit the Filename (on top) the icons below and offering "cancel", "export", "import", "add images", "save" (save is blue)
  6. Delete icons by clicking on the black cross-button displayed in their upper right corner
  7. Click on "save"
  8. The circular progress bar appears and is overlayed by a explorer window titled "save as" that points to the directory where the library is present as file and has the filename filled.
  9. Press the "save" button on that window without changing anything
  10. A windows warning appears telleing that the file already exists and if I want to overwrite it. (button "ok" and "cancle")
  11. press "ok"
  12. Now you see the circular progress bar for ever above the window from step 5 (the 5 buttons of the window are clickable. "cancle" removes the window and resets the library to its original state. The progres bar remains)

Expected behavior In step 12 I expect that the progress bar stops as soon, as the file is written (in seconds) and the window is closed. The Library reflects the changes I made.

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

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

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

stale[bot] commented 1 year 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.