vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Input cursor is stuck in one position and doesn't move

Open 2312469331 opened this issue 1 year ago • 8 comments

Type: Bug

Whenever I press Ctrl+C, the position of my current input cursor transforms into a narrow input box that can only display one character in width. All characters I input are confined to this one-character-wide input box. I have deleted all Ctrl+C shortcuts and disabled relevant plugins, but the issue persists.

VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z) OS version: Windows_NT x64 10.0.22635 Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i9-12900H (20 x 2918)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.71GB (21.59GB free)
Process Argv --crash-reporter-id ae02b800-12cb-47d8-9685-16301ffdd5c8
Screen Reader no
VM 44%
Extensions (1)
Extension Author (truncated) Version
vscode-language-pack-zh-hans MS- 1.96.2024121109
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624

2312469331 avatar Dec 25 '24 10:12 2312469331

https://github.com/user-attachments/assets/d8ab9050-95e2-41aa-b8fb-2cb0964fa124

2312469331 avatar Dec 26 '24 01:12 2312469331

I found that it was an issue with the Windows driver. I opened the Windows On-Screen Keyboard, typed a few characters, and then closed it. The problem went away after that.

2312469331 avatar Dec 26 '24 01:12 2312469331

+1 #237077

171h avatar Dec 30 '24 11:12 171h

This seems to be a problem of Sogou input method, I upgraded the input to the latest version and never encountered this problem again. However, it is quite surprising that an input method can cause this bug. Can this be fixed at the vscode level?

171h avatar Jan 06 '25 10:01 171h

@171h 不只是vscode,搜狗在windows所有输入框都出现了BUG,中文经常输入不出来,需要二次输入

2312469331 avatar Jan 06 '25 10:01 2312469331

@171h 不只是vscode,搜狗在windows所有输入框都出现了BUG,中文经常输入不出来,需要二次输入

是这样的,升级到最新版就好了

171h avatar Jan 06 '25 10:01 171h

@171h 手心,搜狗都出现了这个问题,我等了几个月了才修复

2312469331 avatar Jan 06 '25 11:01 2312469331

This bug appears again, which should not be the reason for the input method. see https://blog.csdn.net/alan16356/article/details/143787272

这个bug又出现了,应该不是输入法的原因。参见https://blog.csdn.net/alan16356/article/details/143787272

171h avatar Jan 15 '25 06:01 171h