Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.48k stars 170 forks source link

Text cursor wont follow keyboard press in "untitled" documents #5463

Closed k-basara closed 5 months ago

k-basara commented 5 months ago
  1. start the program
  2. type or paste some text in "untitled1"
  3. press and hold the left or right arrow key on keyboard
  4. the text cursor will freeze but not follow the key press
  5. once key is released, the cursor will appears somewhere looks like it supposed to be
  6. this doesn't happen if open an already saved file
Alexey-T commented 5 months ago

Can you copy/paste the info from 'Help/About' window?

What OS and Desktop?

k-basara commented 5 months ago

Can you copy/paste the info from 'Help/About' window?

What OS and Desktop?

I'm using Windows 10.
Here is the About info:
CudaText 1.212.1.4, win64-x86_64-win32, fpc 3.2.3

CudaText-addons commented 5 months ago

so caret stops moving during left/right pressing? I cannot confirm it on Win10. during left/right arrow hold, caret is moving. it is not blinking though, but it is moving.

did you test on CLEAN Cud?

k-basara commented 5 months ago

Okay, looks like this is a device specific problem? I can't reproduce this on my home pc which also runs the same version of Windows.

Alexey-T commented 5 months ago

Yes, it does.

Alexey-T commented 5 months ago

Try to open settings/user.json , and add option:

  "ui_buffered": false,

Or do it via 'Plugins / Options Editor Lite'.

k-basara commented 5 months ago

Try to open settings/user.json , and add option:

  "ui_buffered": false,

Or do it via 'Plugins / Options Editor Lite'.

Unfortunately this doesn't work, even worse, text behind the cursor starts flickering when cursor is moving when set ui_buffered to false.

Alexey-T commented 5 months ago

closing. seems the bug is hardware dependant (or driver dependant).