shalldie/vscode-background

[Bug Report] VS Code更新后插件无法使用

masonsxu opened this issue · 6 comments

Summary | 概述

Versions

  • OS(Win10 / Mac OSX / Linux): Win 10
  • vscode:
版本: 1.94.0 (user setup)
提交: d78a74bcdfad14d5d3b1b782f87255d802b57511
日期: 2024-10-02T13:08:12.626Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045

Background Config | 插件的配置

{
  "background.enabled": true,
  "background.customImages": [
    "file:///D:/Downloads/test.png",
    "file:///D:/Downloads/test.png",
    "file:///D:/Downloads/test.png"
  ],
  "background.style": {
    "content": "''",
    "pointer-events": "none",
    "position": "absolute",
    "z-index": "99999",
    "width": "100%",
    "height": "100%",
    "background-size": "cover",
    "background-position": "50% 50%",
    "background-repeat": "no-repeat",
    "opacity": 0.3
  },
}

Expected Behaviors | 期望的行为

Screenshots | 截图

image

Additional Context | 其它信息

workbench.desktop.main.js:sourcemap:631 Activating extension 'shalldie.background' failed: Cannot read properties of undefined (reading 'filename').

插件版本呢? 确认插件也是最新的 v1.2.15

我也一樣插件是v1.2.15 , vscode 無法顯示

我也一樣插件是v1.2.15 , vscode 無法顯示

@DF1018
其它配置、环境、vscode版本跟上面一样吗?

1楼的问题看报错应该没有使用到最新的插件,你这边表现状态是怎么样的呢

Vscode:
版本: 1.94.1 (user setup)
認可: **********
日期: 2024-10-05T05:44:32.189Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

當我10月5號把vscode更新到最新就用不到

我調整了settings.json中background setting

本來的background setting

"background.fullscreen": {
    
        "images": ["file:///Cagalli_Athrun.jpg"],
        "opacity": 0.91,
        "size": "cover",
        "position": "center",
        "interval": 0
    },
"images": ["file:///Cagalli_Athrun.jpg"],

當我加上C:/就解決了

"images": ["file:///C:/Cagalli_Athrun.jpg"],

我調整了settings.json中background setting
...

@DF1018
很奇怪之前的版本能生效,,,但解决了就好 😂