ubuntu-touch
ubuntu-touch copied to clipboard
Keyboard disappears after after each typed character
Description of the feature
Illustrations
- Device: hammerhead
- Channel: RC
- Build:
Steps to reproduce
Use on-screen keyboard frequently. Observe that disappears after each typed character, especially in the browser.
Expected behavior
keyboard stays visible until I type CR or dismiss it.
Actual behavior
see above...??? (redundant section???)
Logfiles and additional information
Description of the feature is actually for feature requests so you can remove it since I can see that this is a bug report. Illustrations should be removed as well but the device details should stay. Expected behavior should describe what's supposed to happen and the Actual behavior should describe what's actually happening which is usually the incorrect behavior. Steps to reproduce should contain the actual steps, usually numbered, and not necessarily describe the result. Anyway, enough of my review points on your bug report :wink:
In any case, I think I've encountered this issue but I can't remember what triggers it and when it happens. But I do remember it happening on the browser in a certain website.
Thanks for the review ;-). It happened yesterday entering text into a text field in system settings. So it is not limited to the browser. Still I do not know what triggers it or how it can be reproduced. Yesterday, it appeared when I was half way typing the string. So I could enter the first half, and then suddenly the keyboard disappeared and kept doing so after each typed character.
I've been meaning to file a bug report about this for a while. I've been encountering this bug quite frequently on the Messaging app (device: BQ Aquaris E4.5 channel: Stable) on OTA-9 and OTA-10.
I have been unable to reproduce it reliably, it seems completely random.
It is as described: at some point when typing a message the keyboard will disappear. It is then only possible to finish the message (very slowly) by entering one character at a time, with the keyboard disappearing after each character.
I can honestly say I've never seen this occur. If someone could find a set of steps to get it to happen reliably, we'll probably be able to fix it pretty quickly.
I'll do my very best. The bug appears to manifest itself with a certain probability, but as you try pinning it down the more erratic it gets. I believe this has been termed a Heisenbug. https://en.m.wikipedia.org/wiki/Heisenbug
I still can't get it to happen reliably. One other thing I've noticed is that when it happens, I can delete several characters then type them in again without the keyboard disappearing. When I get back to the character that initially caused the keyboard to disappear, it once again disappears!
@UniversalSuperBox would posting any logfiles help?
Interesting. That might mean it is related to the length of the string. Do text entry fields have something like an "expected input length"?
In general: What events cause the keyboard to disappear?
- a place outside a text entry field is tapped
- ... what else?
I have problems with the keyboard on edge, it sometimes disappears (but not on every character), and then I just have a white area of nothing, and I need to change back and forth to another App to ge a keyboard again. Mostly noted on TELEports, but thats because thats the app where I type most probably
occured for me on messaging-app and morph as well on edge
It occurs to me exactly as @james-lyon described: I'm entering a sentence, then suddenly with the first letter of a word, the keyboard disappears. I can then wait for it to reappear, enter another letter, and it disappears again, until I finish the word and press space. Then I continue my text message.
So it looks like the problem is about some specific words. To me, it is the autocomplete which is the problem. I guess the beginning of the word leads to a crash during the guessing of the words.
^ The autocomplete crash sounds like a possible cause. I have noticed that if I delete the letter that first causes the keyboard to disappear, I can enter a different letter with no problems.
And it is always upon typing the first letter of a word that the keyboard initially disappears.
Where can I find the keyboard autocomplete logs?
.cache/upstart/maliit-server.log
?
Does anyone know a word to type which triggers the bug?
-- Dr. Rüdiger Kupper Forststr. 3 72250 Freudenstadt
it happens randomly, so hard to reproduce.
Next time it happens to me, I'll write the sentence to reproduce.
I think I found a sure way to replicate this issue although it only happens when pressing the backspace or enter key. It happens to me whenever I'm composing an email in ProtonMail and I'm in the email body field. It's in a webapp and I haven't tried in Morph.
So I just reproduced it on my FP2 running devel
in the SMS app. The sentence I was entering was Tu remontes quand et comment ?
with the french keyboard. I was only able to enter Tu remontes quand et c
and starting from that point, the keyboard disappears for each letter of comment
. So it disappeared when I entered the c
, then I refocused the input and the keyboard reappeared, then I entered the o
and the keyboard disappeared again, etc.
Here was I have in maliit-server.log
:
maliit-server: smoothedNgramPredictor.cpp:315: virtual Prediction SmoothedNgramPredictor::predict(size_t, const char**) const: Assertion `numerator <= denominator' failed.
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
WARNING: void MIMPluginManagerPrivate::_q_setActiveSubView(const QString&, Maliit::HandlerState) "libubuntu-keyboard-plugin.so" "fr" is not enabled
Not sure it is very useful. I'm still having the bug under my eyes right now so I'll wait 10 minutes before sending the message if anyone wants me to test anything. Please ping me here or on telegram.
Are you able to reproduce it with this sentence?
Me? Yes I still reproduce the bug with that specific sentence.
@ruedigerkupper if you were talking to me, yes, I still reproduce it. Do you want me to grep
anything anywhere?
I think this can be closed no ? @Flaburgan
Why? As said, I still reproduce it with that very specific sentence (and also others). Do you have any news?
Oh i confused with another issue. Still don't reproduce here (N5), have you played with keyboard settings ?
here is my settings:
I have this issue on a OnePlus One device running the RC channel (currently 2020-W33).
In my case it is actually 2 separate issues:
- In messaging (SMS), I cannot reliably reproduce, the OSK disappears while typing, and it is near impossible to get it back; sometimes putting the app in the background and returning to it works, most of the time I have to quit the app and launch it again
- Reliably on created webapps, for example I created my own webapp for Fastmail (using Webber I think). When typing either Enter or Backspace, the OSK closes. In this case, tapping in the text entry area makes the OSK reappear.
I confirm that the second problem @normandc describes (keyboard disappears upon backspace) appears always and reproducibly in at least one web app I use.
Just had this today while writing a sms
I think this is a separate issue from the issue when the keyboard sometimes won't come up in text fields in non-web apps. This issue specifically happens on some webapps when pressing certain keys.
Don't have it since a while, is it closeable ?