microsoft / vscode

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

Opening panel breaks keyboard shortcuts #208732

Closed joelstein closed 6 months ago

joelstein commented 7 months ago

Type: Bug

Opening VS Code fresh, I can use keyboard shortcuts like copy paste, cmd + up/down to scroll to the start or end of the document, etc.

If I then open the Panel, I'm unable to use keyboard shortcuts again. Closing the panel doesn't help. The only thing that helps is restarting the app.

VS Code version: Code 1.87.2 (Universal) (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:21:31.043Z) OS version: Darwin arm64 23.4.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (10 x 24)| |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
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|2, 2, 2| |Memory (System)|16.00GB (0.10GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (31) Extension|Author (truncated)|Version ---|---|--- vscode-icalendar|af4|1.0.1 Bookmarks|ale|13.4.2 sort-imports|ama|6.3.1 laravel-extra-intellisense|ami|0.6.4 vscode-twig-pack|baj|1.1.0 vscode-intelephense-client|bme|1.10.3 vscode-tailwindcss|bra|0.10.5 vscode-eslint|dba|2.4.4 composer-php-vscode|DEV|1.45.15145 permute-lines|ear|1.1.0 prettier-vscode|esb|10.4.0 auto-close-tag|for|0.5.15 headwind|hey|1.7.0 sort-selection|jmr|2.0.1 vscode-dashboard|kru|2.6.0 VS-code-drupal|mar|0.0.12 change-string-case|max|1.1.2 rainbow-csv|mec|3.11.0 dotenv|mik|1.0.1 vscode-apache|mrm|1.2.0 language-gettext|mro|0.5.0 vscode-docker|ms-|1.29.0 playwright|ms-|1.0.22 live-server|ms-|0.4.13 laravel-blade|one|1.36.0 alpine-intellisense|pcb|1.0.2 partial-diff|ryu|1.4.3 lorem-ipsum|Tyr|1.3.1 sort-lines|Tyr|1.11.0 markdown-all-in-one|yzh|3.6.2 material-theme|zhu|3.17.0 (1 theme extensions excluded)
joelstein commented 7 months ago

It's almost like focus is trapped in the panel, even if I close it.

connor4312 commented 7 months ago

What view are you focusing in the panel when you open in? The terminal or something else?

joelstein commented 7 months ago

Cmd + J, and it opens the Problems panel.

ulugbekna commented 6 months ago

Hi 🙂

Thanks for filing this issue!

Could you please try the following:

  1. Run the command "Developer: Toggle Keyboard Shortcuts Troubleshooting" (you can, for example, run it from the Command Palette).

    This will activate logging of dispatched keyboard shortcuts and will open an output panel with the corresponding log file.

  2. Press exactly the keybinding you desire

  3. Check what VS Code detects

If you are having trouble understanding the output, please feel free to paste here and we'll be happy to help ☺️

vscodenpa commented 6 months 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!