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

Reveal in Explorer does not bring the File Explorer window to the foreground #7494

Closed
ChrisGuzak opened this issue Jun 9, 2016 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone

Comments

@ChrisGuzak
Copy link
Member

  • VSCode Version: 1.2.0
  • OS Version: Windows 10

Steps to Reproduce:

  1. Right click on a file in the files list, choose "Reveal in Explorer"

observe that the explorer window opened does not come to the foreground.

Usually this type of problem us due to not passing the foreground privilege on correct. If COM is used to transport the call from one thread to another use CoAllowSetForegroundWindow() on the COM object that will invoke the API that opens File Explorer.
Also verify you are using SHOpenFolderAndSelectItems API to open the window and select the file.

@bpasero bpasero added bug Issue identified by VS Code Team member as probable bug upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Jun 13, 2016
@bpasero bpasero added this to the Backlog milestone Jun 13, 2016
@bpasero
Copy link
Member

bpasero commented Jul 15, 2016

#929

@bpasero bpasero closed this as completed Jul 15, 2016
@bpasero bpasero added *duplicate Issue identified as a duplicate of another issue(s) and removed bug Issue identified by VS Code Team member as probable bug labels Jul 15, 2016
@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
*duplicate Issue identified as a duplicate of another issue(s) upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants