-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Repeatedly typing space in extension search box causes hang #55426
Comments
Are you able to reproduce this reliably? I've never gotten it on Windows but I did manage once on macOS, even then it only stalled the extensions viewlet UI, rest was fine. Its just pressing space as the search triggers right? |
@JacksonKearl Can we not skip the search if newValue.trim() === oldValue.trim() ? |
We can do that. But what if they hit 'a' a bunch? @mjbvz can you repro this in stable? |
No, I didn’t see this in stable when typing spaces. I also don’t remember being able to reproduce this with other characters, such as typing “a” many times |
Then we can probably get away with just debouncing the trimmed value |
@JacksonKearl Let's do that to begin with |
Testing #55386
Issue Type: Bug
space
every half second or so (make sure the progress bar is showing when you type the next space)Bug
After five or more spaces, the entire VS Code UI starts hanging for a few seconds
VS Code version: Code - Insiders 1.26.0-insider (0707dd4, 2018-07-31T05:12:08.688Z)
OS version: Darwin x64 17.7.0
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: