Lose focus when freshly launch wsl2. #13739

Open
opened 2026-01-31 03:50:50 +00:00 by claunia · 0 comments
Owner

Originally created by @PhyX-Meow on GitHub (May 7, 2021).

Windows Terminal version (or Windows build number)

10.0.21376.0, 1.7.1033.0

Other Software

Just wsl2.

Steps to reproduce

  1. Open a Powershell tab.
  2. Run wsl --shutdown.
  3. Open a wsl2 tab.
  4. Do nothing and wait.

Expected Behavior

The terminal window stay focused.

Actual Behavior

The terminal lose its focus at sometime before the shell is launched.

动画

Strangely, the issue only occur on my pc, but not my laptop.
I have tried everything I can to make the environment the same, but still the problem only occur on my pc.
Appreciate any help.

Originally created by @PhyX-Meow on GitHub (May 7, 2021). ### Windows Terminal version (or Windows build number) 10.0.21376.0, 1.7.1033.0 ### Other Software Just wsl2. ### Steps to reproduce 1. Open a Powershell tab. 2. Run `wsl --shutdown`. 3. Open a wsl2 tab. 4. Do nothing and wait. ### Expected Behavior The terminal window stay focused. ### Actual Behavior The terminal lose its focus at sometime before the shell is launched. ![动画](https://user-images.githubusercontent.com/17513581/117470923-e5759200-af89-11eb-93ae-78bd3ed43dc4.gif) Strangely, the issue only occur on my pc, but not my laptop. I have tried everything I can to make the environment the same, but still the problem only occur on my pc. Appreciate any help.
claunia added the Needs-TriageResolution-ExternalNeeds-Tag-Fix labels 2026-01-31 03:50:50 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13739