-
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
window of a windows terminal is appending to the end of windows stack #15763
Comments
Hi @beqabeqa473. We've got a few questions for you:
|
Hello. It happens with 1.16 as well as with 1.18 |
I have the same problem on my desktop and laptop. Both with Windows 11. I tried closing the other running applications, but I couldn't locate the problem. I have been observing the problem for several months, on older versions of Windows 11 and Windows Terminal. |
This problem is also mentioned in this post: https://superuser.com/questions/1777841/windows-terminal-isnt-added-to-tab-history-when-started-via-the-run-dialog I can confirm that the WT taskbar icon is indeed not rendered as active (longer horizontal line below the icon), although the window responds normally to keystrokes. Something changed during the tests and now I am unable to reproduce the problem. I was able to reproduce it when running cmd.exe. |
Reproduction sample: https://github.com/jry2/WTTabProblem See WTProblem function: https://github.com/jry2/WTTabProblem/blob/ec0d81601268110b25748bcbc778e4f65ea64bb8/WTProblem.cpp#L114C6-L114C15 |
I have the same problem on my win11 22H2 22621.2134. More accurately, it sometimes works well and sometimes goes to back of windows stack. Unfortunatelly I have no idea how to reproduce it for sure. |
According to this post, it seems that you need to use Win+R to call Terminal to reproduce |
So the temporary solution is to run wt instead of cmd/powershell, right?😀 |
It is funny, I have version |
Same issue here! |
Can you try pressing As of today, I observed weird behavior from this bug, I usually put my machine to sleep instead of shutting it down, Last night I turned off my PC after a long time, and today it seemed like the problem had been solved just for it to happen again after a while. @lhecker @zadjii-msft if you guys have an idea of where the problem is originating from please give some insight about it, Right now I'm transitioning between jobs and I have some extra free time so maybe I can help with solving it. |
We haven't started working on this yet and I personally wouldn't know why this happens either - this seems like something that would just need random experimenting. That said, this bug doesn't happen on my machine in the first place... 😐
|
If you are not able to repro, I recommend repeating the steps from my bug report. On my PC it happens once you reorder the Windows Terminal windows stack (click on the first one). Otherwise it looks like it works.
|
not sure if I have the same issue or completely different. I normally launch my first instance of terminal via a taskbar pin to a specific shell (launches ssh.exe directly into a specific box), that has no problem popping on top of things already on the screen. If I use the start menu and open the Windows "Terminal" app, it pops under and is in a random place. At the moment, I have a list of 23 items in my alt+tab view and it gets place 19 (my initial terminal window is in spot 3). If I close all terminal windows and open a terminal via start menu, the first instance works and the second goes in the background, always seemingly in the same spot (I have 5 chrome windows open at the end of my alt+tab (not all my chrome windows, but just some) and it always places just prior to them at the 6th from last spot. If I go to start and type "wt" and launch it that way, it will always pop up on top . It is just the "Terminal" app option from the start menu (and only instances after the first terminal). This is Terminal version 1.20.11381.0 on Windows 11 23H2 (OS Build 22631.3737) |
@JollyRgrs I feel that is related! I would like to give it another try someday but that would be later this year maybe even as far as holidays since I'm busy with other projects. I really hope some generous soul out there would pick this up before that🥺 |
Copied over from #17484:
|
Windows Terminal version
1.17.11461.0
Windows build number
Version 22H2 (OS Build 19045.3086)
Other Software
No response
Steps to reproduce
Open windows terminal;
Press Alt+Tab to go to another window;
Press Alt+Tab again.
Expected Behavior
I should go to Windows terminal window again by pressing Alt+Tab
Actual Behavior
I am getting second window in the windows stack instead of windows terminal and windows terminal is beeing appended to the end of stack and i need to press alt+shift+tab to find a terminal window
The text was updated successfully, but these errors were encountered: