Skip to content
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

File Search/Replace replacing multiple times (incorrectly) when double-clicking #233418

Open
M393 opened this issue Nov 8, 2024 · 0 comments
Open
Assignees
Labels
new release Issues found in a recent release of VS Code

Comments

@M393
Copy link

M393 commented Nov 8, 2024

Type: Bug

If you click too fast when replacing multiple occurences by clicking the replace button next to each found replacement, a replacements may be done multiple times for the same occurence.

The replace button should be disabled after it is clicked once.

The problem happens more often in big files and with extensions enabled, but it also happens without any extensions.
https://github.com/user-attachments/assets/2b4b4ea6-3c6a-4cb8-8690-9598cee697c3

VS Code version: Code 1.95.2 (e865366, 2024-11-07T11:07:22.054Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz (8 x 3691)
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: unavailable_off
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.95GB (5.27GB free)
Process Argv --disable-extensions --crash-reporter-id 52968fa8-c462-4bbb-8bf1-2603e8c6576c
Screen Reader no
VM 0%
Extensions disabled
@vs-code-engineering vs-code-engineering bot added the new release Issues found in a recent release of VS Code label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new release Issues found in a recent release of VS Code
Projects
None yet
Development

No branches or pull requests

2 participants