vscode icon indicating copy to clipboard operation
vscode copied to clipboard

settings.json conflicts when there aren't any changes

Open xgdgsc opened this issue 4 months ago • 1 comments

Type: Bug

Use vscode remote on several different computers (Win/macOS). Use auto detect system dark theme switching on macOS and autoDarkMode on Windows. I still see same behavior as #142342 .

VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:11.430Z) OS version: Darwin arm64 23.3.0 Modes: Connection to 'SSH: hyremote-cas3-sgao' could not be established Canceled Connection to 'SSH: hosted-hyremote-jump' could not be established Canceled Remote OS version: Linux x64 3.10.0-1160.45.1.el7.x86_64 Connection to 'SSH: hyremote-sgao' could not be established 没有到主机的路由 Remote OS version: Linux x64 3.10.0-1160.45.1.el7.x86_64 Connection to 'SSH: r99' could not be established Canceled Connection to 'SSH: r100' could not be established Canceled Connection to 'ssh-remote+r99' could not be established Remote OS version: Linux x64 3.10.0-1160.45.1.el7.x86_64

System Info
Item Value
CPUs Apple M2 Max (12 x 24)
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) 3, 3, 3
Memory (System) 32.00GB (1.02GB free)
Process Argv --crash-reporter-id 53b250da-2d8d-47cf-83ab-47adae4be9f1
Screen Reader no
VM 0%

Connection to 'SSH: hyremote-cas3-sgao' could not be established Canceled

Connection to 'SSH: hosted-hyremote-jump' could not be established Canceled

Item Value
Remote SSH: r99
OS Linux x64 3.10.0-1160.45.1.el7.x86_64
CPUs Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz (96 x 1199)
Memory (System) 2015.27GB (1925.88GB free)
VM 0%

Connection to 'SSH: hyremote-sgao' could not be established 没有到主机的路由

Item Value
Remote SSH: r99
OS Linux x64 3.10.0-1160.45.1.el7.x86_64
CPUs Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz (96 x 1199)
Memory (System) 2015.27GB (1925.88GB free)
VM 0%

Connection to 'SSH: r99' could not be established Canceled

Connection to 'SSH: r100' could not be established Canceled

Connection to 'ssh-remote+r99' could not be established

Item Value
Remote SSH: r99
OS Linux x64 3.10.0-1160.45.1.el7.x86_64
CPUs Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz (96 x 1199)
Memory (System) 2015.27GB (1925.88GB free)
VM 0%
Extensions (53)
Extension Author (truncated) Version
separators ale 2.5.0
emojisense bie 0.10.0
vscode-peacock joh 4.2.2
vsc-python-indent Kev 1.18.0
jupyter-keymap ms- 1.1.2
remote-containers ms- 0.338.1
remote-ssh ms- 0.107.1
remote-ssh-edit ms- 0.86.0
remote-wsl ms- 0.86.0
vscode-remote-extensionpack ms- 0.25.0
remote-explorer ms- 0.4.1
remote-server ms- 1.5.0
svg-preview Sim 2.8.3
pdf tom 1.2.2
vscode-icons vsc 12.7.0
cppincludeguard aki 1.7.1
clang-tidy-linter ale 0.0.2
ChineseInputAssistant Cod 1.5.9
gitignore cod 0.9.0
beyond-debug coo 0.9.15
dbclient-jdbc cwe 1.3.4
vscode-redis-client cwe 7.0.4
githistory don 0.6.20
xml Dot 2.5.1
redis Dun 1.4.0
gc-excelviewer Gra 4.2.58
cpp-reference Guy 0.2.3
gzipdecompressor Hyu 1.2.0
path-autocomplete ion 1.25.0
rainbow-end jdu 0.7.12
cpp-getter-setter-generator Jul 0.0.2
language-julia jul 1.115.0
git-tree-compare let 1.16.0
rainbow-csv mec 3.11.0
compare-folders mos 0.24.2
vscode-language-pack-zh-hans MS- 1.85.2024021409
autopep8 ms- 2023.9.13201008
debugpy ms- 2024.1.10371006
python ms- 2024.1.10451007
vscode-pylance ms- 2024.2.101
jupyter ms- 2024.1.1
jupyter-renderers ms- 1.0.17
vscode-jupyter-cell-tags ms- 0.1.8
vscode-jupyter-slideshow ms- 0.1.5
cmake-tools ms- 1.17.15
cpptools ms- 1.18.5
cpptools-extension-pack ms- 1.3.0
makefile-tools ms- 0.8.22
toggle-boolean sil 0.10.0
even-better-toml tam 0.19.2
cmake twx 0.0.17
snippet vsc 1.1.3
vscode-proto3 zxh 0.5.5

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
vscrpc:30673769
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww2:30959801
7j2b6412:30964151

xgdgsc avatar Feb 18 '24 07:02 xgdgsc

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.2. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

VSCodeTriageBot avatar Feb 18 '24 07:02 VSCodeTriageBot

Whenwindow.autoDetectColorScheme is enabled and the OS changes the color scheme, this will modify the workbench.colorTheme. If you have two computers and that happens exacly at the same time, and a different theme is selected, this can cause a settings conflict.

But you are saying there's no conflict?

aeschli avatar Feb 21 '24 14:02 aeschli

Yes. Same as the description of https://github.com/microsoft/vscode/issues/142342 . When you compare with saved there would be no difference. Just a "modifed" status settings.json file open. And usually the 2 computers are one sleep that I use at work and one I resume from sleep at home that connect to same remote servers.

xgdgsc avatar Feb 22 '24 02:02 xgdgsc

Hey @aeschli, this issue might need further attention.

@xgdgsc, you can help us out by closing this issue if the problem no longer exists, or adding more information.

VSCodeTriageBot avatar May 12 '24 11:05 VSCodeTriageBot

This should no longer happen with the latest changes: https://code.visualstudio.com/updates/v1_89#_auto-detect-system-color-mode-improvements In that case, the workbench.colorTheme setting is then no longer modified when window.autoDetectColorScheme is on

aeschli avatar May 13 '24 08:05 aeschli