JUCE
JUCE copied to clipboard
[Bug]: showNativeMenu() coordinates are scaled wrong
Detailed steps on how to reproduce the bug
Call this code in the editor: getHostContext()->getContextMenuForParameter(SOME PARAMETER VALUE HERE)->showNativeMenu(getBounds().bottomRight());
The coordinates from getBounds().bottomRight() are correct, so the bug is somewhere in the showNativeMenu method
What is the expected behaviour?
Expected: Native menu opens at the bottom right corner. Reality: Native menu opens at the center of the plugin window
Operating systems
macOS
What versions of the operating systems?
Sonoma 14.0
Architectures
ARM
Stacktrace
No response
Plug-in formats (if applicable)
VST3
Plug-in host applications (DAWs) (if applicable)
FL Studio Build 3470
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