Panel repaint safety
-
-
Can we have a safety that ignores repaint() if the previous call isn't done so we don't get a time-out issue?
With timers, even when choosing a comfortable time value, the CPU can spike from another running program and cause a time-out. Often this does not lead to anything bad, but sometimes the animation freezes for good. (And I don't think having a time-out notice is good anyway...) -
This leads me to wonder if the crash one can sometimes get with custom LAF isn't related to this sine the repaint is looped too.
-
-
@ustk I haven't experienced these issues, do you have a snippet that demonstrates it?
-
@d-healey I can't share the one I'm actually on but I experience this in all advanced painting when firing up the CPU and this since I'm using Hise for years (like when building in XCode at the same time for instance)
I imagine it depends a lot on the CPU power though...
Note that I'm talking about quite heavy paintings, but nothing stupidly big either...