It could be that its just time that takes the process to start.only after the alternate active window several times is that it is fired.
Try connecting a slot to the "started()" signal, and only then do the switching between windows, and see if you get the signals then.
Bookmarks