Desktop.Robot icon indicating copy to clipboard operation
Desktop.Robot copied to clipboard

Keys being dropped

Open Beyley opened this issue 2 years ago • 1 comments

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 avatar Apr 12 '22 06:04 Beyley

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

Beyley avatar Apr 12 '22 08:04 Beyley