WT causes the whole Windows animation to be super laggy (after RDP?), until all the WT processes are terminated #18422
Description
Windows Terminal version
1.21.3231.0
Windows build number
10.0.19045.5247
Other Software
Command line
Steps to reproduce
There are no concrete steps to reproduce, as the issue occurs randomly. However, I’ve noticed two recurring patterns:
- Using RDP to access this computer often triggers the bug later when I use the computer locally (though not always immediately).
- Having multiple Windows Terminal (WT) windows open for an extended period.
Expected Behavior
It shouldn't cause Windows animation lagging issue.
Actual Behavior
I briefly mentioned this performance issue [in another ticket](#17414 (comment)), but I believe it deserves its own standalone discussion.
When the bug occurs, the entire Windows desktop UI becomes extremely laggy (e.g., dragging and switching windows), with performance dropping to what feels like less than 20 FPS. 3D applications like full-screen games are not affected; only the desktop UI.
To resolve the issue, I must close all open Windows Terminal windows (I typically keep 2–3 open at any given time). Doing so immediately restores normal performance.
The issue is not tied to any specific tab—I’ve tested this by opening a new window and then closing all existing windows, but the problem persists.
Here’s what the processes related to WT look like before I terminate them (and fix the issue):