Mini LV2 loads/saves settings twice; once to wrong location
Cardinal 23.07, in Carla host on Fedora 38
Cardinal LV2 loads settings from ~/.config/Cardinal/main.json once, when the plugin is added to the host. Then it saves the settings once, when the plugin is removed from the host.
Cardinal Mini LV2 is different:
- When added to the host, it loads settings from
mini.jsonin the working dir (wherever the host was launched from) - When opening the GUI, it loads settings from
~/.config/Cardinal/mini.json - When closing the GUI, it saves settings to
~/.config/Cardinal/mini.json - When removed from the host, it saves settings to
mini.json
Assuming the behaviour of Cardinal LV2 is intended, then all 4 steps are bugs. 1 and 4 are in the wrong location, and 2 and 3 shouldn't happen at all.
this is normal and expected, except the missing location and using CWD. the mini variant has split dsp/ui, which means it loads the config from dsp side, then it also loads config from UI side.
weird that config dir fails in one of those cases though.. likely something just not being initialized properly