Problem with ComboBox when plugin is docked
Example attached is simplified from a real plugin that I am working on.
If I make the plugin of type Dock then the dropdown choices appear in the wrong place when the plugin is actually docked:
If I drag the plugin's UI outside of the main Musescore window then it works as expected:
What do I need to do to make it work when docked? I have tried it as a dialog plugin and it works properly but dialogs cannot be kept on top of the main Musescore window.
Here is the code for this example: