PowerShell / PowerShell/vscode-powershell

Windows spawned from integrated console are hidden behind VS Code window

Open
#621 22 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug: VS Code Issue-Bug
Dominant language
TypeScript
Stars
1.9k
Forks
547
PR merge metrics
No merged PRs in 30d

Description

Update

This is an issue in VSCode that the PowerShell extension has no control over. In fact it's an issue in electron that has yet to be fixed.

To resolve this issue, we are waiting on a solution from VSCode.

Original Issue

There's a general problem where windows spawned from within the PowerShell process are being shown below the VS Code window, more than likely because their window parent is a non-visible powershell.exe process. I need to check if there's a way to set powershell.exe's window parent to VS Code so that windows spawned from within are ultimately parented to VS Code's window instead.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked VS Code issue #42356 and the referenced Electron issue; the report states that the PowerShell extension has no control over this behavior. There are no repository files or tests named, and completion depends on an upstream VS Code or Electron fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, powershell, vscode
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.