nih-plug icon indicating copy to clipboard operation
nih-plug copied to clipboard

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

Open nat3Github opened this issue 1 year ago • 1 comments

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 https://github.com/RustAudio/baseview/issues/192

nat3Github avatar Jun 15 '24 17:06 nat3Github

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 avatar Jun 18 '24 11:06 nat3Github