-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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 input is as slow as rubber cement #11916
Comments
Hmmm. This might be a core input site bug. That's at least my only theory.
Just trying to narrow down the problem space here. I'm not sure of any other good Xaml Islands applications that have text boxes that we could use for a comparison 😕 |
This might be fallout from some of the responsiveness work we've done in Windows 11. Terminal is considered a foreground application, but the console application it is hosting isn't. This may cause some trouble. If you try to make a text selection when it's bogged down, does that respond at a normal speed? That may help us determine which part of the pipeline is falling down. |
I don't know if this is the exact same thing, but I'm experiencing strangeness when it comes to keyboard input. My computer can get into a state where I get slowness of keyboard input and sometimes repeated characters. Details:
I'm baffled; sorry to hijack if this is not the same issue as yours @wjk... |
Yep, that’s exactly what’s happening. I can select text and manipulate the app just fine while the input is lagging badly. Is there any way we can make Terminal able to exempt its child process tree from Foreground Boost? |
@DHowett I'm having a hard time finding anything on Foreground Boost. You think this is something we'll need to follow up with an internal deliverable to get Terminal/conpty sessions accounted for correctly? Or is there and API we can use? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There might be a regression in the OS we've discovered here. I've filed MSFT:37406950 tracking this internally on the kernel team to investigate what's going on here. We'll keep you posted with anything we hear back! (which may be a while with the holidays) |
Is there any movement on this issue? On Windows 11 22H2 I experienced extreme input lag in both Windows Terminal and Visual Studio Code, at least on battery power. Downgrading back to 22H1, along with the viveconfig tip above, seemed to solve the problem, but viveconfig did not help in 22H2. The lag made Terminal downright unusable, and I think it needs to be prioritized before developers are upgraded to 22H2. Personally I found the experience frustrating enough that I was thinking of switching to Linux or MacOS if I couldn't solve the problem. |
I was having the same issue. The issue stopped when I removed the |
My environment:
|
+1 on Windows 10 10.0.19044; I first noticed this with keyboard shortcuts like And, yes, I, too, have noticed that the integrated terminal in |
Same issue, awkwardly slow input while typing GitHub's mintty git bash and vscode's git bash work just fine. |
Same issue, very laggy (several seconds) when typing on the command line.
|
@rickgladwin Can you go chime in over at #16861? I think there's possibly a more recent regression in this space that might be relevant. |
@zadjii-msft These versions did not fix the issue for me. |
Can confirm this is still a problem. Using Alacritty right now because wt is unbelievably slow. |
@SpBills Can you share your Terminal & OS Version? Honestly this thread might just need to be closed in favor of newer information. I'm worried it's gotten too piled on with a variety of similar symptoms of different root causes.
|
@zadjii-msft — it could be that the widespread cause is that the Windows Store versions of Terminal are (or were last time I installed) years out of date. That would affect many of us on locked-down corporate desktops. If so, is there some better place than here to get that addressed? |
@chrisfcarroll FWIW, the store version of Terminal updates 1-2 weeks after we make a release on GitHub. The current Store version is 1.21.2911.0, which is the latest stable (it came out two weeks ago.)
That could explain it. Some enterprises do restrict the frequency of updates or the versions available on update. It is for exactly this reason that we encourage everybody filing bugs or resurrecting years-old bugs to include their version information. That’s why it’s one of the items in the bug template. As for getting that addressed: I'd recommend talking to your local IT administrator. ☹ |
Windows Terminal version
1.11.2921.0
Windows build number
10.0.22000.318
Other Software
My environment:
The virtual machine specs:
Steps to reproduce
I am currently running the Visual Studio installer in this VM, placing it under heavy load (100% CPU utilization in Task Manager). If I type anything when the machine is this loaded, the input response time is unusably slow. It is so slow that if I alt-tab away from the terminal, I worry that my inputs might be sent to another program because the terminal hasn't processed them yet. Not being able to alt-tab away after typing a command is a serious productivity blocker for me.
Expected Behavior
The input latency being as fast as any other program on the VM at this heavy a load. (Try filling out a bug report form in Microsoft Edge under these circumstances, like I'm doing. The input latency there is as fast and as responsive as I expect.)
Actual Behavior
Enough time for me to enter a complete command line before the first character appears onscreen. The arrow keys, Backspace, and Ctrl+C are also processed this slowly. (I am a fast typist, but my hand-eye coordination isn't what it used to be; I make many typos while writing text.)
The text was updated successfully, but these errors were encountered: