terminal
terminal copied to clipboard
Quake mode drop-down doesn't go back to the maximum width after opening windows copilot
Windows Terminal version
1.17.11461.0
Windows build number
10.0.22621.0
Other Software
No response
Steps to reproduce
- Open windows Copilot preview while quake mode is open
- Close Windows Copilot
- Open / Close Quake mode using the hotkey (win+`)
Expected Behavior
No response
Actual Behavior
Yep, this is real. MSFT:46421646 internally.
Looks like Copilot is changing the work area. Apparently as part of the design, when the work area changes back to the original[^1], Windows doesn't resize apps back. From the thread, this seems like a good design.
We need to listen for WM_SETTINGCHANGE where wparam = SPI_SETWORKAREA, and use that to recalculate our snapped size. Shouldn't be too hard.
[^1]: grows in size? It's unclear what exactly the difference in the shrink vs grow is