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

Bill Janssen janssen at parc.com
Tue Feb 3 17:53:02 CET 2009


Ronald Oussoren <ronaldoussoren at mac.com> wrote:

> 
> On 2 Feb, 2009, at 21:53, Bill Janssen wrote:
> >>
> >>
> >> In any case, it does include a info.plist, and it may include a
> >> different launch stub, so setting LSUIElement = 1 may work in either
> >> case.
> >
> > Sounds reasonable, then.  Set LSUIElement=1 in the Python.app
> > Info.plist,
> > and other apps that use python can set it differently if they wish.
> 
> Does this actually solve the problem you want to fix?

Yes.

> Have you looked
> into what causes the icon to occur into the doc in the first place?

According to Hengist:

> > Perhaps it's not the OS "upgrading" the process, but rather some
> > code in some extension calling "TransformProcessType"
> 
> It's the Carbon Process Manager. (There's no good reason for it to do
> so, but hey, I didn't write the thing.)

Do we have the sources for that, do you know?

> What are possible side effects of setting this property?

See the Apple doc I referenced earlier.

I'm going to set this flag (LSUIElement) in the system Python of every
Mac at PARC I can get my hands on, so we'll get some idea of the
effects.  I encourage others on this list to also set it, and see what
kind of effects you notice.  So far, my experience is positive.

Bill


More information about the Pythonmac-SIG mailing list