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

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

Closed
chpmrc opened this issue Nov 29, 2018 · 17 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders macos Issues with VS Code on MAC/OS X menus Menu items and widget issues verified Verification succeeded
Milestone

Comments

@chpmrc
Copy link

chpmrc commented Nov 29, 2018

  • 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%20Recording%202018-11-29%20at%2001.29%20AM.gif

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

@vscodebot vscodebot bot added the insiders label Nov 29, 2018
@vscodebot
Copy link

vscodebot bot commented Nov 29, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@chpmrc
Copy link
Author

chpmrc commented Nov 29, 2018

The problem described in #35240 is similar but not the same (in that case it focuses on the existing virtual desktop).

EDIT: also this doesn't just apply to the insider version.

@jlarcombe
Copy link

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.

@chpmrc
Copy link
Author

chpmrc commented Nov 29, 2018

Yep, can confirm that happens too. Probably related. Thanks!

@bpasero bpasero assigned sbatten and unassigned bpasero Dec 1, 2018
@bpasero bpasero added workbench-menu macos Issues with VS Code on MAC/OS X labels Dec 1, 2018
@chpmrc
Copy link
Author

chpmrc commented Dec 4, 2018

Can we remove the insiders label? This happens with the stable release too. Thanks.

@chpmrc
Copy link
Author

chpmrc commented Dec 8, 2018

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.

@spiffre
Copy link

spiffre commented Jan 24, 2019

Still an issue on VSCode 1.30.2 / macOS 10.12.6 (16G29)

@sbatten sbatten added the bug Issue identified by VS Code Team member as probable bug label Feb 1, 2019
@sbatten sbatten added this to the On Deck milestone Feb 1, 2019
@kkew3
Copy link

kkew3 commented May 18, 2019

Still an issue on VSCode 1.34.0 / macOS 10.14.4.

Besides "New File", it cannot "Open...", "Open Workspace...", etc. "Open Recent..." opens a window but it will jump to another space, which is not desirable.

@SamWolski
Copy link

Still an issue on VSCode 1.35.1 / macOS 10.14.5

@bzmillerboy
Copy link

Still an issue on VSCode 1.42.0 / macOS 10.15.3

@robderon
Copy link

Still an issue on VSCode 1.43.2 / macOS 10.15

@rlab
Copy link

rlab commented Jun 19, 2020

Still an issue on VSCode 1.44 / macOS 10.15.4

@wmayner
Copy link

wmayner commented Jul 5, 2020

Still an issue on

Version: 1.47.0-insider
Commit: 9bf6af04dcb5c2e531cedca83cd188939ca1b0db
Date: 2020-06-26T21:11:02.609Z
Electron: 8.3.3
Chrome: 80.0.3987.165
Node.js: 12.13.0
V8: 8.0.426.27-electron.0
OS: Darwin x64 19.5.0

@sbatten sbatten closed this as completed in 6dc0327 Jul 7, 2020
@sbatten sbatten modified the milestones: Backlog, July 2020 Jul 7, 2020
@squarism
Copy link

squarism commented Jul 8, 2020

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?

@robenkleene
Copy link

I think it's been closed because it's been fixed. This commit was merged to master early today 6dc0327 🎉🎉🙏 Thank you team!

@sbatten
Copy link
Member

sbatten commented Jul 8, 2020

The unreleased tag should be updated when the fix ships in insiders in the coming days.

gjsjohnmurray pushed a commit to gjsjohnmurray/vscode that referenced this issue Jul 8, 2020
@squarism
Copy link

I think it's been closed because it's been fixed. This commit was merged to master early today 6dc0327 🎉🎉🙏 Thank you team!

Oh, I see! I missed the SHA/commit. Sorry. 🙂

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug insiders-released Patch has been released in VS Code Insiders macos Issues with VS Code on MAC/OS X menus Menu items and widget issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

15 participants