KaiserEngineering / digitaldash

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

Laggy UI #18

Open AuRoN89 opened 3 months ago

AuRoN89 commented 3 months ago

There is a situation where UI lags a lot, and only a reboot fix the issue.

To replicate it, create three views (update: two or even one are still enough), then open any and click on update button several times (at least 6 o 7 times). Here two videos that display a fluid UI and a laggy UI.

https://github.com/user-attachments/assets/690c8d5c-4352-4254-9046-971dcb796542

https://github.com/user-attachments/assets/fadf34be-dc5c-4619-8fd7-2ba4c614a111

One thing that i noticed is that cou usage is slightly more when UI lags. With fluid UI is around 89-95% while is 100+% when it lags... but i'm not 100% sure that this is always the case because i already saw 100+% cpu without a laggy UI.

AuRoN89 commented 3 months ago

I forgot to say that the lag get worse over time (it doesn't matter if you click on update more times)

Here a video where it's really bad:

https://github.com/user-attachments/assets/2dc4d546-868b-48bb-a4d9-5cc98547d782