microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.62k stars 29.03k forks source link

Delete key impacts the code instead of command palette. #202637

Closed prabhjotsbhatia-ca closed 9 months ago

prabhjotsbhatia-ca commented 9 months ago

Type: Bug

  1. Hit Command + Shift + P to open the command palette.
  2. Enter a command, perhaps with a typo.
  3. Hit "Delete" key

Expected Outcome: The last typed character in the command palette is deleted.

Actual Outcome: The code in the open file is affected. There is no way to correct a typo in the command palette.

VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:48:06.308Z) OS version: Darwin x64 23.2.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|9, 7, 6| |Memory (System)|16.00GB (0.14GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (29) Extension|Author (truncated)|Version ---|---|--- dakara-foldplus|dak|1.5.2 vscode-eslint|dba|2.4.2 empty-indent|Dmi|0.2.0 prettier-vscode|esb|10.1.0 php-intellisense|fel|2.3.14 phpcs|ika|1.0.5 drupal-7-snippets|jun|0.0.7 vscode-home-assistant|kee|1.40.0 VS-code-drupal|mar|0.0.12 python|ms-|2023.22.1 vscode-pylance|ms-|2023.12.1 jupyter|ms-|2023.11.1100101639 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.17 vscode-jupyter-cell-tags|ms-|0.1.8 remote-containers|ms-|0.327.0 cpptools|ms-|1.18.5 debugger-for-chrome|msj|4.13.0 php-docblocker|nei|2.7.0 smartsemicoloncode|ono|1.3.1 drupal7-hooks-snippets|pau|0.0.2 vs-code-prettier-eslint|rve|5.1.0 sass-indented|syl|1.8.28 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.2.30 jinja|who|0.0.8 php-debug|xde|1.34.0 php-pack|xde|1.0.3 php-intellisense|zob|1.3.3
gjsjohnmurray commented 9 months ago

/confirmPlease

vscodenpa commented 9 months ago

Please diagnose the root cause of the issue by running the command F1 > Help: Troubleshoot Issue and following the instructions. Once you have done that, please update the issue with the results.

Happy Coding!

aiday-mar commented 9 months ago

Hi I am trying to replicate this issue but am currently not able to.

https://github.com/microsoft/vscode/assets/61460952/e3150576-dd8e-480e-87b1-6d601c3ef121

Could you please include a screen recording of the issue you are seeing?

prabhjotsbhatia-ca commented 9 months ago

Here's a screen recording: https://www.loom.com/share/7e40000ab02440d7915e782a670e1ce1

prabhjotsbhatia-ca commented 9 months ago

Hi I am trying to replicate this issue but am currently not able to.

Screen.Recording.2024-01-17.at.11.56.20.mov Could you please include a screen recording of the issue you are seeing?

Thank you! I've added a screen recording. Fn + Delete works fine for me, "delete"(i.e. Backspace) doesn't.

aiday-mar commented 9 months ago

Pinging @TylerLeonhardt about this. I think you are responsible for this area? Feel free to assign someone else.

prabhjotsbhatia-ca commented 9 months ago

I figured it. This seems to be caused by an extension.