On 2026-06-06 11:45 AM, Fons Adriaensen wrote:
On Fri, Jun 05, 2026 at 11:37:04PM +0200, Robin Gareus wrote:

On 2026-06-05 1:56 PM, Fons Adriaensen wrote:

- If I close the GUI window, it seems impossible to open it again.

I cannot reproduce this here.

Double-clicking on the Processor in Ardour's Mixer shows it, as does
context-click > Edit ..

The latter works.

Odd. Both events call the same actions under the hood.

Maybe we can investigate this in 2 weeks at the LAC?

Won't be there...

You will be missed.


> How is the scale passed to the plugin ? Docs mention it exist, but
> never explain how it's done...


It can be hard at times to to connect the dots. LV2 is rather computer-science-y :)

https://lv2plug.in/ns/extensions/ui#scaleFactor is an option that is passed as optional "feature" via `const LV2_Feature *const *features`.
https://lv2plug.in/c/html/group__ui.html#ad0fc716947519b344414ca5d4b35ecf4

or have a look at various plugins using it e.g.
https://github.com/x42/fat1.lv2/blob/master/gui/fat1.c#L1329-L1332
and line 1312.

in most x42 plugins, you can also right-click on a blank space somewhere and
manually override UI font scale.

That's the one I meant.

* select 200% -> knobs etc get bigger but keyboard doesn't.
* select 100% -> knobs etc back to 100%, but now the keyboard is
                  scaled to 200%


I see. The MIDI keyboard on the left scales depending on window size. This plugin takes a hybrid approach, because in many case one wants a larger keyboard.

Also it's easy to expand a window, but shrinking it is not necessarily possible when it is embedded.

Cheers!
robin

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to