Skip to content
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

Keys being dropped #27

Open
Beyley opened this issue Apr 12, 2022 · 1 comment
Open

Keys being dropped #27

Beyley opened this issue Apr 12, 2022 · 1 comment

Comments

@Beyley
Copy link

Beyley commented Apr 12, 2022

OS: Arch Linux x86_64

I have an application that takes in a chord of keypresses and outputs an according character using XGrabKey/XUngrabKey/XQueryKeymap, when trying to use Desktop.Robot to type the characters, sometimes chars i type just dont appear, i make sure to ungrab all my keys before running it, and doing XSync and XFlush before and after running Robot.KeyPress, and yet even though the codepath is definitely being run, i get no key output sometimes

Video showcase of the bug

Project source code

@Beyley
Copy link
Author

Beyley commented Apr 12, 2022

Hm, after some more testing, the issue goes away if i make the chord go off when no keys are held anymore instead of when the first key stops being held, not sure who is at fault here then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant