This is a temporary validation artifact for the fix that prevents Space + left-click drag from inserting a space into the focused terminal on Windows.
Delete this file after the Windows validation pass is complete unless it is explicitly needed longer.
- Repository:
peters/horizon - Branch/PR: fix for Windows
Space + left-click dragleakingSpaceinto the focused terminal - Platform: Windows 11 preferred, Windows 10 acceptable
- Tester: separate agent or machine, not this Linux workstation
Choose one:
- Build from source on the PR branch
- Install Rust stable
>= 1.88 - Clone the PR branch
- Run
cargo run --release
- Install Rust stable
- Use the PR CI artifact if one is attached
- Download the Windows build artifact for the PR
- Launch
horizon.exe
- Start Horizon with a clean session if practical.
- Create one workspace and one terminal panel.
- In the terminal, run a command that makes inserted spaces obvious, for example:
python -qcmdpowershell
- Click inside the terminal so it is definitely the focused input target.
- Press
Spaceonce without dragging.- Expected: one space is inserted into the terminal.
- Type
a,Space,b.- Expected: the terminal receives
a bin that order.
- Expected: the terminal receives
- Hold
Space, release it without clicking.- Expected: one space is inserted, with no stuck input state afterward.
- Focus the terminal.
- Hold
Space. - Press and hold left mouse.
- Drag the canvas several hundred pixels.
- Release left mouse, then release
Space.- Expected: the canvas pans.
- Expected: no space is inserted into the terminal.
- Expected: no extra key-up escape sequence or visible artifact appears in the terminal.
- Repeat the same flow starting the drag from:
- terminal body
- panel titlebar
- empty canvas
- Hold
Space, then press another key such asAbefore releasingSpace.- Expected: if no drag occurred, input order remains sane and Horizon does not get stuck in pan mode.
- Hold
Space, click without moving, then release.- Expected: no accidental panel drag or resize.
- Expected: the terminal does not receive stray spaces from a click-only gesture.
- Hold middle mouse and drag.
- Expected: canvas panning still works.
- Use
Ctrl+clickorCmd+clickstyle terminal link interactions if available on the platform.- Expected: the fix does not break existing modifier-based interactions.
- With multiple panels open, focus one terminal and perform the regression check.
- Expected: no other terminal receives the leaked space.
- Pan the canvas after the fix.
- Close Horizon cleanly.
- Relaunch Horizon.
- Expected: normal persisted layout behavior remains unchanged.
- Expected: the fix does not introduce stuck pan state after relaunch.
- Capture a screenshot right after launch.
- Capture a screenshot after a successful
Space + left-dragpan. - Resize the main window and repeat the pan gesture once.
- Expected: panel chrome, workspace labels, and terminal rendering remain stable.
- Expected: no jitter, snap-back, or unexpected window movement occurs.
Include the following in the PR comment or test report:
- Windows version
- How Horizon was launched
- Pass/fail for each primary regression check
- Any additional bugs found during the gesture test
- Launch screenshot and post-pan screenshot