Skip to content

Dragging text doesn't work when cursor is off-center #126644

@Hadakajime

Description

@Hadakajime

Issue Type: Bug

If the text cursor is not perfectly centered on a line of highlighted text, then it fails to drag it. Instead, nothing happens at all.
Image attached of the position of the cursor where click-dragging is ineffective.

20210618_153013

VS Code version: Code 1.56.2 (054a929, 2021-05-12T16:45:26.313Z)
OS version: Linux x64 5.11.0-7614-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2200)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 2
Memory (System) 31.09GB (1.74GB free)
Process Argv --no-sandbox --unity-launch --crash-reporter-id eb1c688b-c4e3-4232-85a1-c01025d91995
Screen Reader no
VM 0%
DESKTOP_SESSION pop
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP pop
XDG_SESSION_TYPE x11
Extensions (18)
Extension Author (truncated) Version
vscode-apollo apo 1.19.3
bracket-pair-colorizer-2 Coe 0.2.1
vscode-eslint dba 2.1.20
gitlens eam 11.4.1
prettier-vscode esb 6.4.0
restore-terminals Eth 1.1.6
vscode-firefox-debug fir 2.9.4
gauge get 0.0.20
vscode-docker ms- 1.13.0
remote-containers ms- 0.177.2
vsliveshare ms- 1.0.4419
vsliveshare-audio ms- 0.1.91
vsliveshare-pack ms- 0.4.0
vetur oct 0.34.1
prisma Pri 2.25.0
indenticator Sir 0.7.0
language-stylus sys 1.11.0
vscodeintellicode Vis 1.2.14
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833cf:30267465
pythonptprofiler:30281270
vshan820:30294714
vscorecescf:30290706
pythondataviewer:30285071
vscus158:30286553
vscgsv2:30307504
vscorehov:30309549
vscod805:30301674
binariesv517:30312825

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugeditor-renderingEditor rendering issueslinuxIssues with VS Code on Linux

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions