Open Kytech opened 2 years ago
Confirmed this is still an issue.
And there's no tool to delete this phantom machine. And there's no tool to even show the currently occupied names (even though the VSCode client obviously knows them).
I wonder if by this issue's one year anniversary we'd get any kind of acknowledgement from Microsoft, never mind a fix...
And there's no tool to delete this phantom machine. And there's no tool to even show the currently occupied names (even though the VSCode client obviously knows them).
I wonder if by this issue's one year anniversary we'd get any kind of acknowledgement from Microsoft, never mind a fix...
Yeah, it would be nice to have this acknowledged. If I ever reinstall my OS without de-registering the computer from settings sync first, I'll run into this issue again and have to get creative with how I rename computers in VSCode since I always keep the same device/hostname whenever I do a clean install (or replace the device with another).
Happy late anniversary!
I recently had the same issue. I was able to remove the phantom machine by deactivating settings sync, which prompts "do you also want to delete all cloud data?", which I approved. Then, I reenabled settings sync, and no more machines were shown in the Show Synced Data
panel. Finally, I renamed my machine to the previously occupied phantom name, and that now worked flawlessly.
Another year has passed.
Yep, and the bug is still floating around. Tried to re-use a name affected by this near the end of 2023 and still am experiencing the same problem - that name is still giving me the same error it did when I first opened this issue.
I can re-confirm as of about a week ago that the problem does not occur if you turn off settings sync on a machine. Looks like that process cleanly de-registers the machine name, in contrast to how deleting a machine from another computer does not cleanly de-register that machine name, resulting in this bug.
This doesn't seem like it would be too difficult of a fix, and I'd be happy to contribute towards a solution, but since settings sync is largely a server-driven feature, I wouldn't be surprised if the cause of the issue is on the server-side and wouldn't be something that could be fixed with a PR to this repo.
+1 still an issue
me too, current is 2024 year 10 month
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
andmy-work-computer
can be substituted with any names):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.my-computer
or a different name.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.my-work-computer
(The computer that is not marked as current/the one we were last using)my-computer
to the same name that the computer we just deleted had (in this example,my-work-computer
)my-work-computer
no longer exists in the list of computers that have settings sync enabled.VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 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: enabledgpu_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%|