Description
openedon Jan 27, 2022
Issue Type: Bug
If I remove a computer from the list of machines that have settings sync enabled, I cannot rename another computer to the name of the computer that was just removed. This issue also occurs on the latest insiders build.
Steps to Reproduce (The placeholder names of my-computer
and my-work-computer
can be substituted with any names):
- Enable settings sync on multiple computers with VSCode
- From one of the computers, open the panel shown by the
Settings Sync: Show Synced Data
command (or by clicking the "settings sync is on" message in the account menu in the sidebar) and rename the current computer tomy-work-computer
or some other friendly name. - From the same panel, rename the other computer to
my-computer
or a different name. - Switch to the other computer (the one named
my-computer
in this example). Make sure settings sync has pulled the lastest data and the friendly names for both computers show up in theShow Synced Data
panel. - Delete the computer named
my-work-computer
(The computer that is not marked as current/the one we were last using) - Attempt to rename the current computer from
my-computer
to the same name that the computer we just deleted had (in this example,my-work-computer
) - VSCode displays a message stating that machine names must be unique, even though a computer with the name
my-work-computer
no longer exists in the list of computers that have settings sync enabled.
VS Code version: Code 1.63.2 (899d46d, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (16 x 2904) |
GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 15.92GB (7.47GB free) |
Process Argv | --disable-extensions --crash-reporter-id bd59afe9-92b3-4cc3-aa1f-8080f56363f7 |
Screen Reader | no |
VM | 0% |
Screenshot of issue:
In this case, the name of the computer I previously deleted was called Kytech-Surface
. It does not show in the list of machines with settings sync enabled as it has been deleted. Attempting to rename any of the computers with settings sync to the old name produces the same issue: