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.
New file command does nothing with no windows open #7171
The problem is that cmd+n is a no-op when there is no focussed window (see browser/atom-application.coffee#L170), which will probably only occur on OSX. The usual behavior of similar applications (eg. Sublime) is to open a new window with a new file instead.
I've fixed this on my fork and would send a PR, but are unable to locate tests for key bindings. Are there any, or is this area simply not covered yet?
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
batjko commentedon Jun 8, 2015
I'm on Win8.1, but can't replicate this.
Did it only happen once, or can you recreate it after restarting Atom?
If so, does it still happen after starting atom in safe mode (
atom --safe)?samuela commentedon Jun 9, 2015
Well, I closed the misbehaving window, opened things up again today, and still have the same issue.
mnquintana commentedon Jun 9, 2015
@samuela Have you followed the steps in the debugging guide? Have you tried seeing if you can reproduce this in safe mode? (
atom --safe)fb55 commentedon Jul 16, 2015
The problem is that
cmd+nis a no-op when there is no focussed window (see browser/atom-application.coffee#L170), which will probably only occur on OSX. The usual behavior of similar applications (eg. Sublime) is to open a new window with a new file instead.I've fixed this on my fork and would send a PR, but are unable to locate tests for key bindings. Are there any, or is this area simply not covered yet?
mnquintana commentedon Jul 16, 2015
@fb55 It would be great if you could open a PR for this!
[-]New file command doesn't do anything[/-][+]New file command does nothing with no windows open[/+]lock commentedon Jan 18, 2019
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!