Menu Bar Save and Save As Do Not Persist Threat Model Diagram
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:
- Open OWASP Threat Dragon Desktop App.
- Create or edit a threat modeling diagram.
- From the Menu Bar, click File → Save or File → Save As.
- Close and reopen the diagram.
- Observe that changes were not saved.
Any additional context, screenshots, etc:
Thanks for the bug report @kfabjans , this may be related to #1331
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?
I do confirm I am using v2.5.0. Steps that I have used to reproduce are:
- Open OWASP Threat Dragon Desktop App.
- Edit an existing threat modeling diagram.
- Make simple modification, for example add one more threat entry
- From the Menu Bar, click File → Save or File → Save As.
- Close and reopen the diagram.
- Observe that changes were not saved.