adelyte / crescendo-for-crestron

Crescendo Framework for Crestron control systems.
https://www.adelyte.com/crestron/crescendo
Other
77 stars 26 forks source link

Fix incorrect drawing of Watch/Listen menus #78

Closed adelyte-austin closed 6 years ago

adelyte-austin commented 6 years ago

In some systems the Watch and/or Listen menus draw incorrectly. Symptoms include source omissions, redundancy and mis-ordered items. The issue often occurs at initialization of the Room-Sources-Controller module (Typically triggered by Z__System_Initialized!) but is also experienced when changing the touchscreen's room.

adelyte-austin commented 6 years ago

TRIAGE

Adding a 1 second delay between the method calls decreases the frequency of this issue, but does not totally eliminate it.

CHANGE Room_Is
{
    UpdateMoveRoom();
    +++ DELAY(100);
    UpdateWatchListen();
}

TODO:

Use trace statements to evaluate the IDs and Indexes during the execution of UpdateWatchListen().


https://github.com/adelyte/crescendo/blob/ee51fa9ae411e90a85a2b8cee5a3ab42e5d96c02/program/Rooms-Sources%20Controller.usp#L830