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

Firefox Mobile + Gboard behaves poorly #5532

Open
edemaine opened this Issue Aug 16, 2018 · 4 comments

Comments

Projects
None yet
4 participants
@edemaine
Copy link

edemaine commented Aug 16, 2018

I reviewed the state of the latest CodeMirror on various Android browsers and keyboards. I found that my personal favorite combination, Chrome + SwiftKey, now works very well, so that's what I'll recommend to my users. I found some problems with Firefox and Gboard individually, and especially together. Here's one consistent reproduction sequence that might be helpful for debugging:

  • Load https://codemirror.net/demo/sublime.html
  • Tap right after a comma at the end of one of the lines (e.g. line 2)
  • Swipe a word like "hello" (without lifting your finger)
  • The cursor ends up to the left of "hello", instead of to the right of "hello" as it should.
  • Swiping another word like "world" puts that word before "hello" instead of "after"

@marijnh marijnh added the mobile label Aug 16, 2018

@KiddoKenshin

This comment has been minimized.

Copy link

KiddoKenshin commented Nov 2, 2018

Hello, is there any progress on this matter?
I found that any MultiByte-based Gboard, on both iOS and Android, performs weirdly due to it's word conversion.
Example, normallly はなし -> 話, however upon inputing な after は , the cursor resets in front of は , making it hard to input text.

No issue on PC though.

Edit: Happends on Mobile Chrome too

@adrianheine

This comment has been minimized.

Copy link
Contributor

adrianheine commented Nov 11, 2018

Did you try the version 6 demo? While CodeMirror 6 is far from usable, it is intended to fix issues like these.

@KiddoKenshin

This comment has been minimized.

Copy link

KiddoKenshin commented Nov 12, 2018

@adrianheine
Thank you for introducing version 6 :)
It solved word conversion issue, however the 1st multibyte letter on the line will reset the gboard input.

I understand is still far from completion, heres my experience at the moment.

By using the the はなし -> 話 example again,
I will need to type は, な, し in order to convert it to 話.
The current symptom is, if I try to input it on the beginning on the line, after inputing は,
gboard resets as it starts to input another word. (This do not happen in the middle of the line)

@adrianheine

This comment has been minimized.

Copy link
Contributor

adrianheine commented Nov 12, 2018

Thanks for trying out the demo! If you feel like it you could open an issue about your problem on https://github.com/codemirror/codemirror.next/issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment