vscode: Cannot paste according to universal cllipboard between Macos and iPados

Issue Type: Bug

I copy some text from my iPad, but it cannot be pasted as text in vscode editor. It works well on other software, even included this issue reporter editor. When I enter command+V, it will be pasted as a filename, ex. 1f19fe3c07ded61345e32403b9328fe608185ed2.rtfd.

VS Code version: Code 1.68.1 (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-14T12:48:37.209Z) OS version: Darwin arm64 21.6.0 Restricted Mode: No

System Info
Item Value
CPUs Apple M1 (8 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 2, 2
Memory (System) 8.00GB (0.10GB free)
Process Argv –disable-extensions --crash-reporter-id 3b3c379f-df66-4361-8b00-8fc2b9436051
Screen Reader no
VM 0%
Extensions disabled
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411cf:30557515
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vscaac:30438847
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
i497e931:30553904
pyindex848cf:30577861
40g7c324:30573242

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 12
  • Comments: 19 (2 by maintainers)

Most upvoted comments

Same issue

The issue still persists. We can easily reproduce it by copying text from Fireox on iPhone, and pasting it into Visual Studio Code on macOS.

Version: 1.84.1 Commit: 2b35e1e6d88f1ce073683991d1eff5284a32690f

macOS: Sonoma 14.1

Still an issue. copy text from Safari on iphone , and paste it into VS Code editor on MacOS

vscode ver: 1.83.0 commit: e7e037083ff4455cf320e344325dacb480062c3c

MacOS: Sonoma 14.0


Furthermore, I have noticed a similar issue when attempting to paste text from Safari on an iPhone into Notion using the macOS Edge browser. the text is mistakenly recognized as a file and triggers the upload operation.