Skip to content

WSL VM boot up steals focus from the foreground app #1212

Open
@tusharsnx

Description

@tusharsnx

Windows Version

Microsoft Windows [Version 10.0.22631.3235]

WSL Version

2.1.4.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.146.1-2

Distro Version

No response

Other Software

No response

Repro Steps

  1. To ensure wsl isn't running in the background, run wsl --shutdown.
  2. Start wsl: wsl
  3. Focus is lost from the terminal app.

This repros on VScode and Visual Studio integrated terminals, and Windows Terminal also.

Expected Behavior

Focus is still on the foreground (terminal) app.

Actual Behavior

Focus is lost from the foreground app.

Diagnostic Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions