Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux note editor: Korean consonants and vowels represented separately #745

Closed
pauljacobson opened this issue Apr 9, 2018 · 6 comments
Closed
Labels
bug Something isn't working i18n All things Internationalization [OS] linux

Comments

@pauljacobson
Copy link

This issue was raised in 1040852-zen

Steps to reproduce

  1. The user installed Simplenote for Linux using the simplenote-linux-1.1.3.deb package
  2. Latin characters are rendered correctly.
  3. Korean characters are not rendered correctly (user's explanation below).

What I expected

For Korean characters to be rendered correctly.

What happened instead

From the user's report:

I downloaded the simplenote package from the website.
(simplenote-linux-1.1.3.deb)
I installed the app on my ubuntu os successfully.

Everything is find except typing non-english character.
When I try to type Korean character, it typed weirdly.

For example, I would like to type "한글", but it typed "한ㄱㅡㄹ" on the editor. The problem is consonants and vowels are inputted separately.

To input Korean character, I'm using IBusHangul package and my keyboard layout is Hangul keyboard Dubeolsik.

OS version

To be confirmed.

Related issues

These issues appear to be related:

#561

#560

@pauljacobson pauljacobson added bug Something isn't working [OS] linux labels Apr 9, 2018
@mirka mirka added the i18n All things Internationalization label Sep 22, 2018
@streetcleaner
Copy link

When I try to add a tag in Korean, one stroke produces two characters.
2018-09-23 07-02-22

I guess it's related to this issue.
I'm using Simplenote 1.1.7 on Ubuntu 18.04.

@mirka
Copy link
Member

mirka commented Nov 9, 2018

I confirmed this issue on Ubuntu 18, Simplenote v1.2.1. Typing the key sequence gksrmf seems to produce the characters 한글 in Text Editor, Firefox, etc., but this fails in Simplenote. Japanese is working fine. I would like to know if Chinese is working.

Also, this does not happen on Windows or Mac.

@mirka
Copy link
Member

mirka commented Nov 9, 2018

When I try to add a tag in Korean, one stroke produces two characters.

@rumahrumah Thanks for the report! This is a different issue and will hopefully be fixed in #999.

@nemonein
Copy link

I tested 1.3.4 on KDE Neon(Kubuntu 18.04 based Disto).
Kubuntu's default input system(for Far east Asian languages) is fcitx. I used fcitx and fcitx-hangul(Korean engine).

I can't say it works fine.
simplenote-20181220

In the gif, the first paragraph shows the right text, and I retype it on the second paragraph.
As you can see, there's some lagging(?) at the beginning of the each line. Those are not my typo.

However, it does not happen when I use other input system, Nimf.
I have not tried with iBus, etc.

I don't know why this happens. I don't even know who is responsible for this.
All I can say is, fcitx is a 'default' input system for Kubuntu, and Nimf is not mainly used.

@palindrom615
Copy link

I guess I have found the cause of bug! It seems that the bug does not come from simplenote-electron itself but draft-js and electron.

I have reproduced the bug with electron and draft-js only.

my own reproduction of bug

I will report this bug on draft-js repo and contribute if I can.

@mirka
Copy link
Member

mirka commented Feb 5, 2019

Thank you so much for looking into this @palindrom615. Seems like this probably can only be addressed in either DraftJS or Chromium itself. There are some nasty interactions between CJK composition and contenteditable and DraftJS 😭 (Like this one: #1171)

@mirka mirka closed this as completed Feb 5, 2019
@mirka mirka removed the help wanted label Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working i18n All things Internationalization [OS] linux
Projects
None yet
Development

No branches or pull requests

5 participants