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

Windows terminal loose focus after 32 sec #16391

Closed
nitrateag opened this issue Nov 29, 2023 · 7 comments
Closed

Windows terminal loose focus after 32 sec #16391

nitrateag opened this issue Nov 29, 2023 · 7 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@nitrateag
Copy link

nitrateag commented Nov 29, 2023

Windows Terminal version

1.18.3181.0

Windows build number

10.0.22621.0

Other Software

No response

Steps to reproduce

Simply run (with Win+R shortcut) this command :

wt powershell -c pause

wait 32 sec.


yeah, 32 sec exactly... not 30 !
the focus is loose each time, and only on Windows Terminal !
if I use old blue Powershell console, he don't loose the focus
very weird ^^

it happen also with

wt powershell -c Read-Host

of course, that is a minimal example to reproduce, but that very painfull for the script I'm working on

Expected Behavior

After 32 seconds, the terminal still have the focus. Hit ENTER stop the pause

Actual Behavior

After 32 seconds, the terminal loose the focus. Hit ENTER do nothing because terminal don't catch the input until we click/set focus on terminal

@nitrateag nitrateag added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Nov 29, 2023
Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@nitrateag
Copy link
Author

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

sorry gentle bot, but my case is little different : Terminal have the focus when open, but loose it after 32 sec...
In example you show me they don't have the focus at start. And I don't use WSL.

@nitrateag
Copy link
Author

But like #13846 , A simple :

  1. Win+R
  2. Type wt.exe, Enter
  3. wait 32 sec
    reproduce also my issue, but not at terminal launch !

@zadjii-msft
Copy link
Member

Do you have something like BeyondSoft or CyberArk or anything like that/? Does this repro any time you open a new tab once the Terminal is already running?

What you're describing is highly similar to reports over in #13388

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Nov 29, 2023
@nitrateag
Copy link
Author

nitrateag commented Nov 30, 2023

Do you have something like BeyondSoft or CyberArk or anything like that/? Does this repro any time you open a new tab once the Terminal is already running?

What you're describing is highly similar to reports over in #13388

Hi Zadjii,
You have right, BeyondTrust is integrated into my work environment as an identity and privilege manager.
I've tried using admin rights, but the focus problem persists.

As in the case of #13388, creating a new tab makes me lose focus, but only after 32sec.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Nov 30, 2023
@zadjii-msft
Copy link
Member

Welp yea, let's merge this into that other thread then. There's something wacky that BeyondTrust does that we don't fully understand. We have yet to come up with a clever fix 😕

/dup #13388

@zadjii-msft zadjii-msft closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2023
Copy link
Contributor

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Attention The core contributors need to come back around and look at this ASAP. labels Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants