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 on Windows 10 (nih-plug-egui) #154

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

Keyboard Input broken on Windows 10 (nih-plug-egui) #154

nat3Github opened this issue Jun 15, 2024 · 1 comment

Comments

@nat3Github
Copy link

nat3Github commented Jun 15, 2024

Keyboard Input doesnt work in windows 10. (probably never has)
tested with windows 10, newest nihplug, standalone, and nihplug-egui.

probably doesnt work with any editor because the issue comes from baseview.
here is the baseview issue RustAudio/baseview#192

@nat3Github
Copy link
Author

nat3Github commented Jun 18, 2024

apparently this is due to the parented window (where the plug-in editor lives) not beeing focused in windows.

so this is less the responsibility of baseview/nih-plug and more of baseview-egui/nih-plug-egui.

calling the focus() method on the parented window handle (in baseview-egui) fixes this behavior (as pointed out by DRACONIUM https://discord.com/channels/590254806208217089/630166269169238026/1248114299189067889).

i guess at least in standalone the parented window should always be focused because there is no other window there.

@nat3Github nat3Github changed the title Keyboard Input broken on Windows 10 Keyboard Input broken on Windows 10 (nih-plug-egui) Jun 18, 2024
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