"White window" on plugin window close in Renoise (VST, 32-bit, Mac)

The solution is to treat Renoise as Cubase 7. The fix in juce_VST_Wrapper.mm:

if (getHostType().isCubase7orLater() || getHostType().isRenoise())

...

Also add Renoise host. It's trivial (juce_PluginHostType.h):

bool isRenoise() const noexcept           { return type == Renoise; }

...

if (hostFilename.containsIgnoreCase ("renoise"))           return Renoise;

 

Just to confirm: did you change both places in juce_VST_Wrapper.cpp where isCubase7orLater() is checked? (I'm assuming yes, but just in case..)

Yes, both places.

Sorry, my original post was a bit "short" because I wrote it in a hurry.

Here's the Renoise forum topic about this problem:

http://forum.renoise.com/index.php/topic/47036-os-x-el-capitan-32bit-vst-gui-issues-with-tdr-slick-eq/

 

I pushed some changes this morning - give it a shot and let me know if you still have a problem..

Hello. Eduard/taktik from Renoise.com here. 

Thanks for taking care of this.

I could replicate the same error on OSX El Capitan with Mulab from http://www.mutools.com/ too, so I guess the same fix should be applied for Mulab as well. Maybe it's necessary for even more hosts which do not support the "hasCockosViewAsConfig" extension.

That said I'm wondering why the cocoa wrapper window actually should be kept open by default and should only be closed for Renoise and Cubase. The host has no access to this window, but only to the original carbon window, so it's very likely also not messing around with it. Seems more likely that OSX' behavior of released (wrapper) windows changed over the past, now no longer automatically closing them when "releasing them to death"?

I noticed that the 32-bit VSTs will have the same White Widow problem in the latest Reaper. I'm working with an older Juce (3.0.5), so I don't know if something has changed in the meantime. Anyway, adding getHostType().isReaper()) to the if() statement fixes the issue for me.

 

I'm also wondering what other hosts will have this issue. It looks like Live doesn't need to be added to the conditional list, but Cubase, Reaper and Renoise need to be added (for Juce 3.0.5, at least). 

 

I also wondering why people are running 32-bit VSTs on Yosemite and El Capitan in the first place, versus 64-bit VSTs, or the 32 or 64-bit Audio Units. But that is a different discussion.

 

Sean Costello

I think if you update to the latest juce version, it'll use the 32-bit NSView extension, so will work much better under Reaper.