Skip to content
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

[Bug Report] Some problem... #517

Open
ligouhai opened this issue Jan 13, 2025 · 17 comments
Open

[Bug Report] Some problem... #517

ligouhai opened this issue Jan 13, 2025 · 17 comments
Labels

Comments

@ligouhai
Copy link

Summary | 概述

The default background image is not displayed after updating to V2.0.3

Versions

  • OS(Win10 / Mac OSX / Linux): Mac OSX
  • vscode: 1.96.2

Background Config | 插件的配置

"background.editor": {
"images": [
"https://user-images.githubusercontent.com/9987486/40583669-d6189844-61c5-11e8-89e3-c52ad153da09.png",
"https://user-images.githubusercontent.com/9987486/40583670-d6478c9e-61c5-11e8-9551-6b55eacc7b8d.png",
"https://user-images.githubusercontent.com/9987486/40583671-d676c6e4-61c5-11e8-94cb-34ec4a12fa01.png"
],
"useFront": true,
"style": {
"background-position": "100% 100%",
"background-size": "auto",
"opacity": 0.6
},
"styles": [{}, {}, {}],
"interval": 0,
"random": true
},

Expected Behaviors | 期望的行为

Can display normally

Screenshots | 截图

image
image

Additional Context | 其它信息

@ligouhai ligouhai added the bug label Jan 13, 2025
@shalldie
Copy link
Owner

background v2.0.3 has been released for about 2 month, I tried your config in vscode 1.96.2 on MacOS and it works well.

Have you tried reload vscode? After config changed , a prompt will appear to reload it.
Try this and tell me if it works:

  1. click the 「Background」button on the right-bottom of statusbar.
  2. choose 「install and enable the background」

@ligouhai
Copy link
Author

I "install and enable the background" many times; And vscode was reinstalled.

@shalldie
Copy link
Owner

shalldie commented Jan 13, 2025

It's strange, did any errors occur?

For example read-only-file-system like, vscode can't be in Download directory.


这样,你检查下是否能够打开:https://user-images.githubusercontent.com/9987486/40583669-d6189844-61c5-11e8-89e3-c52ad153da09.png , 排查网络问题
再看看 vscode 是否有报错之类?

@ligouhai
Copy link
Author

image
[Move Visual Studio Code.app from Download to the Application directory.
Run sudo chmod -R a+rw '/Applications/Visual Studio Code.app' to grant write permissions.]
I did both of those

@ligouhai
Copy link
Author

It's strange, did any errors occur?

For example read-only-file-system like, vscode can't be in Download directory.

这样,你检查下是否能够打开:https://user-images.githubusercontent.com/9987486/40583669-d6189844-61c5-11e8-89e3-c52ad153da09.png , 排查网络问题 再看看 vscode 是否有报错之类?

默认的三张背景图我都能打开

@ligouhai
Copy link
Author

vscode我重装过,并且清理过残余文件

@shalldie
Copy link
Owner

看到你有「Code 安装似乎损坏」的报错,
background 从2.x开始,不会再有这种报错。是不是还安装了其它背景插件呢?

@ligouhai
Copy link
Author

我也很奇怪,但我并没装其他背景插件。
这是我所有的插件
image
image
image
image
Atom One Light 是我目前用的主题

@shalldie
Copy link
Owner

辛苦按照这个步骤重新来一次吧:

  1. 删除「background」插件,
  2. 重装 vscode 到 application 目录 (mac下的安装是 「解压 压缩包」、「拖动vscode到application」)
  3. 这时候检查是否有报错
  4. 安装 background 插件,按照提示重启 vscode
  5. 观察背景是否生效,是否有报错

用于排查下这个报错是否跟background有关

@ligouhai
Copy link
Author

按照你的步骤,我重装后。
image
image

@shalldie
Copy link
Owner

安装 background 前没有报错,安装后出现报错,并背景不生效。
目前情况是这个对吧?

该版本已经发布2个月了还没出现过这种情况 😂😂 我再去研究下

@ligouhai
Copy link
Author

是的 每次重启就会提示这个

@shalldie
Copy link
Owner

麻烦把 「Code」-「关于 Visual Studio Code」路径的弹框截个图,我确认下版本

@ligouhai
Copy link
Author

image

@luming8
Copy link

luming8 commented Jan 18, 2025

全屏显示,右上角第三个按钮无法透明,这是怎么回事呀

Image

@shalldie
Copy link
Owner

全屏显示,右上角第三个按钮无法透明,这是怎么回事呀

Image

@luming8 已知case,这个是windows系统自带的按钮,无法影响

@666mxvbee
Copy link

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants