Have any of you noticed invalidate() not working in certain situations?
I have a text area on the screen to display status and a function in a plugin that changes the text and fires the invalidate. When I then fire an event from a button click, I set the text to processing, invalidate, do stuff then set the text to idle and invalidate again. All works fine. BUT, if I do the same from a category with a built in event that fires on execute (by that I mean the database has an event element for each item), it runs the same invalidate code but no refresh happens.
I'm wondering if the category processing is on a different thread and does not touch the main thread until completion which may explain what I am seeing.