Skip to content

Insider search is very laggy as it starts searching without waiting for the input method to type #248773

Closed

Description

@zheung

Type: Bug

I noticed that the VSCode Insiders file search is always very laggy lately. Upon closer inspection, I realized that it's because VSCode starts searching without waiting for the Chinese input method to formally enter the search term.
And the Chinese input method tends to pre-input some characters until the user selects a true Chinese character. These characters are very short and common. This results in a huge number of matches.
At the same time, the search can't be aborted in, it will also cause the UI is not responsive. Sometimes a response timeout pops up.

Please watch the video recording of both input methods. In the middle part of the video, there is only mouse movement because the UI is not responding:

  • QQPinyin (It will pre-enter a space character)
[email protected]
  • Micosoft Pinyin (It will pre-enter the letters that are clicked on the keyboard)
[email protected]

Note: This was not a problem in previous versions.

VS Code version: Code - Insiders 1.101.0-insider (5d3e84d, 2025-05-12T05:04:38.258Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 5800X 8-Core Processor (16 x 4500)
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.92GB (48.18GB free)
Process Argv --disable-extensions --crash-reporter-id 43ab0d18-95d1-486b-8eba-b11ee7cec582
Screen Reader no
VM 0%
Extensions disabled
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt551cf:31249598
vscod805:30301674
c4g48928:30535728
2i9eh265:30646982
962ge761:30841072
dsvsc014:30777825
dsvsc015:30821418
h48ei257:31000450
pythontbext0:30879054
cppperfnew:30980852
dwnewjupyter:31046869
pythonrstrctxt:31093868
nativeloc1:31118317
e80f6927:31120813
dwcopilot:31158714
5b1c1929:31184661
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
g012b348:31231168
pythoneinst12:31251391
bgtreat:31252123
c7cif404:31294349
31787653:31262186
3e8i5726:31271747
pythonpulldiag:31287486
6gi0g917:31259950
61ibe868:31282443
996jf627:31264550
pythonrdcb7:31268811
usemplatestapi:31297334
i53e4855:31297587
747dc170:31275146
pythoncompactctx:31296835
6518g693:31302842
pylancecolor:31288664
generatesymbolt:31280541
convertfstringf:31280702
gendocf:31280703
9e7b5698:31285110
pylancequickfixf:31296867
j6deb183:31305773
923gi514:31305832

Activity

  1. added
    bug
    important
    freeze-slow-crash-leak
    on May 14, 2025
  2. Yoyokrazy commented on May 14, 2025

    @Yoyokrazy
    Collaborator

    This isn't specific to a language, this can happen with any initial character. I went to type the word execute and ended up matching to every e within VS Code, causing the editor to lock up and crash.

  3. added
    unreleased
    on May 14, 2025
  4. added this to the May 2025 milestone on May 14, 2025
  5. added
    insiders-released
    and removed
    unreleased
    on May 15, 2025
  6. locked and limited conversation to collaborators on Jun 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugfreeze-slow-crash-leakimportantinsiders-releasedverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions