@hskoglund I looked into it: when changing the progress bar value, it internally calls
repaint, which should trigger an immediate redraw.
On the other hand, the label uses
update, but the call to
update shouldn’t be executed until the
repaint is completed. Moreover, by the time this timer event starts, the previous drawing of the label should already have been completed.
Why would there be a race condition in this scenario?