vscode: Can't open new window on separate desktop (macOS) if there are windows on other desktops

  • VSCode Version: 1.29.1 and 1.30.0-insider
  • OS Version: macOS 10.14 (18A391)

Steps to Reproduce:

  1. Open VSCode in Desktop 1
  2. Move to Desktop 2
  3. “New Window (Cmd+Shift+N)” won’t work
  4. Right click the icon in the Dock -> “New Window” will instead work

Gif showing the bug: https://duaw26jehqd4r.cloudfront.net/items/1V0c0V0k3w3d313a2b1m/Screen Recording 2018-11-29 at 01.29 AM.gif

Does this issue occur when all extensions are disabled?: Yes

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 17
  • Comments: 17 (1 by maintainers)

Commits related to this issue

Most upvoted comments

Still an issue on VSCode 1.42.0 / macOS 10.15.3

I think it’s been closed because it’s been fixed. This commit was merged to master early today https://github.com/microsoft/vscode/commit/6dc0327c9af20d0dfe7112feed7c4f75d32b0e83 🎉🎉🙏 Thank you team!

Still an issue on VSCode 1.44 / macOS 10.15.4

As a workaround I created an Automator application called “VSCode New Window” that runs a “Shell Script” (one of the available actions in Automator) with the command /usr/bin/local/code -n.

I wonder if this is the same thing as something I’ve been seeing:

  1. Run VS.code.
  2. Create a window.
  3. Minimise to the dock (with the yellow traffic-light icon in the window).
  4. Press Shift-Cmd-N to create another new window.

EXPECTED: The new window appears. ACTUAL: Nothing happens.

Why was this closed? I think people are commenting and replying to this issue (for years) to explicitly let the team that this hasn’t been fixed. Or possibly people have been replying so it doesn’t get lost or be assumed to be fixed with Mac updates, library updates or other passive luck.

Is it a wontfix or just too mysterious, related to Electron or some other fundamental technology that it has become cantfix?

Still an issue on VSCode 1.35.1 / macOS 10.14.5