-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
External dialogs appear behind VSCode when launched from powershell #42356
Comments
Reading your description it seems that the issue originates from an extension and not VS Code itself. Thereby I will close this issue and kindly ask you to report this issue against the extension repository. Most extensions are on GitHub as well so it should be easy to file it against the extension. If you open an extension on the market place, click on the Support link to find out more. Thanks again for your feedback! |
This was closed by mistake it would seem. I stated in my repro steps: I was also just curious from an extension standpoint. That part is more of an aside to the actual issue. |
Looks like this is related to electron, I haven't experienced the issue personally. |
@Tyriar here's an easier repro that doesn't require the Azure cmdlets. Get-Process | Out-GridView Can you repro that? Note: that will only work on Windows and with Windows PowerShell. |
Yes I can repro with that, thanks. I still think it's an Electron issue though |
Some observations:
|
I have managed to find these Electron issues that sound related, but not completely sure: |
Hi, VS Code: Extension: PC: Please, could somebody help? Thank you. |
Any update on this? I am experiencing the same issue now myself with trying to implement a user-friendly |
Is this dead or still being investigated? |
Unless someone from Microsoft is able to confirm that they own this issue, it seems we must unfortunately conclude it is in the "too hard to solve" category / effectively dead. |
Looks like the upstream issue's been fixed: microsoft/terminal#2988. |
For what it's worth I can confirm that this issue of dialogs appearing behind VSCode is happening on Linux as well(Jammy 22.04). This also seems to be unrelated to the terminal. If I create a new .txt for instance(ctrl-n) and try to save it(ctrl-shift-s), the dialog for save-as is nowhere to be seen, assuming VSC is fullscreen. I also use two monitors and thought perhaps it was related until I saw this issue here. |
Looks like this is fixed upstream, so you should just need to wait for a new version of Windows with the fixed conpty. |
Steps to Reproduce:
With the AzureRM powershell module:
Login-AzureRmAccount
Reproduces without extensions: Yes
I'm also curious if there's a way for an extension like the PowerShell extension for VSCode to bring UI to the top, over VSCode. Often UI generated by other programs (debug extension, user programs) show up behind VSCode and it confuses users (causes bug submissions).
This issue was sparked by:
PowerShell/vscode-powershell#1175
The text was updated successfully, but these errors were encountered: