JUCE
JUCE copied to clipboard
[Bug]: Keyboard events not coming through after editor has been resized in Logic Pro X ARM
Detailed steps on how to reproduce the bug
- create a new plugin with a basic JUCE slider and a button that resizes the plugin window via
setSize() - build universal AU and open it in Logic Pro X 10.6.3 - 10.7.3 in M1 native mode (not Rosetta)
- open the UI and type something into the slider's value box -> observe it working
- click on the button to change the size of the UI
- type something into the slider's value box -> now nothing happens in the text box, keyboard events instead trigger actions in Logic
this happens at least with JUCE versions 6.0.3 - 6.1.6
this doesn't happen when launching Logic in Rosetta mode
What is the expected behaviour?
keyboard events should work as they did before resizing the plug-in UI
Operating systems
macOS
What versions of the operating systems?
12.3 using a Mac with an M1 processor
Architectures
ARM
Stacktrace
No response
Plug-in formats (if applicable)
AU
Plug-in host applications (DAWs) (if applicable)
Logic Pro X 10.6.3 - 10.7.3 (at least)
Testing on the develop branch
I have not tested against the develop branch
Code of Conduct
- [X] I agree to follow the Code of Conduct
Are you sure this is a JUCE issue? Did you try non-JUCE plug-ins (not Logic built-in)
We've seen similar behaviors where the window isn't focused (white border) on Apple silicon (as logic uses sandboxing on Apple silicon only).
@talaviram at least FabFilter's Pro-Q3 seems to work even after resizing it
This looks to be a bug on Apple's side: https://forum.juce.com/t/bug-m1-apple-silicon-keyboard-focus-lost-permanently-in-logic-when-plugin-is-resized/51292