Hi all,
We are having an issue with a discrepancy between the displayed value of custom menu parameters and their actual value when changing the parameter from a callback in Python.
Here’s a small example patch:
menu_display_bug.toe (4.0 KB)
What we are trying to do here is to pulse the “Next Menu Item” button and have the Menu parameter step through it’s items incrementally.
If we do this using a parexecDAT, we see the value changing in the parCHOP (or when queried via Python) but the displayed value on the component stays the same. By contrast, if we manually ctrl+R run the same two lines of code but from a textDAT (or do it from the Textport), the value changes AND the display also updates.
This issue is currently happening on Windows 10, build 15800, but it occurred on previous builds as well.
One other note that might be relevant - I think this bug was introduced after we reported a different issue directly to Markus (about 1.5 years ago I believe), which was that when incrementing the menu value via callback, the OnValueChanged()
callback for the menu parameter would fire multiple times instead of just once.
Thanks for your help
Jonas
WV