Hi,
when VSTs on OS X get resized shortly after creation, the plugin GUI is displaced to the host window (see attached png). This only happens with 32-bit VSTs and it doesn’t seem to happen when loading the plugin the first time (but also after reopening the GUI). I was able to reproduce this behavior with a modified JuceDemoPlugin’s GUI. I attached the .h/.cpp files as zip (actually .pdf as the forum won’t allow .zip file attachments; please rename after downloading). All it does is resize the GUI randomly in the first timer callback.
This occurs in Reaper and Studio One but not in Cubase. As it happens only with 32-bit VSTs I assume that the resize while initiating the GUI might mess up the Carbon GUI overlay.
Any ideas how this can be fixed?
Is it maybe possible to force the GUI to use Cocoa or are there still hosts out there that need Carbon?
Our plugin’s size depends on the plugin’s settings, so it is necessary to adjust the GUI size after the state has been set which will be after the AudioProcessorEditor’s constructor has finished.
Thanks
Chris