microsoft / vscode

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

Unable to copy .ipynb cell output to clipboard #137553

Closed p-i- closed 2 years ago

p-i- commented 3 years ago

Issue Type: Bug

Create a .ipynb notebook

Create a cell that outputs 'foo':

print('foo')

Now double click the output and CMD+c (mac).

Now try CMD+v into another cell.

It didn't copy the text.

If I just select the word 'foo' it DOES work, however.

VS Code version: Code 1.62.2 (3a6960b964327f0e3882ce18fcebd07ed191b316, 2021-11-11T20:59:05.913Z) OS version: Darwin x64 20.6.0 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz (8 x 2700)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|2, 3, 3| |Memory (System)|16.00GB (0.33GB free)| |Process Argv|--crash-reporter-id 208511c2-dba0-4576-b4d0-606dd0e49428| |Screen Reader|no| |VM|0%|
Extensions (31) Extension|Author (truncated)|Version ---|---|--- rtf|ale|2.4.0 bracket-pair-colorizer-2|Coe|0.2.1 dart-code|Dar|3.28.0 flutter|Dar|3.28.0 es7-react-js-snippets|dsz|3.1.1 gitlens|eam|11.7.0 php-debug|fel|1.22.0 go|gol|0.29.0 lldb-vscode|lan|0.2.3 vscode-docker|ms-|1.18.0 vscode-kubernetes-tools|ms-|1.3.4 python|ms-|2021.11.1422169775 vscode-pylance|ms-|2021.11.2 jupyter|ms-|2021.10.1101450599 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.3 remote-containers|ms-|0.205.2 cmake-tools|ms-|1.9.1 cpptools|ms-|1.7.1 terraform-advanced-syntax-highlighting|pjm|1.4.0 java|red|1.0.0 vscode-commons|red|0.0.6 vscode-yaml|red|1.2.0 LiveServer|rit|5.6.1 cmake|twx|0.0.17 vscode-lldb|vad|1.6.10 vscode-java-debug|vsc|0.36.0 vscode-java-dependency|vsc|0.18.8 vscode-java-pack|vsc|0.18.6 vscode-java-test|vsc|0.32.0 debug|web|0.25.1
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 pythontb:30283811 pythonvspyt551cf:30345471 pythonptprofiler:30281270 vsdfh931:30280409 vshan820:30294714 vstes263cf:30335440 vscoreces:30384385 pythondataviewer:30285071 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 dockerwalkthru:30377721 bridge0723:30353136 pythonrunftest32:30373476 pythonf5test824:30373475 javagetstartedt:30391933 pythonvspyt187:30373474 vsqsis300:30402085 vsaa593:30376534 vssld246:30401890 ```
rebornix commented 3 years ago

@p-i- can you please run "Toggle Notebook Clipboard Troubleshooting" from command palette and then reproduce the bug and share the log with us?

p-i- commented 3 years ago

It's intermittent. Unable to reproduce today. I'll write back next time it hits.

p-i- commented 2 years ago

huh. Now it's working. There's definitely still an issue here... just yesterday I was having trouble copy-pasting from a cell output. Don't close the issue just yet.

vscodenpa commented 2 years ago

Hey @rebornix, this issue might need further attention.

@p-i-, you can help us out by closing this issue if the problem no longer exists, or adding more information.