Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
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

Closed

Description

@samuela

I'm running Atom 0.207 on Mac. I ran into a weird scenario today where hitting cmd-n and clicking "File -> New File" did absolutely nothing. Unfortunately, I'm not sure exactly what caused this. I was adding and renaming folders and maybe using Git Plus a little bit but that's all. Anyways, here's a gif of the behavior: http://g.recordit.co/njk9NwI6M8.gif.

Activity

  1. batjko commented on Jun 8, 2015

    @batjko
    Contributor

    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)?

  2. samuela commented on Jun 9, 2015

    @samuela
    Author

    Well, I closed the misbehaving window, opened things up again today, and still have the same issue.

  3. mnquintana commented on Jun 9, 2015

    @mnquintana
    Contributor

    @samuela Have you followed the steps in the debugging guide? Have you tried seeing if you can reproduce this in safe mode? (atom --safe)

  4. fb55 commented on Jul 16, 2015

    @fb55

    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?

  5. mnquintana commented on Jul 16, 2015

    @mnquintana
    Contributor

    @fb55 It would be great if you could open a PR for this!

  6. changed the title [-]New file command doesn't do anything[/-] [+]New file command does nothing with no windows open[/+] on Jul 31, 2015
  7. added
    mac
    on Jul 31, 2015
  8. self-assigned this
    on Dec 30, 2015
  9. lock commented on Jan 18, 2019

    @lock

    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!

  10. locked as resolved and limited conversation to collaborators on Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugmac

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions