Status bar color does not remain scoped to the active VS Code window
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Title
Status bar color does not remain scoped to the active VS Code window
Describe the bug
When Vim: Status Bar Color Control is enabled and multiple VS Code windows are open, the Vim mode itself is reported correctly, but the status bar color is not updated independently for each window.
Changing the Vim mode in one VS Code window can also change the status bar color in another window. As a result, a window may show the correct mode text but retain a color associated with the mode of a different window.
To Reproduce
- Enable
Vim: Status Bar Color Control. - Open two separate VS Code windows.
- Open a file in both windows.
- Enter Insert mode in the first window.
- Switch to the second window and enter Normal mode.
- Switch between the two windows.
- Observe that the mode is correct, but the status bar color may reflect the mode from the other window.
Expected behavior
Each VS Code window should maintain its own status bar color based on the Vim mode active in that window. Changing modes in one window should not affect the status bar color of another window.
Screenshots
The attached screenshot shows that Vim: Status Bar Color Control is enabled.
Additional context
The issue only affects the status bar color. Vim mode detection and the displayed mode are correct.
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
Start by locating the implementation for Vim: Status Bar Color Control and the status-bar updates triggered by Vim mode changes. Reproduce the behavior with two VS Code windows, then verify that changing modes in one window leaves the other window's status bar color unchanged while its mode text remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- desktop, developer-experience
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100