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
Settings getting cleared when updating them using API #47763
Comments
@tsalinger I am not able to reproduce this on insiders also when running from dev. Can you please try disabling extensions? |
@sandy081 I can still reproduce this in the latest insiders with all extensions disabled.
Also make sure to use The bug seems to appear less frequently when the VS Code window is not maximized. |
@tsalinger No luck. May be I will sit with you tomorrow and look into it on your machine |
I've seen a somewhat similar issue. On a laptop it switches to the default dark theme (for about 10ms) and then back at random (cannot reproduce reliably). There is a comment on a linked issue:
Does that mean that the reason of this flickering is some extension or a problem with settings file or API? |
@usernamehw We investigated on this issue and found out that this is happening because of non-atomic nature of write and read. If a setting is being written into the file and the file is being read at the same time, read is returning empty contents. This can happen when multiple updates are happening. |
I just lost my user settings a few seconds after starting code 😞 VS Code version: 1.51.0 upgraded 4 days ago |
I've seen this multiple times now via background software updates. Grabbing my settings.json from backup for the third time… :'( (yes I should probably turn on Settings Sync, but IMHO that's not an adequate solution to this problem…) |
Noted, I have added some fixes recently which might prevent this. Can you please try with our recent insiders and see if you see this issue yet? |
Issue Type: Bug
Observations:
The accessibilitySupport prompt popups shortly before it switches to the dark theme
Sometimes only a restart of VS Code gets the light theme back.
VS Code version: Code - Insiders 1.23.0-insider (fe9d953, 2018-04-12T05:17:00.120Z)
OS version: Windows_NT x64 10.0.16299
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: enabled
video_encode: enabled
vpx_decode: unavailable_software
webgl: enabled
webgl2: enabled
Extensions (13)
(3 theme extensions excluded)
The text was updated successfully, but these errors were encountered: