-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
New window is opened in background #15895
Comments
Hey! Thanks for the report. This appears to be /duplicate of #15763. 🙂 |
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! |
Oh you're right. (Although I do think they're related.) |
This issue has been marked as duplicate and has not had any activity for 1 day. It will be closed for housekeeping purposes. |
I didn't notice that this issue was closed again. I'll reopen it. I don't really think it's the exact same issue as the other one... |
This is the " |
I ahve been having this issue for a couple weeks too now. I'm opening the Windows Terminal by pressing the Win button to open the start menu and type "Terminal". I think the problem occurs if the Windows Terminal app is pinned to the task bar. EDIT: This is incorrect. |
I'm having the same issue, not related to pinned task bar here. I'm starting wt.exe using an autohotkey script. Terminal windows randomly appears in background. |
@willuhn you're correct, after working for a while I just had the same issue again. |
Its always appearing on the background for me, I do not like that at all |
I used to have this issue until I updated to 1.19.10821.0 via Winget. From memory, I used Microsoft Store to get WT at first. I open WT via the context menu (right click → t) and a shortcut on my desktop mapped to a keybind. I'm on Windows 10 22H2 build 19045.4170. I feel like this issue is either contextual (the fix seems to persist through restarts though) or resolved. |
Have version 1.19.10821.0 installed thro Microsoft Store and it has been happening for months. Still happening Doesn't matter how I open terminal, always goes to background |
Sometimes subsequent WT windows open in the background behind other applications. This PR tries to fix it. Refs #15895 Refs #15479 Mysterious bug (and annoying). There are even some discussions about happening to the first startup, not just subsequent ones. Sometimes the window may show up without animation too. So I don't think this is the final solution, but it did get solved on my computer, for now. ## Validation Steps Performed 0. Quit all WT windows if some. 1. Open File Explorer, click "Open in Terminal" in context menu. 2. Move the newly opened window and minimize it. 3. Back to step 1 and repeat several times. 4. All the windows should open in the foreground correctly (yet possibly without animation). --------- Co-authored-by: Mike Griese <migrie@microsoft.com>
Sometimes subsequent WT windows open in the background behind other applications. This PR tries to fix it. Refs #15895 Refs #15479 Mysterious bug (and annoying). There are even some discussions about happening to the first startup, not just subsequent ones. Sometimes the window may show up without animation too. So I don't think this is the final solution, but it did get solved on my computer, for now. ## Validation Steps Performed 0. Quit all WT windows if some. 1. Open File Explorer, click "Open in Terminal" in context menu. 2. Move the newly opened window and minimize it. 3. Back to step 1 and repeat several times. 4. All the windows should open in the foreground correctly (yet possibly without animation). --------- Co-authored-by: Mike Griese <migrie@microsoft.com> (cherry picked from commit c52ba7d) Service-Card-Id: 92715122 Service-Version: 1.21
Sometimes subsequent WT windows open in the background behind other applications. This PR tries to fix it. Refs #15895 Refs #15479 Mysterious bug (and annoying). There are even some discussions about happening to the first startup, not just subsequent ones. Sometimes the window may show up without animation too. So I don't think this is the final solution, but it did get solved on my computer, for now. ## Validation Steps Performed 0. Quit all WT windows if some. 1. Open File Explorer, click "Open in Terminal" in context menu. 2. Move the newly opened window and minimize it. 3. Back to step 1 and repeat several times. 4. All the windows should open in the foreground correctly (yet possibly without animation). --------- Co-authored-by: Mike Griese <migrie@microsoft.com> (cherry picked from commit c52ba7d) Service-Card-Id: 92715121 Service-Version: 1.20
fwiw I can't repro this on |
Yeah! I can confirm it works for me with version 1.21.1772.0 on Win 11 22631.4112. |
I am on version which you have not mentioned, which is really strange, but with 1.21.1772.0 it works for me. I tried exactly the repro steps and also my usual work flow, it works. It might be working for longer time, I just have not noticed it. |
Works for me, closing. |
Windows Terminal version
1.18.1462.0
Windows build number
10.0.22621.0
Other Software
No response
Steps to reproduce
wt
and press Enter.wt
and press Enter.wt
and press Enter.Expected Behavior
The new window is opened in foreground and gets focus.
Actual Behavior
The new window is not a foreground window and does not have focus.
The new window is opened in foreground as long as you do not click on any previously opened window. When you do, next Windows Terminal window (and any further) opens in background.
The text was updated successfully, but these errors were encountered: