You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Add a config setting for quitting the app when the last window is closed on Mac OS clicking the x icon directly #7835
mac 10.10.4
atom 1.0.2 download from release atom-mac.zip and install.
1.from Dock I click the icon
when I first open atom it comes to a untitled txt file,then choose a local folder and open it ,then close editor and reopen,it come to a untitled again.
add project folder does not work either
2. from the terminal, try to use atom . from a local folder, and close the editor manually by clicking the "x" icon ,also i try to open two local folders and shutdown one of them and reopen editor again, it won`t work either
Does this happen even if you open atom with the folder using atom the-folder from the terminal? What about if you open a new window after opening the first window.
Ok, I think that what you are seeing is the expected behavior. On Mac OS, the standard behavior is that the x button does not quit the app; it just closes the window. Atom remembers the windows you have open when you quit and reopen the app, so if you close a window, it will remember that you had no windows open.
thx. it seems so, when i right click the atom icon on Dock and quit the editor ,it works .but click the "x",the atom icon still stays on the Dock.
is there any config i can set to let atom do the same as command-q when i click the "x" close the window.
No, there's no such config setting right now. I know that MacVim has a config setting like that, so it would be a reasonable thing to add. Now that we understand the problem that you're experiencing, would you like to rename this issue, turning it into a feature request for that config setting?
changed the title [-]1.0.2 could not save session on mac[/-][+]Add a config setting for quitting the app when the last window is closed on Mac OS[/+]on Jul 15, 2015
@lee-dohm i tried the solutions in the links you provided,
neither of these three tabs-closer,close-after-last-tab,the-closer works,when I click the red "x" button as the below image shows
changed the title [-]Add a config setting for quitting the app when the last window is closed on Mac OS[/-][+]Add a config setting for quitting the app when the last window is closed on Mac OS clicking the x icon directly[/+]on Jul 16, 2015
Thanks for the ping @janwo. While we understand that this would be useful for some people's workflows, this isn't something that we're going to be adding to Atom.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
maxbrunsfeld commentedon Jul 10, 2015
Does this happen even if you open atom with the folder using
atom the-folderfrom the terminal? What about if you open a new window after opening the first window.wanghaisheng commentedon Jul 11, 2015
@maxbrunsfeld @mnquintana update the info
maxbrunsfeld commentedon Jul 11, 2015
So you said that when you close Atom, you close the window by clicking the
xbutton. What if instead, you quit the app withcommand-q?wanghaisheng commentedon Jul 11, 2015
@maxbrunsfeld let me try .instead of using 1.0.x atom , I am always doing things like that and it is ok
command-q works.
maxbrunsfeld commentedon Jul 11, 2015
Ok, I think that what you are seeing is the expected behavior. On Mac OS, the standard behavior is that the
xbutton does not quit the app; it just closes the window. Atom remembers the windows you have open when you quit and reopen the app, so if you close a window, it will remember that you had no windows open.wanghaisheng commentedon Jul 11, 2015
thx. it seems so, when i right click the atom icon on Dock and quit the editor ,it works .but click the "x",the atom icon still stays on the Dock.
is there any config i can set to let atom do the same as command-q when i click the "x" close the window.
maxbrunsfeld commentedon Jul 15, 2015
No, there's no such config setting right now. I know that MacVim has a config setting like that, so it would be a reasonable thing to add. Now that we understand the problem that you're experiencing, would you like to rename this issue, turning it into a feature request for that config setting?
wanghaisheng commentedon Jul 15, 2015
how to describe would be proper ,a little advice?
[-]1.0.2 could not save session on mac[/-][+]Add a config setting for quitting the app when the last window is closed on Mac OS[/+]lee-dohm commentedon Jul 16, 2015
There is a whole, huge sordid history to this. Most of it can be found in #2986. This also looks like a duplicate of #863, would you agree?
Also, there is the-closer that, last I checked, offered this already.
wanghaisheng commentedon Jul 16, 2015
@lee-dohm i tried the solutions in the links you provided,

neither of these three tabs-closer,close-after-last-tab,the-closer works,when I click the red "x" button as the below image shows
lee-dohm commentedon Jul 16, 2015
You're right, the-closer doesn't cover clicking the red button. I misunderstood.
[-]Add a config setting for quitting the app when the last window is closed on Mac OS[/-][+]Add a config setting for quitting the app when the last window is closed on Mac OS clicking the x icon directly[/+]janwo commentedon Apr 27, 2017
Any updates?
lee-dohm commentedon Apr 27, 2017
Thanks for the ping @janwo. While we understand that this would be useful for some people's workflows, this isn't something that we're going to be adding to Atom.
lock commentedon Apr 2, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!