Skip to content

Starting IDE when IDE is already open with a sketch opens another copy of that sketch #3439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
per1234 opened this issue Jun 30, 2015 · 5 comments
Assignees
Labels
Milestone

Comments

@per1234
Copy link
Collaborator

per1234 commented Jun 30, 2015

Using Arduino IDE 1.6.6 Hourly Build 2015-06-29 08:41 with Windows 7 64 bit

  • Open a saved sketch in the IDE
  • Start IDE - There are now two copies of the previously opened sketch open

If multiple sketches are open when the second instance of the IDE is started then it creates duplicate windows of all open sketches.

This is similar behavior to reopening the IDE after File > Quit so it may be related to that code.

@ffissore
Copy link
Contributor

If I got this right, you have started the IDE twice. If so, although weird in some cases, it is expected and it's the price to pay for allowing to start multiple and different versions of the IDE

@ffissore ffissore added the Waiting for feedback More information must be provided before we can proceed label Jun 30, 2015
@ffissore ffissore added this to the Release 1.6.6 milestone Jun 30, 2015
@ffissore ffissore self-assigned this Jun 30, 2015
@per1234
Copy link
Collaborator Author

per1234 commented Jun 30, 2015

Yes that's correct I started the IDE twice but both the same version not different versions. I would expect that to just have the same effect as File > New but it's no big deal just thought I'd mention it in case you considered it a bug.

@ffissore
Copy link
Contributor

It's not. We just allow multiple instance of the IDE to be started and don't make then check what the others have done/are doing. Closing as invalid then

@ffissore ffissore added Type: Invalid Off topic for this repository, or a bug report determined to not actually represent a bug and removed Waiting for feedback More information must be provided before we can proceed labels Jun 30, 2015
@per1234 per1234 removed the Type: Invalid Off topic for this repository, or a bug report determined to not actually represent a bug label Mar 31, 2018
@per1234
Copy link
Collaborator Author

per1234 commented Mar 31, 2018

I'm reopening this issue for reconsideration because "weird" behavior when multiple instances of the Arduino IDE running should be considered a bug (even if not a high priority one) since that usage provides the very useful feature of allowing different boards to be selected and multiple Serial Monitors/Serial Plotters to be open (see #7337 (comment), arduino/arduino-ide#1730, #1482 (comment)).

@per1234 per1234 reopened this Mar 31, 2018
@per1234 per1234 added the Component: IDE The Arduino IDE label Oct 2, 2020
@per1234 per1234 added feature request A request to make an enhancement (not a bug fix) Component: IDE The Arduino IDE Type: Bug and removed Component: IDE The Arduino IDE Type: Bug feature request A request to make an enhancement (not a bug fix) labels Jan 26, 2024
@per1234 per1234 self-assigned this Jan 28, 2024
@per1234
Copy link
Collaborator Author

per1234 commented Jan 28, 2024

Closing as resolved in Arduino IDE 2.x. Arduino IDE 2.x only allows a single instance to be open at a time. Subsequent invocations of the IDE will simply open the existing instance rather than a duplicate instance.

@per1234 per1234 closed this as completed Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants