Description
The autoadvance feature of the NOvA event display stopped working when we updated from ROOT 5.34.12 to 5.34.18
When a TTimer fires, we quit out of the event loop, move to the next record in the input file, and restart the loop. We found that TApplication::Terminate() wasn't taking effect unless the mouse was being moved over the window.
The attached short program reproduces the issue. An incrementing number should be printed to stdout, once per second. This doesn't work unless the mouse is being moved over the canvas in the window.
Oddly, both the TRootEmbeddedCanvas and the TGeoManager are necessary to cause this problem. Remove one or the other and the printed number increments fine on its own as intended.