Hey all, so I’ve ran in to some issues when Logics Midi Keyboard is active, and JUCE plugins lose their keyboard focus. I recorded a video, I think the it will probably make for a better explanation than me…
I wouldn’t trust Logic’s native plug-ins to not be doing something hacky behind the scenes, but the rest of your list is quite convincing. I’ll have a look.
OK, I’ve dug through the code but it looks like JUCE is doing things right. If you stick a breakpoint in
Label::showEditor()
then you’ll see that we’re calling
editor->grabKeyboardFocus()
which should do what we want. Unfortunately Logic has a rich history of mishandling key events and it’s likely that other plug-in manufacturers have worked around it. If you have any joy with using grabKeyboardFocus somewhere else then please share, but I’m not hopeful.