Skip to content

workbench.view.extension.gitTreeCompare does not activate the extension #142

Description

@KraXen72

Describe the bug
When workbench.view.extension.gitTreeCompare is invoked (e.g. via a custom keybinding), it focuses the sidebar container but the extension does not activate, and thus the sidebar focuses the first thing (in my case the file manager/explorer).

Expected behavior
Invoking the command should activate the extension and display the Git Tree Compare view.

Actual behavior
Sidebar opens but shows no content from the extension; the extension does not appear to activate.

Image

Steps to reproduce

  1. Bind workbench.view.extension.gitTreeCompare to a keybinding
  2. Invoke it from the editor
  3. Sidebar focuses but view is different / extension is not activated
Keyboard shortcut troubleshooting log
2026-05-21 12:26:46.777 [info] [KeybindingService]: | Resolving ctrl+[KeyK],[KeyI]
2026-05-21 12:26:46.777 [info] [KeybindingService]: \ From 1 keybinding entries, matched workbench.view.extension.gitTreeCompare, when: no when condition, source: user.
2026-05-21 12:26:46.778 [info] [KeybindingService]: / Received  keydown event - modifiers: [], code: KeyI, keyCode: 73, key: i
2026-05-21 12:26:46.779 [info] [KeybindingService]: | Resolving ctrl+[KeyK],[KeyI]
2026-05-21 12:26:46.779 [info] [KeybindingService]: \ From 1 keybinding entries, matched workbench.view.extension.gitTreeCompare, when: no when condition, source: user.
2026-05-21 12:26:46.782 [info] [KeybindingService]: + Invoking command workbench.view.extension.gitTreeCompare.

The command is resolved and invoked correctly. The extension does not activate in response.

Environment
Extension version: 1.20.0

Version: 1.119.1
Commit: 974500e64f0d1cfdf7c9821a2a51c2cb3bf0e561
Date: 2026-05-12T01:20:22+09:00
Electron: 39.8.8
ElectronBuildId: 13870025
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Linux x64 7.0.4-100.fc43.x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions