If autosave is on, user is not prompted to "save as..." when closing a newly created sketch or edited example. #595
Labels
conclusion: resolved
Issue was resolved
criticality: high
Of high impact
priority: high
Resolution is a high priority
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the bug
If autosave is enabled, when closing for the first time edited examples and newly created sketches the user is not prompted to 'save as...', as consequence is not aware of the location of the sketch and may think he lost his work (when actually is stored in temporary folder).
To Reproduce
Steps to reproduce the behavior (closing from the interface top bar's red quitting icon):
Steps to reproduce the behavior (closing the whole Arduino IDE through top bar menu):
Steps to reproduce the behavior (closing the whole Arduino IDE through shortcut):
Expected behavior
When autosave is enabled, when closing for the first time a newly created sketch or edited example I expect the IDE to warn me with a dialog box with "Save as...", "don't save", "cancel" call to actions.
Screenshots

Desktop (please complete the following information):
Additional context
The expected behavior is working when closing the workspace through shortcut 'CMD / Ctrl + W' or going to 'File' and clicking 'Close'.
The text was updated successfully, but these errors were encountered: