Hello I’m using GLFW-3.2.1 on Ubuntu 18.10 in VirtualBox and Windows10 as host and I’m getting phantom key presses.
I tried polling the keys as well as using the callback.
I have seen there has been such a problem in the past with X11 but that should be fixed in in the current version.
When I press the key short I get one press and two release events:
press, release, release
When I press the key longer (once), I get one press event and when I release it gives several press and release events for even seconds:
press,… release, press, release, press … release
When I run Ubuntu 14 naively the problem is not that bad with the delayed key events, but still there are 2 release events.
The event test runs fine no double events, not even in the Virtual Machine.
The comment on git says it happens when the rendering takes some time, like it does in my case.
I guess the event test can do the event polling faster or something.
When I take everything out of the main loop except the event polling I get, no matter how long I press, only this: PRESS, RELEASE, RELEASE (one release too much).
When I keep the rendering, I get the longer I press the more alternating PRESS, RELEASE times X I get (multiple presses despite it’s only one long).