vscode: Webviews do not work 50% of the time after 1.82 update
Type: Bug
- Start VS Code.
- Open a webview window
- Close VS Code
- Start it again.
- Open a webview again. The error from the screenshot will be shown. This issue was not reproducible on 1.81.
VS Code version: Code 1.82.1 (6509174151d557a81c9d0b5f8a5a1e9274db5585, 2023-09-08T08:45:05.575Z) OS version: Windows_NT x64 10.0.19045 Modes:
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-9850H CPU @ 2.60GHz (12 x 2592) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
Load (avg) | undefined |
Memory (System) | 15.76GB (6.26GB free) |
Process Argv | –crash-reporter-id 9a1ca677-d337-41d6-a68e-73f40408f761 |
Screen Reader | no |
VM | 0% |
Extensions (8)
Extension | Author (truncated) | Version |
---|---|---|
tsl-problem-matcher | amo | 0.6.2 |
file-downloader | min | 1.0.12 |
cmake-tools | ms- | 1.15.31 |
cpptools | ms- | 1.17.5 |
vscode-embedded-tools | ms- | 0.7.0 |
vscode-serial-monitor | ms- | 0.10.0 |
mcuxpresso | NXP | 1.1.52 |
cmake | twx | 0.0.17 |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30792226
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30803845
3biah626:30602489
f6dab269:30613381
vscrp:30673768
showlangstatbar:30737416
0bi6i642:30835152
a2ce3375:30757347
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
diffeditorv1:30821571
dsvsc015cf:30829746
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Reactions: 6
- Comments: 17 (3 by maintainers)
The issue occurs because VS Code doesn’t exit immediately after the last window is closed (#192742). Killing all the residual processes solves the issue.
A patch has been released in the last insiders version, and with it the issue doesn’t occur anymore.
I tested the issue on the insiders version and it seems to be fixed.
@mjbvz Any workaround for this issue at this point in time? Issue observed on 1.83.1 version
Issue is still reproducible on 1.82.2.
@Guo-Chenxu , yes, when VS Code has problems with opening webviews, it starts slower. When it starts normally (not slower than usual), the webviews work.