Skip to content
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

Lose focus when freshly launch wsl2. #10050

Closed
PhyX-Meow opened this issue May 7, 2021 · 4 comments
Closed

Lose focus when freshly launch wsl2. #10050

PhyX-Meow opened this issue May 7, 2021 · 4 comments
Labels
Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-External For issues that are outside this codebase

Comments

@PhyX-Meow
Copy link

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.

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels May 7, 2021
@PhyX-Meow
Copy link
Author

PhyX-Meow commented May 7, 2021

Ahh...I think I find the reason.
After disabling wslg, problem go away. My wslg version is v1.0.19.
May be I should report an issue there?

Still....no problem on my laptop, it also has wslg installed.

@zadjii-msft
Copy link
Member

I'd definitely report it there. I don't have the darndest idea why this would be caused by the Terminal, so I'd be confident this is something weird wsl is doing. At least they'll have a better idea of how to debug / diagnose why it only happens on your PC.

@zadjii-msft zadjii-msft added the Resolution-External For issues that are outside this codebase label May 7, 2021
@BrBill
Copy link

BrBill commented Mar 4, 2024

Why is this closed with no explanation? Was there a fix? Doesn't sound like there was, just a workaround.

@DHowett
Copy link
Member

DHowett commented Mar 4, 2024

Why is this closed with no explanation?

The original filer of the issue was asked to file the bug on the WSLg repository.

@microsoft microsoft locked as resolved and limited conversation to collaborators Mar 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-External For issues that are outside this codebase
Projects
None yet
Development

No branches or pull requests

4 participants