Skip to content

fix(vscode): keep consumed stash shortcut inside editor - #997

Merged
AlexMikhalev merged 1 commit into
mainfrom
codex/stash-shortcut-focus-20261015
Oct 15, 2026
Merged

AlexMikhalev merged 1 commit into
mainfrom
codex/stash-shortcut-focus-20261015

Conversation

@AlexMikhalev

Copy link
Copy Markdown
Contributor

When Alternative Control consumes Ctrl+Shift+X to stash a selection, VS Code also opens Extensions and takes focus. Stop propagation of only that already-consumed shortcut at the editor container; unhandled keys still reach the workbench. Document/history handling is unchanged.

Adds a pinned development-only Playwright regression to the existing Linux native CI job. It installs the actual VSIX into a fresh profile and exercises rendered controls and real keys. The released 0.1.4 package reproduces the sidebar failure; the candidate passes five cases: stash/focus, immediate native Undo/Redo, empty-selection/native shortcut, plain-mode/native shortcut and ordinary Markdown/native shortcut. Saved input, stash, Undo and Redo files plus screenshots are retained in native-results. This does not qualify other platforms or all 41 requirements.

Validation: 71 asset tests, 20 host protocol/cache tests, 9 export tests, 4 existing link-engine tests; compile, lint, JavaScript syntax, actionlint and whitespace checks pass. The local candidate uses the exact existing released Rust/WASM assets; CI continues to build/verify those assets through its unchanged package job. Vendor runtime/packager warnings and initial harness failures were retained in the evidence packet. No version bump, tag, asset replacement or publishing permission change.

Closes #996

Closes #996. Preserve native Extensions behavior for unhandled keys and gate the packaged Linux UI with actual saved outputs.
@AlexMikhalev
AlexMikhalev merged commit 5956e11 into main Oct 15, 2026
13 checks passed
@AlexMikhalev
AlexMikhalev deleted the codex/stash-shortcut-focus-20261015 branch October 15, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(vscode): consumed stash shortcut also opens Extensions and steals focus

1 participant