See it isn't possible to close the window without saving the script
Reopen the script editor - the script is gone
Expected behavior
Not sure.
v0.5.x and before permitted the script editor to be closed without requesting the user to save anything.
The trouble with that was that people could easily lose edited scripts without being prompted to save changes.
Two possible options:
Provide an option to hide the script editor without closing scripts - but still prompt to save changes when QuPath is being closed
Keep current behaviour, but retain the last script when reopening the script editor window
The first option is perhaps the most useful, since the second would only permit retaining one script at a time - and multiple scripts may be open.
Desktop (please complete the following information):
Bug report
Describe the bug
After https://github.com/qupath/qupath/pull/1524 (I think) it's no longer possible to close the script editor without closing scripts.
This was flagged as a potential annoyance at https://github.com/qupath/qupath/pull/1524#issuecomment-2133544271 and then reported as an actual annoyance at https://forum.image.sc/t/feedback-on-qupath-v0-6-0-rc2/103187/3?u=petebankhead
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Not sure.
v0.5.x and before permitted the script editor to be closed without requesting the user to save anything. The trouble with that was that people could easily lose edited scripts without being prompted to save changes.
Two possible options:
The first option is perhaps the most useful, since the second would only permit retaining one script at a time - and multiple scripts may be open.
Desktop (please complete the following information):