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

Diagram thumbnail does not correspond to actual diagram

Open kostasadriano opened this issue 9 months ago • 3 comments

Describe the bug: Diagram thumbnail does not correspond to actual diagram.

Expected behaviour: Thumbnail should correspond to the contents of the diagram.

Environment:

  • Version: 2.4.0
  • Platform: Tested with Desktop App
  • OS: Tested on Windows The behavior is probably the same for other versions.

To Reproduce: Open Threat Dragon. Open a model. The diagram thumbnail is a generic one.

Any additional context, screenshots, etc:

Image

kostasadriano avatar Mar 02 '25 20:03 kostasadriano

Agreed @kostasadriano , and it would be good if it was an actual thumbnail rather than a generic diagram The Plot4ai diagrams have the Plot4ai logo, and perhaps it would be good to have a 'STRIDE' logo instead - if there is one?

jgadsden avatar Mar 02 '25 20:03 jgadsden

assign this to me @kostasadriano @jgadsden

Possible Solutions for Incorrect Diagram Thumbnail 1️⃣ Ensure Thumbnail Updates – Trigger thumbnail regeneration after changes. 2️⃣ Check Rendering Logic – Verify that the correct diagram is captured and saved. 3️⃣ Fix Caching Issues – Clear old thumbnails to prevent outdated previews. 4️⃣ Enable Manual Refresh – Add an option to regenerate thumbnails on demand. 5️⃣ Check File Save Process – Ensure the latest diagram is properly stored before generating the thumbnail.

aniket866 avatar Mar 11 '25 09:03 aniket866

This issue is stale because it has been open for 6 months with no activity

github-actions[bot] avatar Sep 14 '25 06:09 github-actions[bot]