make sure Windows quake mode window is correctly sized and receives focus#9891
Conversation
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
|
|
||
| impl WindowManager { | ||
| /// Returns the active Warp window. This will return an error if a different app's window is | ||
| /// active. |
There was a problem hiding this comment.
"This will return an error if a different app's window is active."
This bit is the crux of the issue. Added fn get_foreground_monitor to compensate for this behavior.
There was a problem hiding this comment.
Overview
This PR updates Windows window focus behavior and monitor selection so the hotkey/quake window can be sized against the foreground app's monitor and explicitly focused after being shown.
Concerns
- No blocking correctness or security concerns found in the annotated diff.
Verdict
Found: 0 critical, 0 important, 0 suggestions
Approve
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
Cherry-picked from upstream: - fix: highlight C++ header extensions (warpdotdev#9388) - Run executable shell scripts in the terminal (warpdotdev#9503) - Revert schema generator binary recompilation fix (warpdotdev#9676) - Remove stray backticks from Windows installer README (warpdotdev#9691) - Fix chord shortcuts on Windows non-Latin keyboard layouts (warpdotdev#9476) - Scroll output with Page Up/Down from prompt (warpdotdev#9624) - Respect Markdown Viewer setting for .md links in AI rules/facts panel (warpdotdev#9699) - fix: disable reset grid checks for restored blocks on Windows (warpdotdev#9987) - add RedirectionGuard=no to windows-installer.iss (warpdotdev#9863) - Windows quake mode window correctly sized (warpdotdev#9891) - fix: update rand to 0.9.4 (GHSA-cq8v-f236-94qc) (warpdotdev#10060) - Fix diff button when Show code review button toggle is off (warpdotdev#9600) - Fix freshly cloned repo stuck in loading state (warpdotdev#9998) - Fix terminal text selection not auto-scrolling when dragging (warpdotdev#9448) - Resolve conflict markers from 3f0ac51 and edac651
…ocus (warpdotdev#9891) (cherry picked from commit c65ae25)
Description
This PR fixes #6507
The problem was that the quake mode window would not receive focus and would be incorrectly sized if a different app had focus when the quake mode window was summoned.
Testing
Showing the quake mode window when a different app has focus now works.
Changelog Entries for Stable
CHANGELOG-BUG-FIX: [Windows] Fix hotkey window.