Inconsistent dialogs when exit would result in user data loss #1016
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
Under either of the following conditions, closing the Arduino IDE window would result in loss of sketch content:
As is standard for any application, the Arduino IDE notifies the user of this situation when they initiate a window close operation.
🐛 The presented dialogs are significantly different depending on which combination of the above conditions are present:
To reproduce
❗ Do not save the sketch.
🙂 Dialog offering save is presented:
☑
Auto save".❗ Do not save the sketch.
🙁 Unintuitive and unhelpful "Any unsaved changes will not be saved" dialog appears:
😕 Dialog offering save is presented.
❗ Do not save the sketch.
🙁 Unintuitive and unhelpful "will not be saved" dialog appears.
🐛 Standard dialog offering save is not presented.
Expected behavior
Always show only the "Save your sketch" dialog.
Eradicate the unintuitive (#677) and unhelpful (#170) "Any unsaved changes will not be saved" dialog from the IDE.
Arduino IDE version
2.0.0-rc6-snapshot-5b486b1
Operating system
Windows, Linux
Operating system version
Windows 10, Ubuntu 20.04
Issue checklist
The text was updated successfully, but these errors were encountered: