Skip to content

Desktop: CTRL-S in diagram editor does not save changes in spite of UI feedback #1534

@SecureMedDev

Description

@SecureMedDev

Describe the bug:

CTRL-S in the diagram editor seemingly saves your changes but effectively does not (see "To Reproduce" below).

Expected behaviour:

CTRL-S in the diagram editor should save your changes or at least the UI should not give the impression that it does.

Environment:

  • Version: 2.6.0
  • Platform: Desktop App
  • OS: Windows

To Reproduce:

  • Create a new model file.
  • Add a new diagram.
  • Close the model editing view.
  • Click the diagram to edit it.
  • Make some changes in the diagram.
  • Hit CTRL-S on your keyboard.
  • Observe the green "Threat model successfully saved" notification.
  • Observe that the model's JSON file on your hard drive got a new modified timestamp.
  • Observe that the model's JSON file does not include your changes (using cat or text editor).
  • Close Threat-Dragon to see that you are not asked to discard any changes.
  • Confirm again that your changes were not saved in the JSON file.
  • Be happy that you just tested this and did not lose hours of work...

Declaration:

By submitting this issue you have:

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions