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

Last word of wide character (Chinese/Japanese/Korean) isn't sent #5495

Closed
eunchan opened this issue Nov 1, 2017 · 9 comments
Closed

Last word of wide character (Chinese/Japanese/Korean) isn't sent #5495

eunchan opened this issue Nov 1, 2017 · 9 comments
Labels
P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Z-Upstream

Comments

@eunchan
Copy link

eunchan commented Nov 1, 2017

Description

If user types CJK sentence and press enter to send the text, last word won't be transmitted to the server.

Steps to reproduce

  • Change to any CJK input method
  • Type any sentence with a space between words.
  • Press 'Enter' key while writing CJK word (period or space makes word complete so it will transmit the word)

Version information

  • Platform: web (in-browser) or desktop both

For the web app:

  • Browser: Chrome, Safari tested
  • OS: macOS
  • URL: riot.im/develop / riot.im/app / somewhere else? If a private server, what version of riot-web?

For the desktop app:

  • OS: macOS
  • Version: 0.12.7
@lampholder
Copy link
Member

I haven't been able to reproduce this yet - I tried the pinyin - simplified input on macos and Microsoft Pinyin on windows and had a similar experience on both:

image

Pressing enter will kill the character selector and leave the roman characters in the composer, but it doesn't send anything without pressing enter again (and then it sends the mostly-completed Chinese sentence with just the last syllable un-transliterated).

I guess this problem is at least partially dependent on the input method being used - can you advise which one were you using when you experienced this problem?

@lampholder lampholder added T-Defect X-Cannot-Reproduce S-Major Severely degrades major functionality or product features, with no satisfactory workaround P1 labels Nov 2, 2017
@eunchan
Copy link
Author

eunchan commented Nov 2, 2017

riot 2017-11-02 10-35-59

Thanks for the reply. I've tried macOS default korean input method and also other 3rd party input method. Both shows same. As you see on the screenshot, I've tried put the full sentence but it was only sent without last word. I've seen the similar issue on other Electron app (VSCode) but that time, the only last character was not sent not the whole last word.

@eunchan
Copy link
Author

eunchan commented Nov 2, 2017

riot_koreaninputissue

Maybe this GIF might useful.

@turt2live
Copy link
Member

@eunchan are you still seeing this on recent Riot versions (0.17 and higher)?

@turt2live turt2live added X-Needs-Info This issue is blocked awaiting information from the reporter type:composer labels Oct 31, 2018
@turt2live turt2live self-assigned this Oct 31, 2018
@eunchan
Copy link
Author

eunchan commented Nov 1, 2018 via email

@aaronraimist
Copy link
Collaborator

@turt2live Unfortunately there appears to be a pretty significant upstream bug in Slate that is worse than this issue.

Wrong:
riot

Wrong:
slate

Correct:
github_correct

@aaronraimist
Copy link
Collaborator

@turt2live I assume someone is going to write a bunch of tests for all of these input bugs?

@turt2live turt2live added Z-Upstream and removed X-Cannot-Reproduce X-Needs-Info This issue is blocked awaiting information from the reporter labels Nov 1, 2018
@turt2live
Copy link
Member

@turt2live I assume someone is going to write a bunch of tests for all of these input bugs?

First step is figuring out what all the root causes are, then determining if they are upstream issues (like this one), then fixing, then maybe tests. It's incredibly difficult to write tests for the thousands of different ways to type a message though.

@turt2live turt2live removed their assignment Nov 5, 2018
@turt2live
Copy link
Member

Closing in favour of #7665 to track the upstream issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Z-Upstream
Projects
None yet
Development

No branches or pull requests

4 participants