[Bug]: showNativeMenu() coordinates are scaled wrong
EemilAhonen opened this issue · comments
Eemil "Keisari" Ahonen commented
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
- I agree to follow the Code of Conduct