microsoft / microsoft/terminal

Quake mode sometimes leaves ghost window frame

Open
#12,121 3 comments 1 reaction 0 assignees View on GitHub
Area-Windowing Help Wanted Issue-Bug Needs-Tag-Fix Priority-3 Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.11.3471.0

### Windows build number

10.0.22000.0

### Other Software

_No response_

### Steps to reproduce

1. Start Windows Terminal
2. Summon the quake mode terminal
3. (some of the above some of the time) sleep | hibernate | change monitors | disconnect external GPU

Unfortunately, 3 is not terribly reproducible. It seems to happen "some of the time", and I'm not sure exactly which of the above is the most relevant. I'll update this issue if I can narrow it down after seeing it a few more times in more controlled circumstances.

### Expected Behavior

If I hide or exit the quake mode I expect it to completely disappear.

### Actual Behavior

A "ghost" window frame is left behind that I can't get rid of The screenshot below shows it (see the very top, where there's a blackish bar with the standard window frame buttons in the upper-right).

I can re-summon the quake terminal without issue, but the ghostly frame doesn't go away even if I do that. Closing the terminal process or re-starting explorer doesn't help either. I can't interact with the buttons in any way either - they cover up things "behind" them, but the clicks seem to pass right through.

![Screenshot 2022-01-08 154533](https://user-images.githubusercontent.com/346587/148659462-96f2de31-0749-4025-951e-462422c09b18.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing quake mode on Windows 10.0.22000.0 across sleep, hibernate, monitor changes, and external GPU disconnection, then inspect the quake window lifecycle and frame behavior. Done means hiding or exiting quake mode removes the window frame completely without leaving an unresponsive ghost behind.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.