Enabling `Status Bar Color Control` breaks mode switching
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
With Vim: Status Bar Color Control enabled, mode switching almost never works and the extension is stuck in a weird state in-between the two modes (e.g. NORMAL and INSERT).
To Reproduce
Steps to reproduce the behavior:
- Enable the setting.
- Open a file and switch to insert mode.
- Start typing. Something weird may or may not happen.
- Press Esc.
- Mode switches to "normal" which is not actually normal.
- Try writing something. E.g. the letter
i. Should switch to "insert" but won't.
Expected behavior
Mode switching works as intended but the status bar changes color.
Screenshots
If applicable, add screenshots to help explain your problem.
If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.17.1
- VSCode version: 1.51.0
- OS: Windows 10 20H2
Additional context
Add any other context about the problem here.
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 in VS Code by enabling Vim: Status Bar Color Control, switching between insert and normal modes, and typing. Trace the status-bar color-control path alongside mode switching, then verify that enabling the setting leaves both mode behavior and status-bar color changes working as expected.
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
- 38/100