microsoft / vscode

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

arrow keys stop working in notebooks #181054

Closed cipher982 closed 1 year ago

cipher982 commented 1 year ago

Type: Bug

Sometimes the arrow keys stop functioning in a notebook cell, but only that specific cell, requiring an exit out and reopen.

VS Code version: Code 1.77.3 (Universal) (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:19:37.325Z) OS version: Darwin arm64 22.4.0 Modes: Sandboxed: Yes Connection to 'ssh-remote+jelly' could not be established

System Info |Item|Value| |---|---| |CPUs|Apple M1 Max (10 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|1, 2, 2| |Memory (System)|32.00GB (0.14GB free)| |Process Argv|--crash-reporter-id b05e75e8-a3b1-444c-adc1-8bf6235a991a| |Screen Reader|no| |VM|0%| Connection to 'ssh-remote+jelly' could not be established
Extensions (41) Extension|Author (truncated)|Version ---|---|--- htmltagwrap|bra|0.0.9 metal-shader|dou|1.0.5 gitlens|eam|13.5.0 copilot|Git|1.84.51 copilot-labs|Git|0.12.791 gc-excelviewer|Gra|4.2.57 vscode-docker|ms-|1.25.0 csharp|ms-|1.25.4 black-formatter|ms-|2023.2.0 flake8|ms-|2023.4.0 isort|ms-|2022.8.0 python|ms-|2023.6.1 vscode-pylance|ms-|2023.4.40 jupyter|ms-|2023.3.1000851011 jupyter-keymap|ms-|1.1.0 jupyter-renderers|ms-|1.0.15 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.5 remote-containers|ms-|0.288.1 remote-ssh|ms-|0.100.0 remote-ssh-edit|ms-|0.84.0 vscode-remote-extensionpack|ms-|0.24.0 cmake-tools|ms-|1.14.30 cpptools|ms-|1.14.5 cpptools-extension-pack|ms-|1.3.0 powershell|ms-|2023.3.3 remote-explorer|ms-|0.4.0 remote-server|ms-|1.1.0 vsliveshare|ms-|1.0.5864 polacode|pnp|0.3.4 java|red|1.17.0 synthwave-vscode|Rob|0.1.15 snowflake-vsc|sno|0.7.1 cmake|twx|0.0.17 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 vscode-java-debug|vsc|0.50.0 vscode-java-dependency|vsc|0.22.0 vscode-java-pack|vsc|0.25.11 vscode-java-test|vsc|0.38.2 vscode-maven|vsc|0.41.0 (2 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263:30335439 vscoreces:30445986 pythondataviewer:30285071 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 nodejswelcome1cf:30587006 282f8724:30602487 pyind779:30671433 f6dab269:30613381 pythonsymbol12:30671437 vsctsb:30705553 azdwalk:30721579 pythonms35:30701012 pythonfmttext:30716742 pythonclientmvcf:30713944 ```
dmho418 commented 1 year ago

Same weird issue. Sometimes in one specific cell in the notebook the keyboard arrow keys stop working. Closing and reopening the window, or just deleting and recreating the cell solves the problem. Can't reproduce the issue reliably, sometimes can go days without seeing it.

Version: 1.77.3 (user setup) Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710 Date: 2023-04-12T09:16:02.548Z Electron: 19.1.11 Chromium: 102.0.5005.196 Node.js: 16.14.2 V8: 10.2.154.26-electron.0 OS: Windows_NT x64 10.0.22621 Sandboxed: No

rebornix commented 1 year ago

This is likely a duplicate and we have it fixed in latest Insiders. Fix should be available in next Stable build.

VSCodeTriageBot commented 1 year ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!