Closed zifik closed 3 years ago
Every refresh will clear all statusbar first. There should be no duplicate statusbar unless VSCode does not release the statusbar correctly.
Then perhaps the fault lies with the remote development extension and how it reconnects/reloads.
This is also happening to me. I am not using remote development, but from time to time some buttons are duplicated, and I have to reload the VSCode window to revert back to the correct settings.
I did not find the error, but I added an optimization. Now the extension will reuse the created statusbar. This may solve part of the problem.
Unfortunately, it still happens to me, and it's very annoying.
It's a local workspace, just opened it and got many duplicated buttons. "Developer: Reload Window" not solved this issue, but closing and reopening the workspace solved it.
I see that almost everyday, not using remote development. Editing and re-saving the tasks.json reset the status bar. This is my only grief with this very useful extension.
I've create a pull request with something that seems to fix the problem. Haven't seen duplicates on the 2 machines I deployed that change.
This extension is not properly clearing existing tasks buttons during load.
When doing remote development, there are situations where VSCode loses connection and asks to "reload window". When this occurs, the task buttons are duplicated. If the window reloads again, then there are 3x the number of task buttons.
Version: v0.7.0 VSCode: 1.50.1