Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Status bar color does not remain scoped to the active VS Code window #10073

Description

@definitelynotchirag

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

  1. Enable Vim: Status Bar Color Control.
  2. Open two separate VS Code windows.
  3. Open a file in both windows.
  4. Enter Insert mode in the first window.
  5. Switch to the second window and enter Normal mode.
  6. Switch between the two windows.
  7. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions