Can't wake up a closed headless window #21858

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

Originally created by @arthurcaccavo on GitHub (Jun 11, 2024).

Originally assigned to: @zadjii-msft on GitHub.

Windows Terminal version

1.20.11381.0

Windows build number

10.0.22631.0

Other Software

No response

Steps to reproduce

configure the options:

{
      "command": 
      {
          "action": "globalSummon"
      },
      "keys": "ctrl+alt+t"
},

and

"compatibility.allowHeadless": true,
"minimizeToNotificationArea": true,

then open a window and close it (click on the top bar X).

try to make the window apper again.

Expected Behavior

A month ago it would allow me to close the window (click on the top bar X) and keep it running on background with an icon in the tray. I would click the icon or hit ctrl+alt+t to focus the window and use the teminal.

Actual Behavior

When I close the window (click on the top bar X) now I cant make it focus or apper in anyway. Not the shortcut, not clicking on the tray icon, nor even trying to open a new application window via start menu. The only action I can take after closing a window is going into the taskmanager, closing the terminal and then open it again. :/

Originally created by @arthurcaccavo on GitHub (Jun 11, 2024). Originally assigned to: @zadjii-msft on GitHub. ### Windows Terminal version 1.20.11381.0 ### Windows build number 10.0.22631.0 ### Other Software _No response_ ### Steps to reproduce configure the options: ``` { "command": { "action": "globalSummon" }, "keys": "ctrl+alt+t" }, ``` and ``` "compatibility.allowHeadless": true, "minimizeToNotificationArea": true, ``` then open a window and close it (click on the top bar X). try to make the window apper again. ### Expected Behavior A month ago it would allow me to close the window (click on the top bar X) and keep it running on background with an icon in the tray. I would click the icon or hit ctrl+alt+t to focus the window and use the teminal. ### Actual Behavior When I close the window (click on the top bar X) now I cant make it focus or apper in anyway. Not the shortcut, not clicking on the tray icon, nor even trying to open a new application window via start menu. The only action I can take after closing a window is going into the taskmanager, closing the terminal and then open it again. :/
Author
Owner

@carlos-zamora commented on GitHub (Jun 12, 2024):

Thanks for filing! It looks like we have some unexpected behavior here from a combination of bugs.

  1. #16733: Windows should not show up in the tray after they've been closed
  2. When compatibility.allowHeadless is enabled, globalSummon should work (that's what we'll track in this bug)

Here's some other issues that may appeal to you: #12933, #10448

@carlos-zamora commented on GitHub (Jun 12, 2024): Thanks for filing! It looks like we have some unexpected behavior here from a combination of bugs. 1. #16733: Windows should not show up in the tray after they've been closed 2. When `compatibility.allowHeadless` is enabled, `globalSummon` should work **(that's what we'll track in this bug)** Here's some other issues that may appeal to you: #12933, #10448
Author
Owner

@michaelarnauts commented on GitHub (Oct 22, 2024):

See also https://github.com/microsoft/terminal/issues/17360 and https://github.com/microsoft/terminal/issues/17976

@michaelarnauts commented on GitHub (Oct 22, 2024): See also https://github.com/microsoft/terminal/issues/17360 and https://github.com/microsoft/terminal/issues/17976
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21858