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

VS Code window won't get focus after opening a file when VS Code is already running #5895

Closed
OndrejVrsan opened this issue Apr 27, 2016 · 2 comments

Comments

@OndrejVrsan
Copy link

  • VSCode Version: 1.0.0
  • OS Version: 6.1. Build 7601

Steps to Reproduce:
0. VS Code is not running

  1. Focus File Explorer window
  2. Open a file (e.g. A.txt) -> VS Code window opens on top and gets focus
  3. Focus another window, e.g. File Explorer
  4. Open another file (e.g. B.txt)

Actual:
VS Code icon is shining in taskbar, File Explorer window is still on top

Expected:
New VS Code window is opened on top and has focus, just like in step 2

Note:
_It works as expected when you met these two conditions

  1. in User settings_ "window.openFilesInNewWindow": false
    2. After opening file A.txt in step 2 above, you minimize the VS Code window.
@bpasero
Copy link
Member

bpasero commented Apr 27, 2016

Known windows issue, filed already.

@bpasero bpasero closed this as completed Apr 27, 2016
@bpasero
Copy link
Member

bpasero commented Apr 27, 2016

#929

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants