I have a Main thread which owns a widget with a label I want to update repeatedly. I can loop a thousand times (a test run) when in the parent thread and it works fine. When I pass the instance of the widget into a new thread and try to do it there it will update for a bit and then stall. If I mouse over it, it updates fine and stalls again when I move the mouse away. I am assuming the mouse is forcing the widget into focus and/or an "active window" state but when I try calling either of the methods to set focus or active window state it makes no difference. Perhaps it's raising the priority of the thread?
Is there a way I can make sure each call to update the widget label is seen without moving the mouse over it?