There seems to be another host-specific glitch in the VST resizing code.
Resizing in Samplitude and Sequoia only works well while resizing with the ResizableCornerComponent,
But if you change the size by calling your PluginEditor’s setSize() method, sometimes the plugin-editor does not paint the whole content area of the window (or it stays completely white). The host window is always properly resized though, but it seems the plugin editor itself isn’t.
We could reproduce it in the free Samplitude trial version (from http://www.magix.com/gb/free-download/) by adding an additional combobox to the demo plugin (with “600x100” and “100x300” items) and this ComboBox::Listener implementation
void JuceDemoPluginAudioProcessorEditor::comboBoxChanged (ComboBox* comboBoxThatHasChanged)
{
if (comboBoxThatHasChanged == &resizeCombo)
{
String itemText = resizeCombo.getText();
int width = itemText.upToFirstOccurrenceOf("x", false, true).getIntValue();
int height = itemText.fromFirstOccurrenceOf("x", false, true).getIntValue();
setSize(width, height);
}
}
Anyone has experience with the VST wrapper got an idea what’s going wrong? Sequoia is often used by German broadcasters, so we’d like to properly support it.