This is reproducible using the JUCE Plugin Host…
Using the Waves Abbey Road demos - VST or VST3…
Using
DocumentWindow::setContentOwned()
You’ll notice that there are 2 title bars if you use the JUCE TitleBar - the top one is a dumb copy and the lower TitleBar is active…
If you close and re-open the plug-in… oddly enough it shows correctly…
the issue, I believe, is caused by the fact that Waves builds their toolbar late… after DocumentWindow has resized itself correctly.
Here’s a video which shows the issue in my plug-in…
I’m using a Native TitleBar with a custom menu (see DocumentWindow setContentOwned VST) – and as you can see the menu gets drawn twice.
Thanks,
Rail
