On 2025-07-04 12:17, Fons Adriaensen wrote:
Hello all,
Hi Fons,
I'm finally experimenting with LV2 GUIs, in
particular X11 ones.
That's great to hear. For the case at hand
http://lists.lv2plug.in/listinfo.cgi/devel-lv2plug.in
may be a better place to ask for help
Q1: How do I make the GUI window fixed size ? Tried
adding
'ui:fixedSize' as a required feature, but that doesn't work.
in your case, use XSizeHints and XSetWMNormalHints().
Then again since DPI varies significantly you may want to make the GUI
scalable to cater for users with a HiDPI display.
for inspiration:
https://github.com/x42/robtk/blob/master/pugl/pugl_x11.c#L619-L644
Q2: In Ardour preferences I have
'Closing a plugin window only hides the window'.
Yet actually the GUI is destroyed. Bug or feature ?
It only applies to VST2/3 plugins (not LV2).
--
robin