[PR #9194] wpf: prevent a 0 size when VS builds the Terminal window too early #27455

Open
opened 2026-01-31 09:22:04 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/9194

State: closed
Merged: Yes


The terminal WPF container might have a (0,0) render size when VS
eagerly attempts to initialize the terminal tool window when it is
pinned during startup, but no actual UI is shown due to the VS welcome
dialog that shows up before VS can build the terminal tool window.

We've fixed this issue previously in other areas but only recently did
we get a complete enough dump to find the corner cases for this issue.

This should patch all the gaps that cause this bug.

Validation Steps Performed

I've manually validated the scenarios shown in the user dumps.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/9194 **State:** closed **Merged:** Yes --- The terminal WPF container might have a (0,0) render size when VS eagerly attempts to initialize the terminal tool window when it is pinned during startup, but no actual UI is shown due to the VS welcome dialog that shows up before VS can build the terminal tool window. We've fixed this issue previously in other areas but only recently did we get a complete enough dump to find the corner cases for this issue. This should patch all the gaps that cause this bug. ## Validation Steps Performed I've manually validated the scenarios shown in the user dumps.
claunia added the pull-request label 2026-01-31 09:22:04 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27455