Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Saved sketch is not opened after "Save As" operation #829

Copy link
Copy link
Closed
@per1234

Description

@per1234
Issue body actions

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

  1. Select File > New from the Arduino IDE menus.
    🛈: The bug is not specific to new sketches.
  2. Select File > Save As... from the Arduino IDE menus.
  3. 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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.