microsoft / microsoft/vscode

Select on Find is delayed

Open
#324,675 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Bug

This happend before a long time ago and then was fixed and now seems to be back. When I select the words in the search box or the replace box (from right to left), the selection does not finish and it only selects a portion of the word despite me no releasing my mouse until it is to the left of the box. I am forced to select more slowly. This is very annoying as I usually select the content so that I can type new words to search.

In another matter... that I now watch out for... if the search is already selected and I go to select it again it drags the selection into my document. This is very bad UX. Dangerous if we do not realize it happens. Nobody really needs to drag from those boxes. It should just reselect the already selected.

Thanks

VS Code version: Code 1.127.0 (4fe60c8b1cdac1c4c174f2fb180d0d758272d713, 2026-06-30T10:52:33+02:00)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|AMD Ryzen 5 5600X 6-Core Processor (12 x 3700)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x2489 [NVIDIA GeForce RTX 3060 Ti], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.15.9186 *ACTIVE*
GPU1: VENDOR= 0x10de, DEVICE=0x2489 [NVIDIA GeForce RTX 3060 Ti], DRIVER_VERSION=32.0.15.9186
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8521
Machine model name:
Machine model version:
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
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|15.91GB (7.20GB free)|
|Process Argv|--crash-reporter-id 256c9743-cbab-40e1-ae47-68e562a5c281|
|Screen Reader|no|
|VM|0%|
Extensions (12)

Name|Identifier|Author|Version
---|---|---|---
Bookmarks|alefragnani.bookmarks|alefragnani|14.1.1
Clipboard History|anjali.clipboard-history|Anjali|1.0.7
GitLens — Git supercharged|eamodio.gitlens|eamodio|18.2.0
Swap 🔁|fausto95.swap|fausto95|0.1.0
Line Counter|hassamullah.line-counter-v1|HassamUllah|0.0.7
PRO Deployer - SFTP/FTP deployer|heminei.pro-deployer|heminei|3.5.1
favorites|howardzuo.vscode-favorites|howardzuo|1.15.1
Rainbow CSV|mechatroner.rainbow-csv|mechatroner|3.24.1
Word Count|oliverkovacs.word-count|OliverKovacs|0.1.0
Live Server|ritwickdey.liveserver|ritwickdey|5.7.10
File Utils|sleistner.vscode-fileutils|sleistner|3.10.3
open in browser|techer.open-in-browser|techer|2.0.0

A/B Experiments

```
vsliv368:30146709
vswsl492:30256859
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31538736
gh487529:31544284
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
38bie571_auto:31426784
cp_cls_t_1081:31454832
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
46204921:31447328
capi_a_098a3278:31544979
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
8hig5102:31480529
ah:31461780
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
h08i8180_copy:31475368
23c7c724:31520045
ddid_c:31478207
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
852d2892:31506239
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
f9bf7985:31543584
31fi7170_t:31522396
a1ije391_t:31540920
8hfba999:31537718
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_c_nes:31533503
d7b18187:31526828
nes-curr-leftover-1500:31538366
h561g132:31533256
sessions_3:31532893
h7dd7680:31543284
ihg5j128:31534457
jh7i3328:31546038
7g2b5551:31542111
nes-ex-cf-euporie-03:31542868
nes-nc-rv-1k:31544186

```

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. First reproduce the delayed right-to-left selection and selection-drag behavior in the search and replace boxes on Windows using VS Code 1.127.0, then trace the find-widget input and selection handling. Done means selections complete at normal drag speed and repeated selection does not drag text into the document.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.