terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Can't wake up a closed headless window

Open arthurcaccavo opened this issue 1 year ago • 1 comments

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. :/

arthurcaccavo avatar Jun 11 '24 12:06 arthurcaccavo

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 avatar Jun 12 '24 21:06 carlos-zamora

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

michaelarnauts avatar Oct 22 '24 11:10 michaelarnauts