Quake window doesn't know it was minimized #14554

Closed
opened 2026-01-31 04:13:29 +00:00 by claunia · 3 comments
Owner

Originally created by @vefatica on GitHub (Jul 17, 2021).

Windows Terminal version (or Windows build number)

Microsoft Windows 10 Pro for Workstations 10.0.19042.1110 (2009, 20H2) WindowsTerminal: 1.10.1933.0

Other Software

TCC.EXE

Steps to reproduce

From TCC.EXE (JPSoft) running in the Quake terminal, issue activate "%_wintitle" min (_wintitle would be the console's caption if I were in a console; WindowsTerminal uses it as the tab caption).

Expected Behavior

I expect the quake window to be minimized and the taskbar icon to disappear.

Actual Behavior

Either of these give the expected behavior:

  • SendMessage, WM_SYSCOMMAND, SC_MINIMIZE
  • ShowWindow, SW_MINIMIZE

But in response to TCC's ACTIVATE command, the quake window is minimized but the taskbar icon doesn't disappear.

I don't know exactly how TCC's ACTIVATE command works but I've attached a log (plain text) from Spy++ showing what the CASCADIA_HOSTING_WINDOW_CLASS class window sees after that command is issued.

messages.txt

Originally created by @vefatica on GitHub (Jul 17, 2021). ### Windows Terminal version (or Windows build number) Microsoft Windows 10 Pro for Workstations 10.0.19042.1110 (2009, 20H2) WindowsTerminal: 1.10.1933.0 ### Other Software TCC.EXE ### Steps to reproduce From TCC.EXE (JPSoft) running in the Quake terminal, issue `activate "%_wintitle" min` (_wintitle would be the console's caption if I were in a console; WindowsTerminal uses it as the tab caption). ### Expected Behavior I expect the quake window to be minimized and the taskbar icon to disappear. ### Actual Behavior Either of these give the expected behavior: - SendMessage, WM_SYSCOMMAND, SC_MINIMIZE - ShowWindow, SW_MINIMIZE But in response to TCC's ACTIVATE command, the quake window is minimized but the taskbar icon doesn't disappear. I don't know exactly how TCC's ACTIVATE command works but I've attached a log (plain text) from Spy++ showing what the CASCADIA_HOSTING_WINDOW_CLASS class window sees after that command is issued. [messages.txt](https://github.com/microsoft/terminal/files/6833672/messages.txt)
claunia added the Issue-QuestionResolution-By-DesignNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 04:13:29 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jul 19, 2021):

the quake window is minimized but the taskbar icon doesn't disappear.

This is by design. The _quake window doesn't show up in the taskbar, so it needs to have the tray icon be visible when it's minimized, so that it's still accessible. This was added in #10179, and is going to get some additional flexibility in #10368.

@zadjii-msft commented on GitHub (Jul 19, 2021): > the quake window is minimized but the taskbar icon doesn't disappear. This is by design. The `_quake` window doesn't show up in the taskbar, so it needs to have the tray icon be visible when it's minimized, so that it's still accessible. This was added in #10179, and is going to get some additional flexibility in #10368.
Author
Owner

@vefatica commented on GitHub (Jul 19, 2021):

This is by design. The _quake window doesn't show up in the taskbar, so it needs to have the tray icon be visible when it's minimized, so that it's still accessible.

Yes, I know that's how it should work, but when minimized with TCC's ACTIVATE command , the window itself disappears, GetWindowPlacement says it's minimized, but the TASKBAR icon is still there (in addition to the tray icon).

@vefatica commented on GitHub (Jul 19, 2021): > This is by design. The _quake window doesn't show up in the taskbar, so it needs to have the tray icon be visible when it's minimized, so that it's still accessible. Yes, I know that's how it should work, but when minimized with TCC's `ACTIVATE` command , the window itself disappears, GetWindowPlacement says it's minimized, but the TASKBAR icon is still there (in addition to the tray icon).
Author
Owner

@DHowett commented on GitHub (Jul 19, 2021):

@zadjii-msft we probably need to detect when weird software tries to minimize the quake window and trigger a disappear instead of a minimize.

@DHowett commented on GitHub (Jul 19, 2021): @zadjii-msft we probably need to detect when weird software tries to minimize the quake window and trigger a disappear instead of a minimize.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14554