Skip to content

Context-Menu COPY is not working in vscode webview, BUT ctrl+c is working fine #141080

@soumasar010322

Description

@soumasar010322

Issue Type: Bug

Use Case 1:

  1. Install an extension that uses a Webview (Oracle Developer Tool for VS Code)
  2. Connect to a Database
  3. Run any SELECT query
  4. In Result Tab, we can see the SQL Query that we just ran + Query Result
  5. Select the SQL Query Text >> Right Click >> COPY
  6. Paste in any text editor

Expected Result: Text is getting copied to text editor
Actual Result: Text is not getting copied to text editor

Use Case 2:

  1. Install an extension that uses a Webview (Oracle Developer Tool for VS Code)
  2. Connect to a Database
  3. Run any SELECT query
  4. In Result Tab, we can see the SQL Query that we just ran + Query Result
  5. Select the SQL Query Text >> Press Ctrl+C
  6. Paste in any text editor

Expected Result: Text is getting copied to text editor
Actual Result: Text is getting copied to text editor

VS Code version: Code 1.63.2 (899d46d, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.18363
Restricted Mode: No

System Info
Item Value
CPUs Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS) (2 x 2693)
GPU Status 2d_canvas: unavailable_software
gpu_compositing: disabled_software
multiple_raster_threads: disabled_off
oop_rasterization: disabled_off
opengl: disabled_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) undefined
Memory (System) 14.65GB (8.33GB free)
Process Argv . --crash-reporter-id 699fa828-d5c2-42a4-95b5-df472e05dbaf
Screen Reader no
VM 0%
Extensions (1)
Extension Author (truncated) Version
oracledevtools Ora 21.3.0
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30422343
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30424896
pythonvs932:30410667
vscop804:30404766
vscop453:30404998
vsrem710cf:30416617

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeededwebviewWebview issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions