[Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

Ronald Oussoren ronaldoussoren at mac.com
Wed Feb 4 23:13:11 CET 2009


On 4 Feb, 2009, at 2:27, Bill Janssen wrote:

> Kevin Walzer <kw at codebykevin.com> wrote:
>
>> Bill, the behavior that you experiencing is the expected behavior of
>> Python, albeit not what you want in this instance. Rather than re- 
>> doing
>> the long-standing infractucture of Python on the Mac, wouldn't it be
>> better to find the code that is causing the undesired "rocket launch"
>> and fix it, or at least work around it? Woudn't a non-framework,
>> Unix-style build of Python avoid these issues altogether?
>
> It would, and that's actually the "long-standing infrastructure of
> Python on the Mac" that you refer to.  The Python.app formulation is
> recent, and not yet well-enough debugged.

The Python.app formulation is about as old as OSX, that count as long- 
standing in my book.

>
> Try setting LSUIElement in your Python.app's Info.plist, and report  
> back
> with what's broken.  I think you'll find double-clicking on UI apps
> works just fine.

Double-clicking GUI script probably won't work just fine, the dock  
icon and menu bar will be surpressed by setting the LSUIElement key.

Ronald
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2224 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20090204/a4c28eaf/attachment.bin>


More information about the Pythonmac-SIG mailing list