I'm on Arch Linux and use uinput to create key events. It works reliably for >12months in all applications and under all circumstances except in Firefox where som… (pročitajte više)
I'm on Arch Linux and use uinput to create key events. It works reliably for >12months in all applications and under all circumstances except in Firefox where some key events are skipped non-deterministically. My test case is:
in a text field, emit `<ctrl down>a<ctrl up>
123456789987654321<left>...<left>` with 9 times `<left>`. Sometimes a 9 is missing and sometimes the cursor is further to the right than expected.
This happens every 8th try or so, which is too frequent to not break the user experience.
What I have tried:
- multiple PCs (2 with this issue and 1 without)
- Troubleshoot Mode
- `window.onkeydown=(e)=>console.log(e)` (events are missing)
Since I've only ever seen repeated characters/keys disappear and never when writing manually, I would guess there is some kind of event cleanup algorithm kicking in. (the events are emitted without any delays)
I would really like to fix this issue because Firefox is my favorite browser. Any idea how to track it down?