Reveal in Explorer does not bring the File Explorer window to the foreground #7494
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone
Steps to Reproduce:
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.
The text was updated successfully, but these errors were encountered: