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

Copying and pasting long strings into command line fails #63613

Closed
roa-nyx opened this issue Nov 21, 2018 · 3 comments
Closed

Copying and pasting long strings into command line fails #63613

roa-nyx opened this issue Nov 21, 2018 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) terminal Integrated terminal issues

Comments

@roa-nyx
Copy link

roa-nyx commented Nov 21, 2018

Issue Type: Bug

Not sure if maybe this is unsupported? I feel there is good support for the Terminal in general including copy and paste support.

However today I noticed that some of my strings refused to copy into the terminal and the only difference I can find is that these strings are longer then the ones that work.

The string in question is of length 1587 and fails to paste (right-click, ctrl+v, double right-click > paste... all do nothing, terminal behaves as if no action taken).

So I set about testing this real quick.

The following is a list of lengths I tried and whether the paste action worked in the terminal. Each of the strings are constructed of "1234567890" repeated/truncated however many times are necessary.

100: Paste worked
500: Paste worked
1000: Paste worked
2000: Paste does not work
1500: Paste worked
1750: Paste does not work
1580: Paste does not work
1550: Paste worked
1570: Paste does not work
1560: Paste worked
1565: Paste worked
1568: Paste worked
1569: Paste does not work

It seem like if the length of the string is 1569 characters long or longer it fails to paste. I also tried to copy a string of length 1569 to notepad first and then to the terminal from there (to strip out any strangeness/alternative data-types, etc).

This happens with extensions disabled as well.

VS Code version: Code 1.29.1 (bc24f98, 2018-11-15T19:13:36.375Z)
OS version: Windows_NT x64 6.1.7601

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (4 x 2808)
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: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 31.63GB (18.27GB free)
Process Argv C:_projs\OverKlock\CM
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
calculate aca 2.1.0
vscode-diff fab 1.3.6
code-beautifier mic 2.1.0
csharp ms- 1.17.1
@vscodebot
Copy link

vscodebot bot commented Nov 21, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@vscodebot vscodebot bot added the terminal Integrated terminal issues label Nov 21, 2018
@roa-nyx
Copy link
Author

roa-nyx commented Nov 21, 2018

Also, minor additional mention: All of these strings appear to work in the regular windows command line outside of VS Code.

Please let me know if I can provide any additional details to get this resolved.

@Tyriar
Copy link
Member

Tyriar commented Nov 30, 2018

Looks like the same root cause as #38137

@Tyriar Tyriar closed this as completed Nov 30, 2018
@Tyriar Tyriar added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 30, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) terminal Integrated terminal issues
Projects
None yet
Development

No branches or pull requests

2 participants