threat-dragon icon indicating copy to clipboard operation
threat-dragon copied to clipboard

Menu Bar Save and Save As Do Not Persist Threat Model Diagram

Open kfabjans opened this issue 2 months ago • 3 comments

Describe the bug: When using the Menu Bar options Save or Save As in OWASP Threat Dragon, the threat modeling diagram is not saved. This can lead to significant data loss, especially for teams collaborating on models. However, using the built-in Save button (next to the Close button in the app) correctly saves the current work.

Expected behaviour: Selecting Save or Save As from the menu bar should persist the current threat model diagram to the chosen file or location, just like the built-in Save button does.

Environment:

  • Version: 2.5.0
  • Platform: Desktop App
  • OS: macOS 26.0.1 (Tahoe) and Windows 11
  • Browser: N/A (Desktop app issue)

To Reproduce:

  1. Open OWASP Threat Dragon Desktop App.
  2. Create or edit a threat modeling diagram.
  3. From the Menu Bar, click File → Save or File → Save As.
  4. Close and reopen the diagram.
  5. Observe that changes were not saved.

Any additional context, screenshots, etc:

Image

kfabjans avatar Oct 17 '25 10:10 kfabjans

Thanks for the bug report @kfabjans , this may be related to #1331

jgadsden avatar Oct 17 '25 15:10 jgadsden

Hello @kfabjans , can you confirm that you are using the latest version: v2.5.0 This works as expected because it was the subject of PR #1331

Can you provide a step-by-step of how you make it not do as expected?

jgadsden avatar Nov 09 '25 13:11 jgadsden

I do confirm I am using v2.5.0. Steps that I have used to reproduce are:

  1. Open OWASP Threat Dragon Desktop App.
  2. Edit an existing threat modeling diagram.
  3. Make simple modification, for example add one more threat entry
  4. From the Menu Bar, click File → Save or File → Save As.
  5. Close and reopen the diagram.
  6. Observe that changes were not saved.

kfabjans avatar Nov 17 '25 09:11 kfabjans