-
Notifications
You must be signed in to change notification settings - Fork 225
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
Backspace won't work in Termux #1178
Comments
@gitterrost4 the backspace hack is failing in more apps. |
Anyway, I am fine (though a bit saddened because of google chat) with reverting it if it causes too much trouble. |
One thing I noticed in Florisboard is that they fall back on "emulating a hardware backspace" in certain cases. There seem to be two kinds of editors on android: Rich editors and raw editors. The latter seem to need the hardware key emulation. But I can understand if you don't want to go through another loop of fixes and yet more cases here. |
As I mentioned earlier, it was working after removing the DEL event method in the previous version. I haven't tested other apps, but I suspect it may fail in apps with a null type keyboard mode (IME). Perhaps you could consider adding DEL event sending when the thumb-key cannot retrieve text or something similar. |
Could anyone please open, create, or link the issue for the google chat app hijacking backspace? Because IMO this is an app-specific issue. Every keyboard should not have to build hacks for a few broken apps. |
To be fair, the android developer reference discourages sending keyevents:
(This is written from the perspective of the receiving side of these events, but the discouragement still stands)
I cannot find a public issue tracker for issues with google chat. Is there such a thing? |
I think that's for app development, not IMEs, which makes sense, only the IME should be sending key events. Really its google chat not following that guideline and hijacking these that's causing problems. I found this: https://issuetracker.google.com/issues/new , you can filter by component and it will take you to that app. I don't think google chat exists anymore tho, its called google meet now? No idea. |
For now, I'm going to revert the backspace hack, bc it might be causing problems with a lot more apps than we know about. ppl can use an earlier version for now if they're having issues with broken apps like google chat, until they link issues and get them solved in those apps themselves. |
I tested the PR I just merged, and it does fix it for termux, so I guess I'll close this one, and re-open #1065 |
Steps to reproduce
Expected behavior
Letters should be removed normally
Actual behavior
Nothing happens after pressing backspace key
version of the program
4.0.7
Android version
Android 14
Device
POCO M3
Other details
I guess this was working fine on v4.0.6 with the new backspace implementation
Acknowledgements
The text was updated successfully, but these errors were encountered: