Skip to content

Unable to paste using either context menu, or keyboard shortcuts #246995

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

Open
drazisil opened this issue Apr 20, 2025 · 0 comments
Open

Unable to paste using either context menu, or keyboard shortcuts #246995

drazisil opened this issue Apr 20, 2025 · 0 comments
Assignees

Comments

@drazisil
Copy link

Type: Bug

Paste works in other apps. Copy from vscode to other apps works. Paste to vscode from other app does not work.

Here is my trace log, as suggested by #127729 (comment)

2025-04-19 21:37:13.433 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event
2025-04-19 21:37:13.433 [info] [Window] [KeybindingService]: \ Keyboard event cannot be dispatched
2025-04-19 21:37:13.433 [info] [Window] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 17, key: Control
2025-04-19 21:37:13.433 [info] [Window] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: ControlLeft, keyCode: 5 ('Ctrl')
2025-04-19 21:37:13.433 [info] [Window] [KeybindingService]: \ Keyboard event cannot be dispatched in keydown phase.
2025-04-19 21:37:14.511 [info] [Window] [KeybindingService]: / Soft dispatching keyboard event
2025-04-19 21:37:14.511 [info] [Window] [KeybindingService]: | Resolving ctrl+[KeyV]
2025-04-19 21:37:14.511 [info] [Window] [KeybindingService]: \ From 2 keybinding entries, matched editor.action.clipboardPasteAction, when: no when condition, source: built-in.
2025-04-19 21:37:14.511 [info] [Window] [KeybindingService]: / Received  keydown event - modifiers: [ctrl], code: KeyV, keyCode: 86, key: v
2025-04-19 21:37:14.511 [info] [Window] [KeybindingService]: | Converted keydown event - modifiers: [ctrl], code: KeyV, keyCode: 52 ('V')
2025-04-19 21:37:14.511 [info] [Window] [KeybindingService]: | Resolving ctrl+[KeyV]
2025-04-19 21:37:14.511 [info] [Window] [KeybindingService]: \ From 2 keybinding entries, matched editor.action.clipboardPasteAction, when: no when condition, source: built-in.
2025-04-19 21:37:14.512 [trace] [Window] KeybindingService#dispatch Ctrl+V [ Will dispatch command editor.action.clipboardPasteAction ]
2025-04-19 21:37:14.512 [info] [Window] [KeybindingService]: + Invoking command editor.action.clipboardPasteAction.
2025-04-19 21:37:14.512 [trace] [Window] CommandService#executeCommand editor.action.clipboardPasteAction
2025-04-19 21:37:14.512 [trace] [Window] Executing Command 'editor.action.clipboardPasteAction' which has 6 bound.
2025-04-19 21:37:14.515 [trace] [Window] Command 'editor.action.clipboardPasteAction' was handled by 'code-editor'.
2025-04-19 21:37:14.567 [trace] [Window] CommandService#executeCommand _setContext
2025-04-19 21:37:14.567 [trace] [Window] CommandService#executeCommand _setContext
2025-04-19 21:37:14.567 [trace] [Window] CommandService#executeCommand _setContext
2025-04-19 21:37:14.568 [trace] [Window] CommandService#executeCommand _setContext
2025-04-19 21:37:14.568 [trace] [Window] CommandService#executeCommand _setContext
2025-04-19 21:37:14.568 [trace] [Window] CommandService#executeCommand _setContext
2025-04-19 21:37:14.568 [trace] [Window] CommandService#executeCommand _setContext
2025-04-19 21:37:14.569 [trace] [Window] CommandService#executeCommand _setContext
2025-04-19 21:37:14.569 [trace] [Window] CommandService#executeCommand _setContext
2025-04-19 21:37:14.569 [trace] [Window] CommandService#executeCommand _setContextc

Amusingly enough, ctrl+v works fine with the exact same selection on this reporting dialog

VS Code version: Code 1.99.3 (17baf84, 2025-04-15T23:18:46.076Z)
OS version: Linux x64 6.11.0-24-generic
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 5800X 8-Core Processor (16 x 4200)
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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Load (avg) 1, 1, 1
Memory (System) 15.53GB (10.65GB free)
Process Argv --crash-reporter-id 7efe44e8-14f9-4f69-82d2-d83cfc19f5ac
Screen Reader no
VM 0%
DESKTOP_SESSION plasma
XDG_CURRENT_DESKTOP KDE
XDG_SESSION_DESKTOP KDE
XDG_SESSION_TYPE wayland
Extensions (13)
Extension Author (truncated) Version
npm-intellisense chr 1.4.5
vscode-eslint dba 3.0.10
EditorConfig Edi 0.17.2
prettier-vscode esb 11.0.0
copilot Git 1.303.0
copilot-chat Git 0.26.5
rest-client hum 0.25.1
dotenv mik 1.0.1
vscode-docker ms- 1.29.5
remote-containers ms- 0.411.0
vscode-jest Ort 6.4.0
vscode-yaml red 1.17.0
JavaScriptSnippets xab 1.8.0
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
pythonrstrctxt:31112756
nativeloc2:31192216
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
31787653:31262186
3e8i5726:31271747
996jf627:31283433
usemplatestapi:31288272
7bj51361:31289155
747dc170:31275177
g20af354:31278749
aj953862:31281341

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants