Skip to content

"Compare working tree with.." often flashes open then closes the menu #3472

@jasonwilliams

Description

@jasonwilliams

Description

When running "Compare working tree with.." for the first time it flashes the menu then disappears, the side bar section does load fine but I lose the menu so I can't select my branch. If I run the command a second time it loads fine. I assume its because the first time the extension isn't properly loaded and there's some race condition.

If I load VS Code with the sidebar already set to "Gitlens Inspect" it also works flawlessly, which makes me think the extension is definitely not loaded when "Compare Working Tree With..." is called and the loading of the extension causes this issue.

Screen Capture
You can't see it in this gif becasue the framerate is low, but it does flash for a second then disappears
compare-working

GitLens Version

15.2.3

VS Code Version

Version: 1.92.1 (user setup)
Commit: eaa41d57266683296de7d118f574d0c2652e1fc4
Date: 2024-08-07T20:16:39.455Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

Git Version

git version 2.43.0

Logs, Screenshots, Screen Captures, etc

See description

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions