Closed philwesthart closed 12 months ago
Thanks for reporting, I can reproduce the issue. I'll have a look one of these days, but need to switch to it.
On master, sorry for delay here. The fix was actually easier than I had anticipated.
Release will come soon, I want to do a few more commits first.
Using YAMCS Studio 1.7.1, I created a sample page with two buttons and a linking container. Each button runs an embedded Python script to find the linking container using the display.getWidget(), and then attempts to set the opi file using setPropertyValue("opi_file", ). At the end of the script, I write a message to console. On running the OPI file, I see the console message, but linking container otherwise shows no updates. This behavior had been used in our displays previously using v1.5.8. On switching to 1.7.1, the behavior no longer functions.
Sample embedded script shown below.
Running on Windows 10 Enterprise, Intel i7