Re: [PyQt] Mac OS X Problem: PyQT applications not focusing on launch

2009-09-28 Thread Holger Rapp
Am 25.09.2009 um 18:24 schrieb Alexei Puzikov: hello = HelloWorld() hello.show() hello.raise_() # this will raise the window on Mac OS X sys.exit(app.exec_()) This was a mighty useful advice. The internet doesn't seem to be aware of this solution (as mentioned, I only found the clue to pack

Re: [PyQt] Mac OS X Problem: PyQT applications not focusing on launch

2009-09-28 Thread David Boddie
On Mon Sep 28 11:37:27 BST 2009, Holger Rapp wrote: Am 25.09.2009 um 18:24 schrieb Alexei Puzikov: hello = HelloWorld() hello.show() hello.raise_() # this will raise the window on Mac OS X sys.exit(app.exec_()) This was a mighty useful advice. The internet doesn't seem to be aware of

[PyQt] Mac OS X Problem: PyQT applications not focusing on launch

2009-09-25 Thread Holger Rapp
Hi, Every pyqt example I start under Mac OS X (PyQt 4.5.4, Python 2.6 from Python.org, Mac OS X 10.5.8), no matter which (I tried the delivered examples in the source distribution and also the examples from the python book [1], I also tried the eric IDE and spyder) fail to receive the focus

Re: [PyQt] Mac OS X Problem: PyQT applications not focusing on launch

2009-09-25 Thread Alexei Puzikov
hello = HelloWorld() hello.show() hello.raise_() # this will raise the window on Mac OS X sys.exit(app.exec_()) Given it's a Mac-only problem, which wasn't reproducible with Qt, only PyQt, for me it looks like a PyQt bug. But the fix is quite easy. A. On Fri, Sep 25, 2009 at 5:16 PM, Holger

Re: [PyQt] Mac OS X Problem: PyQT applications not focusing on launch

2009-09-25 Thread Hans-Peter Jansen
Am Freitag 25 September 2009 schrieb Alexei Puzikov: hello = HelloWorld() hello.show() hello.raise_() # this will raise the window on Mac OS X sys.exit(app.exec_()) Given it's a Mac-only problem, which wasn't reproducible with Qt, only PyQt, for me it looks like a PyQt bug. But the fix is