Open Spacechild1 opened 4 years ago
thanks for point out the problem @Spacechild1 .
The JamTaba window (using Qt) is created inside effEditOpen, so the editor window size is not available before the call to effEditOpen. Not shure how to solve yet, but I will put this in the list for the next version.
It's not a big deal. After all, most VST hosts can deal with this situation.
Not shure how to solve yet,
Most plugins know the size of the editor beforehand. If this is not possible, the plugin would use the audioMasterSizeWindow
opcode to tell the host the size of the window after opening the editor.
thanks @Spacechild1 , I will check this soon.
A user of my VST plugin host (https://github.com/Spacechild1/vstplugin) reported that the plugin editor window had a width and height of 0. It turns out in your plugin a call to
effEditGetRect
beforeeffEditOpen
returns false and sets the output values to 0. Only very few plugins do this (in fact, I've only encountered 1-2 or so). I fixed my VST host to handle this case, but you might consider to alway report the editor size, like the vast majority of VST plugins do.I couldn't really try your plugin so far, but from what I saw it looks great!