Closed nat3Github closed 4 weeks ago
apparently this is expected behavior. if the window is focused the parented windows receives key events.
the difference comes from ubuntu-linux focusing the parented window when hovering over it and windows 10 does not do this.
I ran the test (https://github.com/RustAudio/baseview/blob/master/examples/open_parented.rs)
when hovering over normal window: in windows 10 WSL => logs Parent: KeyEvent in normal windows 10 => logs Parent: KeyEvent
when hovering over parented window: in windows 10 WSL => logs CHILD: KeyEvent in normal windows 10 => logs PARENT: KeyEvent
because of this key events are also broken in nih-plug on windows 10. https://github.com/robbert-vdh/nih-plug/issues/154