Closing a PowerShell pane over a CMD pane that covers the view with text locks UI thread #3416

Open
opened 2026-01-30 23:20:49 +00:00 by claunia · 0 comments
Owner

Originally created by @richardszalay on GitHub (Aug 15, 2019).

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version (if applicable):0.3.2171.0

Steps to reproduce

Forgive the title - I couldn't think of a good way of articulating it

  1. Set the default profile to PowerShell
  2. Create a cmd tab
  3. Press enter until the text covers most of the screen
  4. Split the view horizontally
  5. Close the bottom pane

Does not repro if:

  • The primary tab's text does not fill the screen
  • The secondary/bottom pane is not PowerShell
  • The primary/top pane is Ubuntu/WSL, and exhibits a different bug if the primary/top pane is PowerShell
  • The bottom/PowerShell pane loses focus (either to an external window or to the top pane)

Expected behavior

The pane closes

Actual behavior

The UI thread hangs. Screenshots:

pane-crash-1

pane-crash-2

pane-crash-3

Originally created by @richardszalay on GitHub (Aug 15, 2019). # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18362.175] Windows Terminal version (if applicable):0.3.2171.0 ``` # Steps to reproduce Forgive the title - I couldn't think of a good way of articulating it 1. Set the default profile to PowerShell 2. Create a cmd tab 3. Press enter until the text covers most of the screen 4. Split the view horizontally 5. Close the bottom pane Does **not** repro if: * The primary tab's text does not fill the screen * The secondary/bottom pane is not PowerShell * The primary/top pane is Ubuntu/WSL, and exhibits a [different bug](https://github.com/microsoft/terminal/issues/2432) if the primary/top pane is PowerShell * The bottom/PowerShell pane loses focus (either to an external window or to the top pane) # Expected behavior The pane closes # Actual behavior The UI thread hangs. Screenshots: ![pane-crash-1](https://user-images.githubusercontent.com/229467/63062746-4f8c0f00-bf3d-11e9-9db8-acc523e1b353.png) ![pane-crash-2](https://user-images.githubusercontent.com/229467/63062748-5155d280-bf3d-11e9-9e59-e66e8ee6f7e4.png) ![pane-crash-3](https://user-images.githubusercontent.com/229467/63062753-531f9600-bf3d-11e9-98aa-4c498e40b2b6.png)
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-30 23:20:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3416