Skip to content

Editor: Selecting text automatically calls copy #90222

@tomaszhlawiczka

Description

@tomaszhlawiczka

Issue Type: Bug

Selected text is always copied, even without coping it.

  1. Open any code file: jsx, bash script, scss etc
  2. Select text using a keyboard or a mouse (do not call copy, just select it)
  3. Paste system clipboard (ctrl+v) - pasted fragment is a previously selected text, but instead a explicitly copied content should be used

VS Code version: Code 1.42.0 (ae08d54, 2020-02-06T10:51:23.649Z)
OS version: Linux x64 5.4.18-gentoo
Remote OS version: Linux x64 4.15.0-76-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz (4 x 3806)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: unavailable_off
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 1, 1, 1
Memory (System) 31.31GB (24.10GB free)
Process Argv --no-sandbox
Screen Reader no
VM 0%
Item Value
Remote SSH: 192.168.207.3
OS Linux x64 4.15.0-76-generic
CPUs Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz (8 x 3792)
Memory (System) 39.29GB (11.67GB free)
VM 100%
Extensions (16)
Extension Author (truncated) Version
remote-ssh ms- 0.49.0
remote-ssh-edit ms- 0.49.0
material-icon-theme PKi 3.9.2
mako tom 0.2.0
yandex-translate air 1.0.5
Bookmarks ale 10.7.0
pgformatter bra 1.11.0
vscode-eslint dba 2.0.15
githistory don 0.4.17
gitlens eam 10.2.0
vscode-google-translate fun 1.4.2
todo-tree Gru 0.0.167
beautify Hoo 1.5.0
python ms- 2020.1.58038
sqltools mtx 0.21.6
vscode-extension-auto-import Nuc 1.4.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions