microsoft / microsoft/terminal

WT causes the whole Windows animation to be super laggy (after RDP?), until all the WT processes are terminated

Open
#18,422 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug Needs-Attention Needs-Triage
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

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:

  1. Using RDP to access this computer often triggers the bug later when I use the computer locally (though not always immediately).
  2. 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](https://github.com/microsoft/terminal/issues/17414#issuecomment-2539085553), 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):

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Start by investigating the Windows Terminal process behavior under the reported conditions: RDP access, multiple long-lived windows, and the resulting desktop animation lag. Done would require identifying a reproducible cause and demonstrating that closing Terminal processes is no longer needed to restore normal performance.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, desktop, performance
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
24/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.