-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Right clicking in WebView causes crash #1376
Comments
Thank you for reporting. This issue has been fixed as part of |
This is great thanks, just tried on JUCE 8, all appears to be working well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Detailed steps on how to reproduce the bug
Right clicking on an embedded
juce::WebBrowserComponent
inside Logic repeatedly is causing the plugin to crash with Logic presenting the "An Audio Unit plug-in reported a problem...." error. The first time right clicking the view causing the popup menu to appear has in my testing not caused any crashes, however seemingly unpredictably right clicking multiple times is causing the crash (right clicking elements that create larger context menus e.g. an image seem to more reliably crash). I am unable to replicate the same behaviour in Reaper.I initially started seeing this issue setting up a plugin templated based around the Choc WebView. Seemingly when pulling my JUCE version back to 7.0.5 (same version used in the SRVB project) from 7.0.11 the issue is gone. Everything is okay up to the commit WebBrowserComponent: MacOS: Add accessibility integration / d8c282e . I noticed NSAccessibility quite a bit in the backtrace as well so am wondering if they are related.
I was able to re-create the error using this minimal example, I am happy to create a repo with a full project causing this issue if that would be helpful,
What is the expected behaviour?
Right clicking within a WebView multiple times should not cause a crash.
Operating systems
macOS
What versions of the operating systems?
M3 MacBook Pro running 14.1 (23B2073)
Architectures
ARM
Stacktrace
Plug-in formats (if applicable)
AU
Plug-in host applications (DAWs) (if applicable)
Logic 10.8.1
Testing on the
develop
branchThe bug is present on the
develop
branchCode of Conduct
The text was updated successfully, but these errors were encountered: