KaiserEngineering / digitaldash

Code to generate the GUI for the KE DIgital Dash
13 stars 3 forks source link

Dynamic Views Logic Issue #12

Open AuRoN89 opened 1 month ago

AuRoN89 commented 1 month ago

I think there an issue in how Dyanmic Views Logic works.

Here how to replicate it:

Setup three views View 1 (without any condition (dynamic view is off)) set as Default) View 2 (when a button X is pressed) View 3 (When a button Y is pressed)

Expected Result Nothing is pressed = View 1 Pressed button X = View 2 Pressed button Y = View 3

What happens instead Nothing is pressed = Dash remain in View 1 Press button X = Dash Switch to View 2 Release button X = Dash Remain in View 2 but should return to View 1 Press button Y = Dash Switch to View 3 Release button Y = Dash Remain in View 3 but should return to View 1

The thing is, when conditions for View 2 and View 3 are NOT TRUE, the Dash should return to the default (View 1 in this case), instead, it remain in the last active View

craigkai commented 1 month ago

So the logic for dynamic is when the condition is true, the view changes. But not when it is false, we were worried that you could end up with screen flickering if your view is changing all the time

AuRoN89 commented 1 month ago

screen flickering already happens when two conditions are true, see the other reported issues, i think it can be linked to that one