Unclosable window and no window content rendering when launched with "-embedding" #21377

Closed
opened 2026-01-31 07:42:56 +00:00 by claunia · 2 comments
Owner

Originally created by @gmckeown on GitHub (Mar 11, 2024).

Windows Terminal version

1.19.10573.0

Windows build number

10.0.22621.3155

Other Software

McAfee/Trellix Endpoint Protection 5.8.0.161. Possibly others, but it was McAfee's SvcHost that was the parent of the Windows Terminal session when it occurred this morning.

Steps to reproduce

Happens seemingly randomly; assume it's when McAfee agent performs functions that need a terminal. Same effect produced by running:

"C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.19.10573.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe" -Embedding

Expected Behavior

Not sure what the calling app is trying to do, but I'd at least expect a default PowerShell tab and a blank terminal window (i.e. black background with cursor). Once the process completes, the window should close.

Actual Behavior

The window frame and decorations render, but there are no tabs and the content area of the window is empty/transparent:

Screenshot 2024-03-11 093608

This window remains open indefinitely and can't be directly closed. If I manually open a tab within the window, I can then close the window.

Originally created by @gmckeown on GitHub (Mar 11, 2024). ### Windows Terminal version 1.19.10573.0 ### Windows build number 10.0.22621.3155 ### Other Software McAfee/Trellix Endpoint Protection 5.8.0.161. Possibly others, but it was McAfee's SvcHost that was the parent of the Windows Terminal session when it occurred this morning. ### Steps to reproduce Happens seemingly randomly; assume it's when McAfee agent performs functions that need a terminal. Same effect produced by running: ```"C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.19.10573.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe" -Embedding``` ### Expected Behavior Not sure what the calling app is trying to do, but I'd at least expect a default PowerShell tab and a blank terminal window (i.e. black background with cursor). Once the process completes, the window should close. ### Actual Behavior The window frame and decorations render, but there are no tabs and the content area of the window is empty/transparent: ![Screenshot 2024-03-11 093608](https://github.com/microsoft/terminal/assets/22765233/9ca7e6bd-6e99-4e99-97b9-f7513d4eb545) This window remains open indefinitely and can't be directly closed. If I manually open a tab within the window, I can then close the window.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 07:42:56 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Mar 18, 2024):

This looks like /dup #15936 to me, thanks!

@zadjii-msft commented on GitHub (Mar 18, 2024): This looks like /dup #15936 to me, thanks!
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Mar 18, 2024):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Mar 18, 2024): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21377