I have a peculiar problem with a ROOT 6.06/02 installation on a Mac OS X El Capitan (installed via homebrew). The application is used a simulator to generate some ZeroMQ Ethernet packets and has some widgets to control the frequency of the packets and so on (no drawing of any Canvases just Buttons and Entries). The actual sending is happening in a separate thread to the main GUI thread and if the application does not have focus, the sending thread hangs after around 40 seconds. If it gets focus back (and i think it has to be visible as well), the sending thread unfreezes and just continues. I experimented with a TTimer and StopIdleing() and RemoveIdleing() methods of the TApplication but had no success. I attached the code as well. I’m grateful for any hints! Simulator.cc (2.07 KB) SimulatorViewer.cc (6.13 KB) Simulator.h (2.48 KB) SimulatorViewer.h (2.09 KB) UCTSSimulator.cc (1.79 KB)
FYI, it will take some time, since I don’t have a Mac and I can only remotely connect to one on which I can’t install system tools (I can only build everything from source in a self-contained directory, to not mess-up the system)… And now I just see that I can’t build protobuf (missing tools). So I’ll have to find another way of testing your code. I’ll keep you in touch.
EDIT: Could you reduce the code to a minimal reproducer I could use without all those dependencies?
Bertrand and I just tried on my Mac the little test example you provided.
We can see the slow down after roughly 99 iterations. That’s with the cocoa version of ROOT.
We tried also with the X11 version of ROOT and then it works… no slow down.