-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
Repeating input #986
Comments
confirmed here. same issue. |
Gould you specify? What happens? Do some buttons rapid-fire when you hold them? |
Nope, that's definitely a bug, one which I am absolutely not able to reproduce though. Now as you opened an issue for this, could you specify:
Thanks in advance for answering these points, this would help me much in finding the culprit for this nasty bug! |
i think the bug is only with delete and arrow keys. |
can confirm. it is mainly the back/delete key. also i often have to doubleclick to get numbers row and shift / unshift. sometimes it does not go back after capital and stays locked in capital without really being locked in caps. oh man, i hope what i just wrote makes sense and is understandable. |
@zer0fl0w So you click on the delete key once and it just keeps deleting? |
sometimes (rare), but in most situations it happens after pressing 2 or more times. i eventually pause between first and following clicks/taps, like slow and not doubleclick, but it randomly still fires the constant backspace. i also have the feeling that it is sometimes app-dependend. it often feels like the settings in windows where you can set if you want to open links/folders with single- or doubleclick. at least for shift, numberkey and enter. i think it started with beta02, not sure tho. |
I can confirm this, I have noticed it happening on delete-key. Really annoying. |
I've noticed that this happens often in the web browser, when web site is loading and at the same time i'm typing a new address. Also on other situations where the OS/CPU seems to be processing something. |
Some times the delete button get stuck |
That shows exactly what happens. For me, It seems to hang sometimes even after one click of backspace button. Could this be related to the overall performance of the device (I have pretty old Nokia 5.1) @patrickgold ? |
Just wanted to +1 this on the backspace key to delete text. In my case it happens when I hold the key to delete two or three words. Then it will delete a few more than it should and it actually feels as if there is some kind of lag. Like when you have a CPU heavy task running and confirm a dialog and it takes a couple of seconds until the confirmation is recognized by the system. |
@josephbadow If you're using version v0.3.12 (the newest non-beta version), your problem may be connected to #883. |
@Glitchy-Tozier Dang, looks like I didn't search properly 🙈 #883 looks a lot more related to my issue. Thanks for the heads up. |
Just wanted to chime in and say I'm getting the same issue with the delete key. Usually happens if I'm alternating between swyping and tapping to tap and need to delete something, but it seems pretty random |
This bug is happen when you typing fast and when you tap on the Delete button at the end of a paragraph i think that appears after version 3.10 and newer versions till now. |
I managed to actively reproduce this error on my device:
It looks like the 'key up' for the backspace key is not getting registered when a lot of resources are being used. |
@ElishaAz Thanks for your comment I got a few ideas how to reproduce the bug and I am finally able to reproduce it :) So it seems that this bug is dependent how busy FlorisBoard is and how much your device CPU can handle at once. Because of this I cannot reproduce the bug on my physical OnePlus 7T, even not for 10MB text files. The good thing is I also have access to other physical devices, which are a lot weaker. The first one I tried was the Samsung Galaxy A20e - and bingo it worked (and lagged a lot with the 2 MB text!). I reproduced this in the Samsung Notes app, where I pasted 100kB of data 20 times, so the app you use isn't that much important. For me it is most consistently reproducible when quickly double-tapping delete in text fields with a lot of data. As I can now finally reproduce the bug (at least for one option), I can start go debugging and fixing the bug. |
Ok after some quick debugging it seems the keyboard logic eats the second |
Above PR is a draft fix for the repeating input bug. It would be very helpful for me if some of you could install the debug artifact of the PR to check if the bug has been fixed (the debug version installs separately and won't affect your main installation). On my Samsung device I wasn't able to reproduce the bug anymore, but this alone is not enough to validate if this bug has been fixed. Thanks in advance! |
It's fine now if i found it happening again i will let you know. |
I've merged #1147 into master. The fix for the repeating input will thus be in the beta09 release, which will be published either tomorrow or on Sunday. Thanks all for reporting and helping out to fix this bug! |
Short description
Clicked once, repeated until pressed again. Is this a new feature?
Steps to reproduce
Environment information
The text was updated successfully, but these errors were encountered: