JUCE
JUCE copied to clipboard
[Bug]: Webview keyboard events are not handled correctly using AU in Ableton Live
Detailed steps on how to reproduce the bug
Create an AU plugin project with projucer Put a webview in it, load a website with a text field Launch the AU in Ableton Live 12
- Try to paste into the text field using keyboard shortcuts. Note copy/paste does not work.
- Try to receive keyboard events for up/down arrows. Note up/down arrow keyboard events do not make it into the webview.
Note the VST3 wrapper works as expected.
Example project:
https://github.com/colinsullivan/juce-webview-simple/tree/601729f9b7490d48413435e6db184db27ee794e9
See related issue: https://github.com/juce-framework/JUCE/issues/1515
AU:
https://github.com/user-attachments/assets/b688186a-d98d-44c5-9bc7-399528864af8
https://github.com/user-attachments/assets/59da7dea-a811-46a8-8801-7ab565e535f2
VST3:
https://github.com/user-attachments/assets/2774ac18-c668-4198-90e8-911a630223c3
https://github.com/user-attachments/assets/e5965267-86e3-4d68-af43-e966fa85ede2
What is the expected behaviour?
Copy/paste into text field is possible when a text field is focused in a webview. Up/down arrow keyboard events can be used by the webview.
Operating systems
macOS
What versions of the operating systems?
Ventura 13.6.3 Sonoma 14.4.1 Sequioa 15.1.1
Architectures
Arm64/aarch64
Stacktrace
N/A
Plug-in formats (if applicable)
AU
Plug-in host applications (DAWs) (if applicable)
Ableton Live 12
Testing on the develop branch
The bug is present on the develop branch
Code of Conduct
- [x] I agree to follow the Code of Conduct