DispatchTimer is constantly running #17015

Open
opened 2026-01-31 05:29:55 +00:00 by claunia · 1 comment
Owner

Originally created by @lhecker on GitHub (Mar 16, 2022).

From an internal mail conversation titled "Terminal is always ticking":

I notice that Terminal on my machine is constantly ticking, meaning XAML Tick. It looks like there is a DispatcherTimer constantly running, even when the app isn't in the foreground and even when it is minimized.

We should stop any DispatchTimers when Terminal is minimized.

Originally created by @lhecker on GitHub (Mar 16, 2022). From an internal mail conversation titled "Terminal is always ticking": > I notice that Terminal on my machine is constantly ticking, meaning XAML Tick. It looks like there is a DispatcherTimer constantly running, even when the app isn't in the foreground and even when it is minimized. We should stop any DispatchTimers when Terminal is minimized.
claunia added the Issue-BugProduct-TerminalArea-PerformancePriority-2 labels 2026-01-31 05:29:56 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Mar 16, 2022):

May also want to refer to #1989 while we're at it. Conhost (I believe) stopped rendering when minimized, but I'm not sure Terminal is hooked up to know [A] when the window is minimized, and [B] when a TermControl is or is not part of the visual tree.

@zadjii-msft commented on GitHub (Mar 16, 2022): May also want to refer to #1989 while we're at it. Conhost (I believe) stopped rendering when minimized, but I'm not sure Terminal is hooked up to know [A] when the window is minimized, and [B] when a TermControl is or is not part of the visual tree.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17015