-
-
Notifications
You must be signed in to change notification settings - Fork 488
Open
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Describe the problem
The IDE automatically looks for updates and informs the user. Prior to updating, the user is asked to close and update
the software. When you have an unsaved sketch and want to update the IDE, the IDE asks you to save the current sketch but goes ahead with the installer anyway.
The unsaved sketch is then forced closed, which may lead to loss of work.
To reproduce
- Open Arduino IDE 2.0.0rc9.1
- Make a sketch, but do not save it
- Download rc9.2 when asked to
- Once rc9.2 has been downloaded, click on
Close & Install
- Ignore the window asking you to save
- Install IDE rc9.2
- The previous version of the IDE (rc9.1) is forcefully shut down without any warning
Expected behavior
The installation procedure does not proceed until the unsaved sketch is taken care of.
Arduino IDE version
IDE 2.0.0-rc9.1
Operating system
Windows
Operating system version
Windows 10
Additional context
Not valid for the nightly build
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details
per1234
Metadata
Metadata
Assignees
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project