typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

Cursor moves into YAML front matter when typing with MS Pinyin

Open lynzrand opened this issue 5 years ago • 13 comments

Observed in v0.9.85 (beta). Windows version: Build 19569.

Steps to reproduce:

  1. Use MS Pinyin or Microsoft Japanese IME as input method.

  2. Create a Typora document with YAML front matter.

  3. Type one letter in document body. The cursor behaves normal.

图片

  1. Type another letter, the cursor suddenly moves into front matter.

图片

Notes

This problem does not always occur. From my experience, it only happens after the YAML front matter is created and one has not focused any other window after that (e.g. switch to a web browser and switch back).

This issue wasn't observed in v0.9.83.

lynzrand avatar Feb 29 '20 03:02 lynzrand

Here's a gif showing the issue.

typora

lynzrand avatar Feb 29 '20 03:02 lynzrand

should be fixed

abnerlee avatar Dec 14 '20 03:12 abnerlee

should be fixed

But it remains. Typora version: 0.10.7 Windows: Windows 10 20H2

error

varm avatar May 08 '21 07:05 varm

fixed in 1.3.6

abnerlee avatar Jun 12 '22 04:06 abnerlee

fixed in 1.3.6

The problem still exists if YAML front matter is more than two lines or opening a file. Version 1.2.5

I'm using a theme that requires front matter to work, and every time I edit the title the cursor jumps. So I hope this to be completely solved.

FrankSFLYS avatar Jul 25 '22 03:07 FrankSFLYS

I have tried versions 1.3.8 and 1.3.3-dev, it still exists.

FrankSFLYS avatar Jul 25 '22 03:07 FrankSFLYS

I have switched to Version 1.3.6 and it still remains. 😭I'm using Windows 11 and MS Pinyin.

FrankSFLYS avatar Jul 25 '22 03:07 FrankSFLYS

问题依旧存在 当前版本为1.5.9

hundan2020 avatar Mar 14 '23 18:03 hundan2020

Problem remains on version 1.6.7 on Windows 11

yuanzhouxue avatar Jun 01 '23 07:06 yuanzhouxue

Problem remains on version 1.8.10 on Windows 11

NipGeihou avatar Apr 23 '24 03:04 NipGeihou

原来这是个远古问题了,蚌埠住了,现在都1.8.1啦,问题还是存在!

walterke1001 avatar Jun 10 '24 18:06 walterke1001