Quake mode sometimes leaves ghost window frame #16353

Open
opened 2026-01-31 05:04:56 +00:00 by claunia · 3 comments
Owner

Originally created by @eteq on GitHub (Jan 8, 2022).

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

Originally created by @eteq on GitHub (Jan 8, 2022). ### 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)
Author
Owner

@zadjii-msft commented on GitHub (Jan 10, 2022):

Huh. Well, that is weird. I'd chalk that up to "the quake mode animation is weird" 😅 I'll add this to #8888.

If you don't care about the animation and pinned-to-the-top aspect of quake mode all that much, and are mostly interested in the global hotkey, then I'd recommend just rebinding that key to a globalSummon action, without dropdownDuration set. That might be a viable workaround.

note to self: since this is on 1.11, this was before the windowing change to enable vintage opacity.

@zadjii-msft commented on GitHub (Jan 10, 2022): Huh. Well, that is weird. I'd chalk that up to "the quake mode animation is weird" 😅 I'll add this to #8888. If you don't care about the animation and pinned-to-the-top aspect of quake mode all that much, and are mostly interested in the global hotkey, then I'd recommend just rebinding that key to a `globalSummon` action, without `dropdownDuration` set. That might be a viable workaround. note to self: since this is on 1.11, this was before the windowing change to enable vintage opacity.
Author
Owner

@Uxorious commented on GitHub (Jun 3, 2023):

Not sure this is the same issue, but I frequently see a much bigger ghost.
I have found that sometimes it goes away by itself without a reboot, but no idea why.
image

@Uxorious commented on GitHub (Jun 3, 2023): Not sure this is the same issue, but I frequently see a much bigger ghost. I have found that sometimes it goes away by itself without a reboot, but no idea why. ![image](https://github.com/microsoft/terminal/assets/1691034/60e19b10-aa5f-4c59-8e6b-e448798de685)
Author
Owner

@jihuayu commented on GitHub (Jun 5, 2023):

It looks like Windows frame.
In https://github.com/microsoft/terminal/issues/12293#issuecomment-1574737987 gif, we can see it clearly.

I'm trying to solve this problem, but I can't hide this frame. Can anyone give me some help?

@jihuayu commented on GitHub (Jun 5, 2023): It looks like [Windows frame](https://learn.microsoft.com/en-us/windows/win32/dwm/customframe). In https://github.com/microsoft/terminal/issues/12293#issuecomment-1574737987 gif, we can see it clearly. I'm trying to solve this problem, but I can't hide this frame. Can anyone give me some help?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#16353