Skip to content
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

Copy and Paste not working #68330

Closed
Chieze-Franklin opened this issue Feb 9, 2019 · 8 comments
Closed

Copy and Paste not working #68330

Chieze-Franklin opened this issue Feb 9, 2019 · 8 comments
Assignees
Labels
info-needed Issue requires more information from poster macos Issues with VS Code on MAC/OS X

Comments

@Chieze-Franklin
Copy link

Issue Type: Bug

When I copy a text and paste it, the text I copied is not pasted. Instead, the one I wanted the replace with the copied text is pasted, as if I never even did any copy and paste. Now I'm forced to type everything out because paste is not working.

VS Code version: Code 1.30.2 (61122f8, 2019-01-07T22:48:31.260Z)
OS version: Darwin x64 16.7.0

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 16.00GB (0.65GB free)
Process Argv -psn_0_45067
Screen Reader no
VM 0%
Extensions (8)
Extension Author (truncated) Version
vscode-eslint dba 1.8.0
learning-extension-vscode dev 1.2.0
gc-excelviewer Gra 2.1.28
docthis joe 0.7.1
dotenv mik 1.0.1
csharp ms- 1.17.1
addDocComments ste 0.0.8
open-in-browser tec 2.0.0
@vscodebot
Copy link

vscodebot bot commented Feb 9, 2019

@kieferrm
Copy link
Member

I can't reproduce. Can you please check that Copy and Paste are correctly bound to your shortcut? Please use the Code > Preferences > Keyboard Shortcuts menu.

@kieferrm
Copy link
Member

/needsMoreInfo

@vscodebot vscodebot bot added the info-needed Issue requires more information from poster label Feb 10, 2019
@vscodebot
Copy link

vscodebot bot commented Feb 10, 2019

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

Happy Coding!

@alexdima alexdima added the macos Issues with VS Code on MAC/OS X label Feb 11, 2019
@rebornix rebornix self-assigned this Feb 11, 2019
@sonicfly
Copy link

sonicfly commented Mar 1, 2019

I have the same issue on VSCode Version 1.31.1 (1.31.1) 1b8e830 2019-02-12T02:10:22.500Z

Seems the problem is related to after key press of "Cmd+c" shortcut, VSCode will still be waiting for more key input, and some other key press may cause it missing the "copy" trigger.

The easiest way to reproduce is

  1. Select a text, e.g. "ABCD", Cmd+c to copy
  2. Select another text, e.g. "CDEF", quickly do Cmd+c, Cmd+f and Cmd+v (hold the Cmd key, press "c", "f", "v" keys in sequence)
  3. You will see the "ABCD" in search dialog instead of "CDEF"

Another scenario to prove the VSCode is waiting for more input:

  1. Select a text, e.g. "ABCD"
  2. Quickly input Cmd+c, Cmd+v and Cmd+v (hold the Cmd key, press "c", "v", "v" keys in sequence)
  3. You will notice the ABCD only get pasted once, instead of twice as expected; and there is obvious stuck after first Cmd+v key press.

@alexdima
Copy link
Member

@sonicfly Can you please try to disable all extensions? Can you also try to check your keybindings around "cmd+c" ? e.g.

keyboard-conflicts

@vscodebot vscodebot bot closed this as completed Apr 8, 2019
@vscodebot
Copy link

vscodebot bot commented Apr 8, 2019

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!

@sonicfly
Copy link

sonicfly commented Apr 9, 2019

Seems the vscodevim plug-in causes the problem. Disable it and it is all good.

@vscodebot vscodebot bot locked and limited conversation to collaborators May 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster macos Issues with VS Code on MAC/OS X
Projects
None yet
Development

No branches or pull requests

5 participants