We’ve noticed an issue with all our Juce Mac RTAS plugins that have the JucePlugin_EditorRequiresKeyboardFocus flag set to 1. After clicking in our plugin main view, all command keys are passed properly to Pro Tools except the command-Q key. What’s odd is that you can watch the Pro Tools ‘Quit’ command light up when you press the keys, but nothing happens. If you issue another valid Pro Tools key command such as ‘space’ or ‘down arrow’ first, command-Q works as expected. Probably related is the fact that clicking in the header area in the plug-in’s parent window requires command-Q to be pressed twice before it works.
I found that command-Q does not hit the ‘keyPressed’ method in the wrapper, but all other key commands I’ve tried do. I also tested our plug-in under windows and Ctrl-F4 works regardless of how the JucePlugin_EditorRequiresKeyboardFocus flag is set.
I downloaded Juce version 1.54.27 with IntroJucer and build the sample plugin after converting it to RTAS and it displays the same behavior. I believe this is the same under PT 7, 8, 9, and 10, although my current tests were done using PT 10.
Any ideas what may be going on?