-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Studio Code Bug with WSL2 preventing the Git Graph View from loading #378
Comments
Hi @MaurGi, The Visual Studio Code team made significant changes to the Webview implementation in Visual Studio Code 1.47, and unfortunately introduced numerous bugs that prevented the Webview’s from loading CSS & JS resources. These bugs affected all extensions that use Webview’s (the Git Graph View uses a Webview, and uses CSS & JS resource to render). The screenshot you have shown occurs because Visual Studio Code fails to load the CSS & JS resources that the Git Graph View requires to render. If you run the "Developer: Open Webview Developer Tools" command from the Visual Studio Code Command Palette, and switch to the Console Tab, you'll be able to see the errors that Visual Studio Code is having. Although the Visual Studio Code team managed to fix the vast majority of Webview issues before Visual Studio Code 1.47.x was fully released, numerous bugs still made it through, including several with WSL2 that caused exactly the behaviour you've reported. Unfortunately, this is beyond my control as these Visual Studio Code bugs are in the Webview implementation itself, which is used by many extensions including Git Graph. There is nothing I can do within Git Graph to avoid this issue. Please raise a bug in the Visual Studio Code GitHub repository, which outlines that: you're using WSL2, Webview resources are failing to load for extensions, and provide as much context as you can about how WSL2 is setup on your computer (as it must be a fairly obscure edge case you're facing). Feel free to mention me in the thread using |
File a bug here: microsoft/vscode#106667 - does this only happens in WSL ? |
Hi @MaurGi, The only reports I’ve still been getting of the JS/CSS still failing to load occur when the user has some slightly unusual WSL configuration, or is using WSL2. I’ve received these reports for Visual Studio Code 1.47.x, 1.48.x & 1.49.x. |
Hi @MaurGi, Would you please:
|
@MaurGi, could you please respond to my previous reply - it's important that this issue is correctly reported so that it can be addressed and resolved by the Visual Studio Code team. |
Describe the Bug
A clear and concise description of what the bug is.
Steps to Reproduce
Steps to reproduce the behaviour:
Expected Behaviour
Regular Git Tree UI should show up
Environment
Git Graph Extension Version: 1.13.0:
Visual Studio Code Version:
With WSL2
Git Graph Output:
Screenshots (optional)
See above
Additional Context (optional)
New installed PC - worked on the old PC :(
⚠ Please make sure you complete all of the required sections of this template. Without this required information, it will be harder to replicate this bug, and cause additional delays in resolving it.
The text was updated successfully, but these errors were encountered: