Re: [Pythonmac-SIG] py2app + pyqt: Differences between command-line and double-click

2013-08-15 Thread Michael O'Donnell
Hi Stuart, I have been suffering similar problems since MacOSX changed the way they handle windows, a couple of versions back. See: http://mail.python.org/pipermail/tkinter-discuss/2012-May/003161.html The problem there also included the argv_emulation flag, and setting this to false fixed th

Re: [Pythonmac-SIG] py2app + pyqt: Differences between command-line and double-click

2013-08-12 Thread Berg, Stuart
Hi Ronald, It took me a while to follow up on this thread I started a few months ago because I wanted to find a minimal test case that illustrates my problem. Now I've got one. Apparently the PyQt spashscreen doesn't behave correctly when I use the py2app "argv_emulation" option. To save y

Re: [Pythonmac-SIG] py2app + pyqt: Differences between command-line and double-click

2013-05-15 Thread Ronald Oussoren
On 15 May, 2013, at 22:32, "Berg, Stuart" wrote: > Hi, > > I'm using py2app to packages my (cross-platform) PyQt app into a Mac OS X > application bundle. (py2app is great, btw!) > > I was wondering if anyone could point me to some documentation that explains > in detail how a python app bu

Re: [Pythonmac-SIG] py2app + pyqt: Differences between command-line and double-click

2013-05-15 Thread Michael McCracken
There aren't any other window-focus related gotchas that I know of in the bootstrap code, and I've looked at most of it - can you share more about your program, and perhaps show what your setup.py looks like? On Wed, May 15, 2013 at 2:31 PM, Berg, Stuart wrote: > Hi Michael, > > Thanks for yo

Re: [Pythonmac-SIG] py2app + pyqt: Differences between command-line and double-click

2013-05-15 Thread Berg, Stuart
Hi Michael, Thanks for your response.  I am already calling show() and then raise() (though my SO question didn't make that clear -- sorry about that).  I think I'm having a different issue than the one in the link you provided, because my app behaves correctly when launched from the command

Re: [Pythonmac-SIG] py2app + pyqt: Differences between command-line and double-click

2013-05-15 Thread Michael McCracken
Hi, I answered on stack overflow too - but the short version is call show() *then also call* raise_() on your main window. The answer to an earlier version of this question has a couple of links for more background: http://stackoverflow.com/questions/3662559/why-does-my-pyqt-application-open-in-t

[Pythonmac-SIG] py2app + pyqt: Differences between command-line and double-click

2013-05-15 Thread Berg, Stuart
Hi, I'm using py2app to packages my (cross-platform) PyQt app into a Mac OS X application bundle. (py2app is great, btw!) I was wondering if anyone could point me to some documentation that explains in detail how a python app bundle's launch process differs from launching the python app direc