Skip to content
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

Don't exit when last window (sketch) is closed (on Mac OS X). [imported] #936

Closed
cmaglie opened this issue Nov 15, 2012 · 7 comments
Closed
Assignees
Labels
Component: IDE The Arduino IDE OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE

Comments

@cmaglie
Copy link
Member

cmaglie commented Nov 15, 2012

This is Issue 936 moved from a Google Code project.
Added by 2012-06-01T02:38:55.000Z by dmel...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Medium, Component-IDE, OpSys-OSX

Original description

What change would like to see?

The Arduino application shouldn't exit when the last window is closed (on Mac OS X).

Why?

That's how other Mac applications work. The latest versions of Processing have made this change, I believe.

@cmaglie
Copy link
Member Author

cmaglie commented Mar 24, 2013

@ghost
Copy link

ghost commented Feb 10, 2017

I think it would be best if it closed when the user clicks away, if there are no windows open. This is how QuickTime and other programs work.

@ghost ghost unassigned ffissore Feb 10, 2017
@charliewilliams
Copy link

@segmented The QuickTime Player app doesn't quit when I close the last window (macOS 10.13.6). I don't see any reason why the Arduino app should either.

The workflow that I run into with this is:

  1. Launch Arduino
  2. Arduino auto-opens the last sketches I was working on. I'm not doing anything with those sketches right now, so I close them
  3. Drat, Arduino has quit.
  4. Relaunch Arduino

@hehongbo
Copy link

@charliewilliams Totally agree. The idea of window(tab) and current application in macOS is not same with those on Windows, and so does how their user think and work. There is unnecessary to behave like another OS especially for an editor.

For me,

  • I'll cmd+w to close the window I'm not working on, and cmd+n to create a new file. It's natural. same thing in Pages/Numbers/Photoshop/Illustrator/Chrome and nearly every macOS Application, and even Processing.
  • But for Arduino IDE after cmd+w the application exits entirely, to prevent that I have to cmd+n and switch to previous window and cmd+w which is totally unnatural. Also, I should aware of it is the last window, crazy.
  • Sometimes I will close the last window chronically which I'm not aware of and the IDE exits immediately.
  • so I have to relaunch Arduino IDE which consume another 20s loading packages and sketchbook. It's horrible.

The idea that keeps application open after the last window close in macOS is designed for saving time and should not be go against, I believe. Maybe the habit of windows user should be considered, but a checkbox controls this option is also nice.

@per1234 per1234 added the Type: Duplicate Another item already exists for this topic label Sep 21, 2018
@per1234
Copy link
Collaborator

per1234 commented Sep 21, 2018

Closing as duplicate of #8021

Even though this one came first and has more information, #8021 has signs of progress so I guess it takes precedence.

@facchinm
Copy link
Member

@per1234 I couldn't find this issue to set #8021 as duplicate, doing it now 😉 Thanks for your incredible effort!

@facchinm facchinm reopened this Sep 24, 2018
@facchinm facchinm removed the Type: Duplicate Another item already exists for this topic label Sep 24, 2018
@facchinm facchinm added this to the Release 1.8.8 milestone Sep 24, 2018
@facchinm facchinm self-assigned this Sep 24, 2018
@facchinm
Copy link
Member

Fixed by merging #8023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE OS: OSX Specific to the Mac OS X (macOS) version of the Arduino IDE
Projects
None yet
Development

No branches or pull requests

6 participants