Hi, Fred Kiefer wrote:
My impression is that you are looking in the wrong spot for your problem. Normally one would only use the values from a key pressed to insert text anywhere. So the current behaviour here, though somewhat strange, should yield the expected results. What you should focus on is, what ‚keys‘ value gets set in th event and how is it treated later in the application.
While I think you are right, since KeyPressed is important.... fixing that with a hack works for me and fixes everything.
To track this and be clearer, I opened bug #49 and also a PR with the code. I tried the code also on Linux and it looks to work
Riccardo