Juce 1.53, running a plugin within JUCE plugin host.
When I launch a CallOutBox with enterModalState in OSX, the title bar of the plugin window is grabbable and allows the plugin window to be moved during the time that the CallOutBox is visible. The CallOutBox does not mimic this movement, though. This means that the CallOutBox is no longer positioned correctly against the rest of the GUI. Is there a way to synchronize the movement of the CallOutBox to match that of the window with the target?
The only kludge I’ve been able to come up with is to have a timer callback which checks the position of the parent window’s componentpeer and then reposition the calloutbox if the parent window has moved. This involved making a custom version of calloutbox, so that I could simply change the targetPoint position without doing a full call to updatePosition() (which looks to do a new layout of the calloutbox from scratch, not guaranteeing that the arrow will come off the calloutbox at the same point as the original layout).
Does a better solution exist?