trowaSoft-VCV icon indicating copy to clipboard operation
trowaSoft-VCV copied to clipboard

cvOSCcv "AutoReconnectAtLoad" is cleared when exiting configuration

Open jamshark70 opened this issue 3 years ago • 1 comments

TrowaSoft modules v1.0.3, trying today in VCV 1.1.6 (will upgrade VCV during the semester break but not before).

  1. New patch, add a cvOSCcv.
  2. Switch to the configuration.
  3. Enable the connection.
  4. Enable "AutoCon."
  5. Exit configuration (as noted in another thread, some parameters are not persisted while remaining in configuration mode).
  6. Save the patch.
  7. Close and reopen the patch -- now cvOSCcv is not connected, and if you check the configuration, "AutoCon" is cleared.
  8. OK, so what happens if you save the patch while in configuration mode? -- Reenable "AutoCon," save.
  9. Close and reopen the patch -- again, cvOSCcv is not connected, and if you check the configuration, "AutoCon" is cleared.

I checked both saved patches in a text editor, and both of them have "AutoReconnectAtLoad": false,.

So it seems that this setting is just not persisted on disk. (If I edit the patch file to make it true, then it does work when reloading the patch.)

jamshark70 avatar Dec 11 '21 05:12 jamshark70

Hi. This is because it doesn't save the 'true' unless you connect also (the idea was so that it knows it's a valid connection before allowing auto-reconnection). If you check "AutoCon" and then hit "Connect", it should save and reconnect on re-load.

We can change it to save the setting when you hide the screen, but I am not sure when I will get around to it. I am still converting to v2 and have been a bit busy lately, but I'll try to get it to during the v2 conversion.

chichian avatar Dec 26 '21 07:12 chichian