[Bug Report] 安装插件后VSCode白屏
Closed this issue · 4 comments
Cinea4678 commented
Summary | 概述
安装插件后VS Code白屏,无法进行操作。
Versions
OS(Win10 / Mac OSX / Linux)
: Mac OSXvscode
: 1.95.0
关于 Visual Studio Code 窗口无法显示,用命令行输出代替:
Background Config | 插件的配置
{
"background.enabled": true,
"background.editor": {
"useFront": false,
"style": {
"background-position": "100% 100%",
"background-size": "auto",
"opacity": 0.6
},
"styles": [
{},
{},
{}
],
"images": ["https://img.moegirl.org.cn/common/3/31/Saki-chibi.png"],
"interval": 0,
"random": false
},
}
Expected Behaviors | 期望的行为
VSCode正常启动和运行
Screenshots | 截图
Additional Context | 其它信息
出现问题时,打开了两个Code窗口,第一个窗口安装插件后白屏,在第二个窗口内使用“background: 卸载“命令卸载后,重启也白屏。此后打开的新窗口都出现白屏问题。
VSCode中安装的其他插件:
$ code --list-extensions --show-versions
antfu.goto-alias@0.2.1
antfu.iconify@0.9.5
antfu.unocss@0.63.4
asvetliakov.vscode-neovim@1.18.14
axetroy.vscode-whatchanged@0.2.5
bjorn-eric-abr.hopper@0.4.1
catppuccin.catppuccin-vsc@3.16.0
chaitanyashahare.lazygit@1.0.6
csstools.postcss@1.0.9
dbaeumer.vscode-eslint@3.0.10
dcorrea.dcorrea@0.0.3
eamodio.gitlens@15.6.3
editorconfig.editorconfig@0.16.4
equinusocio.vsc-material-theme@34.7.9
equinusocio.vsc-material-theme-icons@3.8.10
esbenp.prettier-vscode@11.0.0
felipe-mendes.slack-theme@1.9.17
fill-labs.dependi@0.7.11
formulahendry.auto-rename-tag@0.1.10
foxundermoon.shell-format@7.2.5
github.github-vscode-theme@6.3.5
github.vscode-pull-request-github@0.100.1
gitlab.gitlab-workflow@5.17.0
janbiasi.gotthard-theme@1.9.0
joshferge.clickhouse-query-formatter@0.0.2
mads-hartmann.bash-ide-vscode@1.43.0
monokai.theme-monokai-pro-vscode@2.0.2
ms-azuretools.vscode-docker@1.29.3
ms-ceintl.vscode-language-pack-zh-hans@1.95.2024103009
ms-vscode-remote.remote-containers@0.388.0
ms-vscode-remote.remote-ssh@0.115.0
ms-vscode-remote.remote-ssh-edit@0.87.0
ms-vscode.cmake-tools@1.19.52
ms-vscode.cpptools@1.22.11
ms-vscode.cpptools-extension-pack@1.3.0
ms-vscode.cpptools-themes@2.0.0
ms-vscode.hexeditor@1.11.1
ms-vscode.remote-explorer@0.4.3
nvarner.typst-lsp@0.13.0
pmndrs.pmndrs@0.3.7
prisma.prisma@5.22.0
redhat.java@1.36.0
redhat.vscode-xml@0.27.1
redhat.vscode-yaml@1.15.0
ritwickdey.liveserver@5.7.9
rust-lang.rust-analyzer@0.3.2172
suhaybu.onedarkpro-colorblind@1.0.1
swellaby.rust-pack@0.3.38
tamasfe.even-better-toml@0.19.2
tankashing.blinds-theme@7.1.0
tauri-apps.tauri-vscode@0.2.9
teabyii.ayu@1.0.5
timonwong.shellcheck@0.37.1
tomoki1207.pdf@1.2.2
twxs.cmake@0.0.17
uctakeoff.vscode-counter@3.6.1
uni-helper.uni-app-schemas-vscode@0.9.3
uni-helper.uni-helper-vscode@0.5.9
uni-helper.uni-highlight-vscode@0.3.11
vadimcn.vscode-lldb@1.11.1
visualstudioexptteam.intellicode-api-usage-examples@0.2.9
visualstudioexptteam.vscodeintellicode@1.3.2
vscjava.vscode-gradle@3.16.4
vscjava.vscode-java-debug@0.58.1
vscjava.vscode-java-dependency@0.24.1
vscjava.vscode-java-pack@0.29.0
vscjava.vscode-java-test@0.42.0
vscjava.vscode-maven@0.44.0
vscodevim.vim@1.28.1
vue.volar@2.1.6
wakatime.vscode-wakatime@24.7.2
wenfangdu.jump@0.8.0
xyz.local-history@1.8.1
yzane.markdown-pdf@1.5.0
yzhang.markdown-all-in-one@3.6.2
zxh404.vscode-proto3@0.5.5
Cinea4678 commented
补充:若有朋友遇到相同问题,可以考虑通过以下步骤恢复vscode正常使用:
- 使用nvim等工具设置settings.json中的"background.enabled"为false
- 重新前往code.visualstudio.com/download下载和安装VSCode
Cinea4678 commented
补充2:重新安装VSCode后,插件恢复正常运行。可能是之前使用的其他插件对VSCode的修改和本插件的修改产生冲突。考虑到这大概率并非插件本身的bug,就先close本issue了
shalldie commented
有几个问题,辛苦回复下:
- 已经安装background,升级vscode出现问题。还是正常安装background后出现?
- 另外出现问题时,vscode一共打开了多少窗口?
偶发类似case,想看看是否同一个情况
Cinea4678 commented
- 是正常安装background后出现,首次出现时还没有修改过background的配置
- 出现问题时,打开了5~7个左右的窗口