-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug] Text input problems: cursor jumps around, spaces are removed, characters are duplicated #4208
Comments
interesting... have you tried clearing the apps cache? |
Which keyboard do you use? Which Android version? And have you tried it with a current Nightly build? Your build is outdated. I can't reproduce with HTC U11 / Android 8.0 / TouchPal keyboard. |
I've tried it with Samsung Keyboard, Gboard, SwiftKey and Fleksy as well as Google Keyboard (old version of Gboard which is frankly faster). My build was outdated and after having updated, I'm still able to repro. Did you type that comment with your setup you mentioned? @cadeyrn I typed the issue with my setup and it was super painful. I'm typing this comment on a desktop tho |
Not that comment but I typed a lot of other comments with my smartphone and without any problems. Since there are not much more reports like this it looks like not many people are affected. So let's hope that someone from Mozilla can reproduce with one of their devices. :) |
@Poopooracoocoo are you able to reproduce in Reference Browser? What about Focus with GV disabled 🤔 |
@cpeterso Since this is also happening in Focus it looks like it could be GV related? |
Writing is not so slow for me but selecting text with double tap or doing sth like this is a real pain. |
@hakkikaancaliskan I have the same issues with selecting text. Are you sure that your typing is not like what I said above? Which keyboard? |
I'm sure, no problem on typing but editing is painful. Same on Gboard and Swiftkey. |
Since this problem affects Fenix and Focus+GV, I filed a new GV bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1569007 This definitely sounds like a keyboard or IME problem. @Poopooracoocoo - Can you reproduce the problem in Firefox 68 for Android? Is this problem reproducible in every web page with a text field? https://play.google.com/store/apps/details?id=org.mozilla.firefox |
I'm not sure whether it's a problem in every text field but it certainly happens in GitHub text fields such as username/email, feature request/bug/issues and comments. It doesn't happen in the password field but I'm not typing full sentences in the password field so it's hard to confirm. I typed that comment on a desktop but retyped it on Fennec 68. I had no issues except for my own spelling errors :P I noticed that compared to Fenix and Focus, typing in Fennec and other apps is faster too. I didn't think speed would be part of the issue as well. |
Hooray! I no longer have this issue! I'm not sure what happened. I still have text selection issues though |
Is there a Fenix bug filed for your text selection issues? |
@cpeterso arfggggggghhhhhhhghhh I'm now having those issues again in Focus. I bet this still happens in Fenix. I don't think there's an issue for those test selection issues. |
OK. I'll reopen the corresponding GeckoView bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1569007#c2 |
@Poopooracoocoo - Focus has an old version of GeckoView. Can you please check whether the latest Fenix version still works on your device? |
I can confirm it happens to me, i have a fairly old phone which might be the culprit, Samsung Galaxy S2 (using LineageOS 14). But the problem doesn't happen in every webpage, i noticed it in particular using twitter.com, every tweet i write is a pain!
Same here. It looks like the browser cannot keep up with the typing speed |
@rekotc - Which Fenix version are you testing? Do you also seen this typing problem in Firefox for Android (Fennec 68)? |
I've noticed that when this happens, the keyboard (Gboard in my case) will not have caught up with the browser (fenix and focus). I think that it's not the keyboards fault and that Fenix/Focus aren't telling the keyboard in time. Back to my point, the keyboard's suggestions will be rather late and sometimes not appear at all. Typing passwords is still normal. |
I experienced the cursor issues on different web pages, but it does not occur always – so it is hard to reproduce.
Other weird stuff happens, when trying to select and replace text... Fenix version: 87.0.0-rc.1 (Build #2015799099) |
@makotokato The use case I encountered (Zooniverse talk pages) is resolved with current Fenix Nightly, with GV version 89.0a1 |
@makotokato did it ever land? Is there a possibility that this will be fixed anytime soon? |
https://bugzilla.mozilla.org/show_bug.cgi?id=1672095 is already merged on Firefox 84+. I need exactly reproduce step since I cannot reproduce original issue. |
i don't understand how you're trying to reproduce this? this happens in every text input field which has JavaScript helpers for completion or editing gitea's default input field is unusable. fortunately, it's on the way out: go-gitea/gitea#15394 There's public instances of these things, you can just try it out |
@makotokato I've seen this issue in the past, and recently have started running into other cases where typing on the keyboard causes the caret to jump somewhere else and then the characters get entered at that new location (which obviously is not where I want them to go). It's not reliably reproducible but happens to me at least once a week, and once it gets into that state it's hard to clear. Are there prefs/logging I can turn on and collect that would help you with this? |
I have also been seeing this over the past month or so. Today I saw it with the phone number field on https://register.moen.com. |
As a data point, the phone number field on https://register.moen.com worked in my setup.
Firefox Nightly build info:
|
@staktrace @kevinlyles |
I can confirm that I'm using Gboard |
I'm not using gboard and I see similar issue in my bank's website. This occurs on Samsung Galaxy J7 2017 stock keyboard, and Xiaomi Redmi 6 also stock keyboard. I'm not sure if this is the same issue. |
I hope that some issues will be fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1713588. |
See: #17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I believe this issue has not been fixed yet. |
No, the problem certainly hasn't been solved. |
Your issue is another issue. I guess that this site uses Ace editor, If you can reproduce this on https://ace.c9.io/, please tell me about your environment (Your Android version, software keyboard such as GBoard). |
While I still have a lot of problems with the text entry experience in GeckoView, it's finally acceptable!! It looks like no work has been done here for a while though. Hopefully priorities will change around here. We can't quite close this issue yet. :( Currently using Gboard on a Samsung Galaxy S20 running Android 11. I'm so glad that I no longer pull my hair out when writing comments like these. Thanks Makoto. Selection and cursor manipulation is another area that could do with some attention. |
See: #17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Makotokato resolved several major issues with cursor placement and text insertion in rich text fields. There may still be some problems but are best addressed as separate bugs reported at https://bugzilla.mozilla.org/enter_bug.cgi?product=Geckoview&component=IME including the website and keyboard that you are using. |
Steps to reproduce
Expected behavior
cursor won't jump, letters will stay in place, spaces won't be removed and parts won't be duplicated
Actual behavior
all of the above happens :(
Info
Also reproducible in Firefox Focus with GeckoView
I've noticed that typing incredibly slow avoids the issue.
Device information
📦: 3.0.0
🦎: 68.0-20190612114833
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: