Skip to content

Terminal text cannot be copied using ctrl-shift-c as a shortcut #246543

@Isylwin

Description

@Isylwin

Type: Bug

Terminal text cannot be copied using ctrl-shift-c as a shortcut. ctrl-c does work. It looks like the actual command workbench.action.terminal.copyAndClearSelection is not invoked for some reason.

Output log for ctrl-shift-c:

2025-04-14 22:20:17.372 [info] [Window] [KeybindingService]: / Received keydown event - modifiers: [ctrl,shift], code: ShiftLeft, keyCode: 16, key: Shift
2025-04-14 22:20:17.372 [info] [Window] [KeybindingService]: | Converted keydown event - modifiers: [ctrl,shift], code: ShiftLeft, keyCode: 4 ('Shift')
2025-04-14 22:20:17.373 [info] [Window] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
2025-04-14 22:20:17.509 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event
2025-04-14 22:20:17.509 [info] [Window] [KeybindingService]: | Resolving ctrl+shift+C
2025-04-14 22:20:17.509 [info] [Window] [KeybindingService]: \ From 3 keybinding entries, matched workbench.action.terminal.copyAndClearSelection, when: terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused, source: user.
2025-04-14 22:20:17.571 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event
2025-04-14 22:20:17.571 [info] [Window] [KeybindingService]: \ Keyboard event cannot be dispatched
2025-04-14 22:20:17.581 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event
2025-04-14 22:20:17.581 [info] [Window] [KeybindingService]: \ Keyboard event cannot be dispatched
2025-04-14 22:20:17.581 [info] [Window] [KeybindingService]: + Ignoring single modifier ctrl due to it being pressed together with other keys.

Output log for ctrl-c:

2025-04-14 22:21:25.969 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event
2025-04-14 22:21:25.969 [info] [Window] [KeybindingService]: | Resolving ctrl+C
2025-04-14 22:21:25.969 [info] [Window] [KeybindingService]: \ From 10 keybinding entries, matched workbench.action.terminal.copyAndClearSelection, when: terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused, source: user.
2025-04-14 22:21:25.969 [info] [Window] [KeybindingService]: / Received keydown event - modifiers: [ctrl], code: KeyC, keyCode: 67, key: c
2025-04-14 22:21:25.969 [info] [Window] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: KeyC, keyCode: 33 ('C')
2025-04-14 22:21:25.969 [info] [Window] [KeybindingService]: | Resolving ctrl+C
2025-04-14 22:21:25.969 [info] [Window] [KeybindingService]: \ From 10 keybinding entries, matched workbench.action.terminal.copyAndClearSelection, when: terminalTextSelectedInFocused || terminalFocus && terminalHasBeenCreated && terminalTextSelected || terminalFocus && terminalProcessSupported && terminalTextSelected || terminalFocus && terminalTextSelected && terminalTextSelectedInFocused || terminalHasBeenCreated && terminalTextSelected && terminalTextSelectedInFocused || terminalProcessSupported && terminalTextSelected && terminalTextSelectedInFocused, source: user.
2025-04-14 22:21:25.969 [info] [Window] [KeybindingService]: + Invoking command workbench.action.terminal.copyAndClearSelection.

VS Code version: Code 1.99.1 (7c6fdfb, 2025-04-04T15:58:59.624Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Connection to 'ssh-remote+192.168.178.160' could not be established
Remote OS version: Linux x64 5.15.0-136-generic

System Info
Item Value
CPUs AMD Ryzen 5 9600X 6-Core Processor (12 x 3900)
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
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 61.66GB (41.19GB free)
Process Argv --crash-reporter-id 7f2c363a-7fdc-44d0-857e-31ce929d2b30
Screen Reader no
VM 0%

Connection to 'ssh-remote+192.168.178.160' could not be established

Item Value
Remote SSH: nope
OS Linux x64 5.15.0-136-generic
CPUs Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz (4 x 800)
Memory (System) 15.56GB (11.62GB free)
VM 0%
Extensions (10)
Extension Author (truncated) Version
remote-ssh ms- 0.119.0
remote-ssh-edit ms- 0.87.0
remote-explorer ms- 0.4.3
debugpy ms- 2025.6.0
python ms- 2025.4.0
vscode-pylance ms- 2025.4.1
cpptools ms- 1.24.5
hexeditor ms- 1.11.1
makefile-tools ms- 0.12.17
rust-analyzer rus 0.3.2379
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
pythonrstrctxt:31112756
nativeloc1:31192215
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12cf:31262606
bgtreat:31268568
4gafe986:31271826
5b33h341:31253271
31787653:31262186
3e8i5726:31271747
996jf627:31283433
7bj51361:31283001
747dc170:31275177
aj496949:31278748
aj953862:31281341

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions