Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard Input broken in parented Window - Windows 10 #192

Closed
nat3Github opened this issue Jun 15, 2024 · 1 comment
Closed

Keyboard Input broken in parented Window - Windows 10 #192

nat3Github opened this issue Jun 15, 2024 · 1 comment

Comments

@nat3Github
Copy link

nat3Github commented Jun 15, 2024

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. robbert-vdh/nih-plug#154

@nat3Github
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant