Open bpasero opened 2 weeks ago
@alexr00, could you please an initial look? Thank you!
looked quickly at the code and its not clear to me why progress is being shown in the editor when the progress location is Scm 🤔 https://github.com/microsoft/vscode/blob/7473068e0d7b62bfd4ef4c8f6b86832448ff1d36/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.ts#L1334
Maybe also fyi @benibenj
Weirdly, I can repro with insiders, but not out of source.
@alexr00, some extension maybe?
Now I can't repro it even in insiders. @bpasero is it possible the stack you pulled is unrelated and that there was something else adding progress to the editor?
Looks like the diff decorator is not causing this, its the settings editor. @rzhao271 it seems to listen to this event and doing work even when not the active editor:
Steps:
=> 🐛 notice how a progress bar appears sometimes after having switched to other editors
If you do not see it, put a breakpoint to the event onConfigUpdate
that is handled even when the settings editor is hidden.
I suggest to suspend any listening activity when the editor is hidden.
@bpasero, thank you very much for looking into this further!
Steps to Reproduce:
Stack points to: