Closed seventh-sam closed 2 years ago
Wow, that's a weird one.
Did a bit of experimentation, and it looks like REAPER itself gets extremely confused when you pass data that contains a newline to reaper.SetExtState()
.
That said, it's not clear how a newline even got in the config data, so this is probably a legit Reaticulate bug.
However in my local tree (that will become 0.5) I've changed how configuration is serialized, moving to JSON as the approach in 0.4.x is unsafe (in the sense that it evaluates the config blob as code). So to the extent that there's a bug in there, I suspect it will no longer be applicable in the next release.
I'll leave this issue open to track though and will close it once 0.5 is out the door.
Thanks!
Fixed in 0.5.0-pre1. Syntactically invalid colors are interpreted as black.
I entered #383838 in the custom background color field, then restarted REAPER (as instructed). For some reason - though I've changed this field in the past - Reaticulate.main wouldn't start. Instead, I recieved this error message:
I managed to isolate the problem to something strange going on with the reaper-exstate.ini file. After I had entered the hex code, the reaticulate section of the reaper-exstate.ini file looked like this:
I backed everything up, reset to factory defaults, copy-pasted my back-ups, but deleted that chunk of the .ini file. Reaticulate worked, and - for comparison - I checked the new reaper-extstate.ini file. It contained the following:
I'm not versed enough in all this to know why this happened, but hopefully reporting it will help catch a bug! Cheers.
EDIT: Running on Win10, Reaper 6.37