If you redirect focus away from the NewtCanvas while holding a key down, you will lose the next "pressed" event. Easy to reproduce - happens 100%!
1. Focus your canvas
2. Press and hold CTRL (non-key repeat button)
3. Click away from the canvas focusing another window while holding CTRL
4. Release CTRL
5. Focus the canvas
6. Press and hold CTRL - Note that no input event was fired for keyPressed!!
7. Release CTRL - Only the release event comes through.
Expected: When you re-focus the canvas and press CTRL in steps 5 and 6, it should issue a keyPressed event
Note: I agree with the current functionality that it shouldn't issue the Release CTRL event when the focus is away from the window, but the press event should absolutely be issued!
NewtCanvas ? NewtCanvasAWT ?
Platform ? Since OSX uses AWT translated events ..
I have only tried it on Windows 7. It's a NewtCanvasAWT.