Alt-tab when "checkout to" popup is opened stop handling keys properly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
If I use alt-tab to switch window while "checkout to" popup is opened, vscode vim stop reacting for keys when I get back
To Reproduce
Steps to reproduce the behavior:
- Open vscode in a folder with git repo
- Open command pallete
- Select 'Checkout to'
- Press alt-tab (or option-tab on macos)
- When you get back, no keys work in the editor
Expected behavior
Should still react for keys
Screenshots
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.20.3
- VSCode version: 1.56.2
- OS: Windows 10 Build 19042, WSL 2
Additional context
It doesn't matter how "checkout to" window is opened (via command palette/native shorcut/vim shorcut)
My take is that vscode closes the "checkout to" window but vscodevim still thinks it's open
P.S. It took me awhile to track this down and understand how to reproduce it 😅
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by opening VS Code's Command Palette, selecting “Checkout to,” switching windows with Alt-Tab or Option-Tab, and returning to the editor. Trace how the VSCodeVim extension handles the popup's focus or lifecycle, then verify that editor keys work again after the popup is closed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100