lv2 / suil

Library for loading and wrapping LV2 plugin UIs
ISC License
11 stars 5 forks source link

Improper handling of nested plugin window size #22

Open sadko4u opened 1 month ago

sadko4u commented 1 month ago

Hi!

Look at Ardour that can not handle the size change of the window when the plugin's UI is an initiator of such change:

https://www.youtube.com/watch?v=iSFl7B3itsI

Other formats like VST2, VST3 and CLAP perform pretty fine because they have well-designed UI resize API. By the other side, LV2 doesn't provide good way of changing window size of the plugin (we don't count the lv2:resize which is considered to be a bad solution).

x42 commented 1 month ago

Since this works well for other LV2 plugins, and libsuil just wraps the X11 window passing events this looks like an issue with the plugin GUI. More evidence for that is that you can resize the wrapped window directly as seen at 0:35.