Closed
Description
Describe the bug
The established behavior of the Arduino IDE and applications in general is that the saved file/project is opened after a "Save As..." operation.
🐛 Arduino IDE does not open the saved sketch after a "Save As..." operation. Instead, the sketch that was open in the IDE before the operation remains open.
To Reproduce
- Select File > New from the Arduino IDE menus.
🛈: The bug is not specific to new sketches. - Select File > Save As... from the Arduino IDE menus.
- Save the sketch with the name "SaveAsTarget".
🐛 The "SaveAsTarget" sketch is not opened by the IDE.
Expected behavior
Target sketch is opened in the IDE after a "Save As..." operation.
Desktop
- OS: Windows 10
- Version: 2.0.0-rc3-snapshot-2f9bf86
Date: 2022-02-11T14:52:06.341Z
CLI Version: 0.21.0 [10107d24]
Additional context
I bisected the bug to 112153f (it does not occur in the build from the previous commit 69ac1f4).
The target sketch is created.
Metadata
Metadata
Labels
Issue was resolvedIssue was resolvedOf high impactOf high impactRelated to content of the project itselfRelated to content of the project itselfPerceived defect in any part of projectPerceived defect in any part of project