-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
First character is lowercase if typing quickly after sending a message on WhatsApp or similar apps #994
Comments
Seems similar to #664 |
Possibly there is some delay in the text field forwarding the update (clearing text or changed cursor position) to the keyboard. Does this happen anywhere else? I'd prefer having a way of reproducing this without having to install / register WhatsApp. |
Happens in Discord Signal Telegram Any messaging app as far as I've tested |
I was only able to reproduce this a single time, but not when logging necessary stuff in debug mode... Anyway, the selection update from clearing the text and related (correct) shift update happens before restarting the input. Sometimes the input connection (to the text field) is lost, maybe that's related to your problem. Could be that the key press event is processed and shift is disabled, but the event / input doesn't make it to the text field due to no connection. |
It's very easily reproducible for me. Of note, it doesn't happen with other keyboards. |
screen-20240725-153710.mp4Here's a demo, with another keyboard at end (floris) |
I managed to reliably reproduce it with a modified input field, and it does happen in a bunch of keyboards. Of the ones I tested, only Gboard and FlorisBoard did not have this issue. |
Well FlorisBoard wuz the only other I tested. The point of it was taking away blame from the app for the bug. |
The fix caused other more frequent issues, so I have to revert it. How to reproduce: have an input field that clears the text e.g. when the text contains |
Describe the bug
If you send a message on a messaging app, signal or WhatsApp, and then immediately start typing after it sends, the first character will be lowercase. Works fine if delayed slightly.
To Reproduce
Send any message
Start typing as soon as possible after sending
Expected behavior
New line has a capital first character
App version
2.1
Device:
The text was updated successfully, but these errors were encountered: