MIES icon indicating copy to clipboard operation
MIES copied to clipboard

Handle deprecated GUI controls in old experiments gracefully

Open MichaelHuth opened this issue 8 months ago • 0 comments

Currently the recreation of the GUIState wave works only on the current GUI.

Thus, controls requested on recreation may not exist and the recreation asserts out when an old GUI is currently open.

Fallback idea:

  1. if the recreation of the GUIState wave fails, try to readout the requested control directly
  2. to prevent further known-to-fail GUIState wave recreation attempts use the calledonce mechanism to by default fallback to direct control readout
  3. reset the called once state if in a new DAEphys panel a device is locked

MichaelHuth avatar Apr 01 '25 16:04 MichaelHuth