Python QT. Flame keep stealing focus

Hello all. If I execute one of my python QT apps, Flame randomly steals the focus. I’ve hacked around it by doing this:

self.timer = QTimer()
self.timer.setInterval(250)
self.timer.timeout.connect(self.widget.activateWindow)
self.timer.start()

It feels like I shouldn’t have to do this. Anyone have ideas ? Thanks.

You can try the ‘always on top window’ hint…

https://community.foundry.com/discuss/topic/145877/how-to-keep-pyside2-window-on-the-top?mode=Post&postID=1162406

I haven’t tried it in Flame yet.

1 Like