warp icon indicating copy to clipboard operation
warp copied to clipboard

Win+Arrow keys (Aero Snap) don't pass through to OS when Warp has focus on Windows

Open TakutoAshida opened this issue 6 months ago • 1 comments

Describe the bug

When the Warp window has focus on Windows, the OS-level Aero Snap shortcuts Win+Up, Win+Down, Win+Left, Win+Right do not work — Warp appears to capture/swallow these key combinations and they are not passed through to Windows.

Interestingly, Win+Z (Snap Layouts) still works while Warp has focus, which suggests this is specific to Win+<arrow> combinations rather than the Windows key being globally captured.

The symptoms were first noticed around 2026-05-27. Warp on this machine was updated to v0.2026.05.20.09.21.stable_02 on 2026-05-22 (~5 days before symptoms were noticed), so it may have been latent since the update and only surfaced once Win+<arrow> was used. I do not see any matching entry under Settings > Keyboard Shortcuts (no Super / Meta / Win + arrow binding shown).

To reproduce

  1. Open Warp on Windows.
  2. Make sure the Warp window has focus.
  3. Press Win+Up (or Win+Down / Win+Left / Win+Right).
  4. Expected: window maximizes / minimizes / snaps to half of the screen.
  5. Actual: nothing happens. The key combo is silently consumed.
  6. Click any other app (Explorer, Notepad, browser) to give it focus and try the same combo → works as expected.
  7. With Warp still running but unfocused, the combos work in other apps.

Expected behavior

Win+<arrow> should be passed through to the OS (Windows Aero Snap) regardless of whether Warp has focus, since these are reserved OS-level shortcuts and Warp does not advertise any built-in binding on them.

Operating system

Windows

Operating system and version

Windows 11 25H2, Build 26200 (OsName: "Microsoft Windows 11 Business", OsVersion: 10.0.26200)

Regression

Yes, this is a new bug that started recently

Recent working Warp date

Symptoms first noticed around 2026-05-27. Warp on this machine was updated to the current version on 2026-05-22.

Does this block you from using Warp daily?

No — Win+Z (Snap Layouts) can be used as a workaround, but it's a meaningful regression in muscle-memory window management.

Is this an issue only in Warp?

Yes. The same key combinations work normally when any other application has focus (verified with Explorer / Notepad / browser while Warp is still running in the background).

Current Warp version

v0.2026.05.20.09.21.stable_02

Additional context

  • No relevant entry visible under Settings > Keyboard Shortcuts (no Super+Up / Meta+Up / Win+Up binding shown).
  • Win+Z works normally, so this is not a global Windows-key capture — only the Win+<arrow> combinations are affected.
  • No common key-remapping tools are running (PowerToys / AutoHotkey / Keypirinha / SharpKeys — none detected in process list).
  • Could not find a matching entry in the Known Issues page or in recent GitHub issues.

TakutoAshida avatar May 28 '26 03:05 TakutoAshida

@TakutoAshida

Here's what I found while triaging this issue:

Thanks for the detailed Windows repro. This appears to be a Warp-specific regression in handling Windows Logo+Arrow window-management shortcuts; Win+Z still working suggests the Windows key is not globally blocked.

Maintainer details

I concluded that windows Logo+Arrow Aero Snap shortcuts appear to be swallowed while Warp has focus, likely through the generic Windows key event conversion/dispatch path rather than an explicit user-visible binding..

Initial triage

This looks like a Windows-specific bug/regression in OS window-management shortcut pass-through. The reporter provided a clear repro for Win+Up, Win+Down, Win+Left, and Win+Right, noted that Win+Z still works, and confirmed the same shortcuts work in other focused apps while Warp is running.

Reproducibility: High from the report. The issue includes Windows 11 build details, Warp version v0.2026.05.20.09.21.stable_02, regression timing, expected/actual behavior, and checks against common remapping tools.

Duplicate check: I searched open issues across the repository, excluding #11807, plus recently closed issues from the last 7 days for exact Win+Arrow/Aero Snap/Snap Layouts terminology. I did not find two likely duplicate candidates, so this should not be marked duplicate.

Likely technical area: Windows keyboard event conversion / input dispatch, with window-management impact. In crates/warpui/src/windowing/winit/event_loop/key_events.rs, Warp converts winit key input into internal KeyDown events, mapping ModifiersState::super_key() to Keystroke.cmd and NamedKey::Arrow* to up/down/left/right. crates/warpui/src/windowing/winit/event_loop/mod.rs feeds Windows WindowEvent::KeyboardInput through that conversion path. I did not find an explicit Windows Win+Arrow app action binding in the inspected binding registrations, so the current hypothesis is that these OS-reserved Logo+Arrow chords are being captured by the generic event pipeline rather than ignored/preserved for Windows Aero Snap.

Suggested next step for maintainers: Reproduce on Windows with Warp focused and inspect whether Logo+Arrow reaches convert_keyboard_input_event; if so, consider a Windows-specific escape hatch that returns None or otherwise avoids handling cmd+up/down/left/right so the OS can process Aero Snap shortcuts.

This is my automated analysis and may be incorrect. A maintainer will verify the details.

Powered by Oz

warp-for-oss[bot] avatar May 28 '26 03:05 warp-for-oss[bot]

@TakutoAshida Thanks for reporting the issue. However, I'm unable to reproduce. Win+arrowkey are working just fine on my machine.

What keyboard input language are you using?

acarl005 avatar May 29 '26 20:05 acarl005

Thanks for checking. I'm using Japanese keyboard input/IME: LanguageTag ja, culture/system locale ja-JP (Japanese (Japan)), keyboard layout preload 00000411. The originally reported version was v0.2026.05.20.09.21.stable_02; my currently installed/running Warp is v0.2026.05.27.15.44.stable_01.

TakutoAshida avatar Jun 04 '26 16:06 TakutoAshida