-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
customer-reported(To be added by automation)(To be added by automation)support-triagedSupport has reviewed, verified, or reproduced thisSupport has reviewed, verified, or reproduced thisverified ✔VerifiedVerified
Milestone
Description
Description
In a simple repository, right clicking on a branch and choosing "Compare with HEAD", an error notification appears with the message
Element with id gitlens://viewnode/results-commits/branch-status-direction/behind/comparison/HEAD+master+16 is already registered
Refreshing the compare does not fix it, swapping the branches using the double arrow does.
Also it's not always reproducible, it seems kinda random.
GitLens Version
15.0.4
VS Code Version
Version: 1.90.0 (system setup)
Commit: 89de5a8d4d6205e5b11647eb6a74844ca23d2573
Date: 2024-06-04T19:33:54.889Z
Electron: 29.4.0
ElectronBuildId: 9593362
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.19043
Git Version
git version 2.42.0.windows.2
Logs, Screenshots, Screen Captures, etc
In the last rows of the debug log, there were these rows:
[2024-06-07 00:49:40.436] [ 9a5] CompareResultsNode(gitlens://viewnode/compare-results/comparison/HEAD+master+16).ensureSubscription
[2024-06-07 00:49:40.436] [ 9a5] CompareResultsNode(gitlens://viewnode/compare-results/comparison/HEAD+master+16).ensureSubscription completed [0ms]
[2024-06-07 00:49:40.436] [ 9a6] CompareResultsNode(gitlens://viewnode/compare-results/comparison/HEAD+master+16).ensureSubscription
[2024-06-07 00:49:40.437] [ 9a6] CompareResultsNode(gitlens://viewnode/compare-results/comparison/HEAD+master+16).ensureSubscription completed [0ms]
I suspect that for some reason some code runs twice and tries to register the same element twice.
Sobch and elias-papJuanfranL
Metadata
Metadata
Assignees
Labels
customer-reported(To be added by automation)(To be added by automation)support-triagedSupport has reviewed, verified, or reproduced thisSupport has reviewed, verified, or reproduced thisverified ✔VerifiedVerified
