Ok, I know what's the problem. Your window contains an editor control, which is focused and eats the key presses. This is an issue, the editor should only eat the keys it can handle and pass the other ones back to the window. I'm adding it to my todo list.