[LV2] [PATCH 5/5] add external UI as valid UI

Filipe Coelho falktx at gmail.com
Mon Jan 6 10:39:36 PST 2014

On 01/06/2014 06:19 PM, Robin Gareus wrote:
> On 01/06/2014 06:26 PM, Kaspar Emanuel wrote:
>>> Embedding generally works fine and most users and developers are happy
>>> with it.
>> Well rncbc and falkTX seem to both be expressing some concerns
> [citation needed] :)
> IIRC Rui criticized the point of QT3/4/5 compatibility when swallowing
> UIs. -- That might be a non-issue if you write it at high-level in python.
> As for falkTX. ACAICT, he chose to re-implement libsuil (which does the
> embedding) in his plugin-host -- rather than use the existing official
> libsuil. I don't know why -- I guess it's to go along with the NIH
> syndrome of KXStudio in general. AFAIK this work is not complete yet and
> therefor embedding some UIs does not [yet] work in Carla.
> @Rui, @Filipe: did I get this right? Please correct me, if this is FUD.
There are several reasons for me not using suil.

1. I want Carla backend (which handles the plugins) to be plugin agnostic.
This means the backend has no Qt, Gtk or any system-level toolkit.
afaik suil will never provide a way to embed a gtk2 UI in a pure X11 host.

2. suil and embed UIs are useless to Carla.
Carla shows all plugin UIs in their own window, without adding menus, 
buttons or any widgets on top.
My current plugin-UI code just shows the widget and nothing else.
I have no interest on embedding things.

3. I want out-of-process UIs (whenever possible).
Carla runs the UIs in a separate process whenever that is possible (in a 
way similar to DSSI).
Because of this I can build separate toolkit versions of little tools 
that load UIs.
So I actually have a gtk, qt, x11 etc "host versions".

4. cross-toolkit issues are very common.
In the early days of suil, there were a lot of issues about UIs on Qt4 
When things seemed to be working fine, something new came up to ruin the 
There's also gtk3 and Qt5 fast approaching (and they being incompatible 
with old libs), but me using out-of-process UIs works around this.

5. suil just isn't needed for Carla.
by using different tools to load each type of UI (gtk, qt, x11) and not 
using embed, I don't see the point of me using suil.

hopefully that clarifies things.
anyway, with the move out of Qt I won't support any toolkit-based UIs 
anymore (that need instance-data).

as for external-ui usage, I prefer not to discuss it anymore (tired of 
it now...).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20140106/2cf04668/attachment-0002.htm>

More information about the Devel mailing list