Automattic / simplenote-electron

Simplenote for Web, Windows, and Linux
https://app.simplenote.com
GNU General Public License v2.0
4.69k stars 553 forks source link

IME issues starting in 2.1 or 2.2: Japanese, Korean, Chinese; Windows only? #2522

Open ivoryguard opened 3 years ago

ivoryguard commented 3 years ago

Maintainer Edit:

We have multiple issues of problems with IME input with various languages. I'm updating this issue to be used as a parent issue for all of them in hopes of tracking down the root cause of the problem.

In addition to this report (Korean) we also have reports of IME issues in Japanese (#2416, #2501, #2502) and Chinese (#2534).

Original report below:

Inserting Korean characters does not work expectedly at Simplenote for Windows 2.2.0

I suspect that it may be realted to between Windows Korean IME and Electron.

The issue did not occur at the previous version (v2.0.0 and v2.1.0)

Observed

Typing Korean text after switching to Korean IME mode not work.

Reproduced

  1. Open Simplenote and add a new note.
  2. Enter Korean text. IME Preview control is shown at the top-left of the screen.
  3. Korean text seems to be added.
  4. Switch to other windows by pressing alt-tab
  5. Switch to Simplenote window by pressing alt-tab
  6. Enter Korean text again.
  7. Only some parts of text are added or whole inputs are ignored.

Where did you see the bug

msilbers commented 3 years ago

also reported internally in #3565596-zen with video attached

haydnhkim commented 3 years ago

I have the same problem on macOS.

reginabally commented 3 years ago

Another report in 3591028-zen.

I live in Korea and use most of the notes in Korean alphabet and the words keep being eaten up on the PC version. For example, if I try to type ‘있었으니 예상하지 못할 것도 아니었다.’, it turns out like this ‘있었니 ㅏㅇ하지 ㅗㅅ할 ㅓㅅ도 ㅣ었’ And when that happens, the backspace, space, and enter key doesn’t work. It only occurs to Korean alphabet and on simplenote app.

lithroller commented 3 years ago

The same, 2.2 and 2.3 on Windows 10 (Chinese and English version)

alex7899 commented 3 years ago

Same question from 2.3, In simplenote 2.30, Simplified Chinese input produces a serious error, please fix it! The details of the error are shown on youtube.

https://youtu.be/PQFMCkAVIT8

athletik commented 3 years ago

Not only for CJK input; in international keyboard layout for American English there exhibits exactly the same problem.

reginabally commented 3 years ago

Originally reported in 3570000-zen. Follow up details in 3603494-zen with a screen recording.

I am using the lastest version of the Windows app from the Microsoft store. And, there's a huge problem in typing in Korean. The letter I type rewrites the previous letters, so I cannot complete a syllable or a word in your app. It does not occur everytime, but quite frequently.

OS: Windows 10 Version 2004 Build 19041.685 App version: Version 2.2.0 (downloaded from Microsoft Store)

Another report on the web app when we asked if they can replicate it on the web app:

When I stroke the period key once, the web app prints out two period marks. It only happens when the input language is Korean, and does not happen when I change the language into English.

poojashetty18 commented 3 years ago

Another report in 3598633-zen with video attached

I can't input Japanese text. When I type characters, only one character is displayed, and then the caret stops moving. If I click somewhere else and then go back, the caret works again, but It doesn't solve the problem of not being able to type. I guess that this is a common problem with double-byte characters.

jongpill commented 3 years ago

i use korean. and i got same problem above all. i cant solve this matter. i use laptop, and Simplenote from window store. pls help us

codebykat commented 3 years ago

We have better repro steps over at paFIJd-g3-p2 !

pachlava commented 3 years ago

User reporting same in 3636698-zen. Video file is attached to ticket.

I use Simplenote native app on my Windows machine (The version is 2.2.0).

It looks like when I use Japanese characters on my notes, I'm having some troubles like below:

  • Previously inputted character disappears
  • Backspace and Enter doesn't work

...

wpericam commented 3 years ago

Another report in 3638596-zen

First, answer your question.

1. I'm using Simplenote on my phone and PC. Problems occur when using a PC.
2. My PC's OS is windows 10, x64bits.
3. Simplenote app version is version 2.2.0.

When using in Korean, there is a problem that the text cannot be entered and deleted.
eduardozulian commented 3 years ago

Another report in 3727279-zen

On the ticket there is a video showing the issue.

supertsy5 commented 3 years ago

I use Simplenote 2.6.0 on Ubuntu 20.04 LTS. Sometimes Simplenote freezes when I type Chinese characters in a note.

ChrissiePollock commented 3 years ago

3742315-zen

Desktop:

Mobile phone:

erricgunawan commented 3 years ago

3794879-zen

not always but often, when I type with Microsoft Chinese Pinyin Input, it is like that somebody press "Enter" key once between every 2 or 3 letters (for Pinyin Input, I usually type about 20 letter of a phrase and then use number keys and space/enter to choose Chinese characters). I'm sure my keyboard works normally, and this problem doesn't appear in other apps such as MS Office or SPSS.

Device Info:

gan-lin commented 3 years ago

For me the problem disappeared after upgrading to 2.7.0 on Windows 10 20H2 and Ubuntu 20.04.

codebykat commented 3 years ago

It is very possible that at least some of these issues were fixed in 2.7.0 by #2611. If there are new reports of this please first update to 2.7.0 and then comment here with reproduction steps so we can figure out what's still broken. Thanks!

pachlava commented 3 years ago

Testing on 2.8.0-beta2 shows that at least several scenarios related to line duplication are not reproducible anymore. If the root cause for all similar issues is the same, we can assume that it's fixed. paFIJd-g3-p2#comment-737

All participants are very welcomed to check the latest version.

cereby commented 3 years ago

Enter Korean text. IME Preview control is shown at the top-left of the screen.

2.8.0-beta2 reproduces this however in Japanese, on Windows 10 2004.

pachlava commented 3 years ago

This GH issue is huge and describes multiple problems, some of them might be of different cause.

1 IME Preview control is shown at the top-left of the screen. 2 Impossible to enter anything at all 3 Entered characters are duplicated 4 Unexpected line breaks 5 Duplication of whole note content in case of certain characters typing, like

While 2.8.0-beta2 seemingly addressed the issues 3, 4 and 5, there are issues that still remain:

1 IME preview control can be shown at the top left, instead of being located right next to cursor 2 The case of impossibility to enter anything at all (occurs for me in conjunction with issue 1 only).

Video for both cases:

https://user-images.githubusercontent.com/73365754/111291706-215a3e00-8650-11eb-9d5d-d54a72b9e95f.mov

eduardozulian commented 3 years ago

Another report in 3820595-zen

codebykat commented 3 years ago

The upper-left corner issue appears to be this one, unfortunately closed as stale: https://github.com/electron/electron/issues/4539

I think we're not on the most recent Electron, so we could try an update and see if it gets us anywhere.

I'm also keeping an eye on Monaco/VSCode repos, which have many IME issues reported, e.g. https://github.com/microsoft/vscode/labels/editor-input-IME

junsan99 commented 3 years ago

Is this include deep issue? Can't update from 2.1 for a while. Maybe mostly Japanease environment are same situation.

eduardozulian commented 2 years ago

Another report in 4202381-zen:

mdrockwell commented 2 years ago

Another report in 4547073-zd-woothemes:

erricgunawan commented 1 year ago

Chinese characters are not properly displayed. (See the underlined character below)

Screenshot:
![gf6Op006p50ftgA8](https://user-images.githubusercontent.com/1813857/203238288-5f82ab77-611d-4f29-917a-0d0cd78590e3.png)

I am using version 2.10.0 (snap) on ubuntu 20.04. After writing some text, I found that some chinese characters are too thin or too fat. See this screenshot for example.

from the picture you can see that the font of simple note is improperly displaying. Some writing is old fashioned, some is depreciated and so on.

I am wondering if you can just use "system default" font for non-English characters. Or offer an option to change font displayed.

From 5704649-zen