-
-
Notifications
You must be signed in to change notification settings - Fork 378
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
Shift doesn't work when writing fast #227
Comments
Thanks for the report! This has something to do with my effort to cancel out invalid double-press actions I introduced in v0.3.4. I will look into it. |
Almost suspected that. I couldn't find the old bug however |
Relevant issue for double-press bug: #170 |
This bug really annoys me: all the great work of #1822 with reworking and fixing soo much and this little bug here continues to survive all my extermination attempts. The main problem is that the shift key is the only key to do its thing on down instead of up, which messes up the order if shift follows another key immediately. |
One thing that might help you when testing is that speed does not even play a role.
Edit: Why does the shift-key need to get activated on key-down? |
Thanks for the hint, that's true and I also noticed that today while working on another shift issue. You can even try it out in the latest beta: Make sure the keyboard is normally shifted (either manually or auto-capitalization). Then press two character keys at once. Only one gets printed. If you press two character keys without a shift change, both get printed correctly. This is a really spicy bug now xD
Because else the UI does not update quickly enough and due to the fact that with the latest progress in #1832 you can now hold shift and type uppercase only while pressed, then it goes back to lowercase (like the real shift key on PC). This needs caps lock on shift long press to be disabled though in the prefs, else you end up with caps lock after releasing your finger. |
Above two commits should™ fix the issue. I tested this quite a lot, with fast typing, slow typing, pressing shift and a key at once in different apps and in different order/speed and it never ignored the shift. This fix will be released in 0.3.16-beta02. Issue will auto-close when linked PR is merged, we can re-open if really necessary after IRL testing after the beta release. Thanks again for reporting! |
|
By adding a
No, this issue is attached to #1832 and will close itself when I merge it in. |
|
Environment information
Steps to reproduce
(Mainly happens to me with
delete&space → shift
, but it can also happen with letters and enter)The text was updated successfully, but these errors were encountered: