• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: problem with NSWorkspace running apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with NSWorkspace running apps


  • Subject: Re: problem with NSWorkspace running apps
  • From: Scott Ribe <email@hidden>
  • Date: Fri, 05 Sep 2014 00:00:12 -0600

On Sep 4, 2014, at 10:25 PM, Jens Alfke <email@hidden> wrote:

> I think what's actually going on is that the app doesn't show up as running until it's gotten far enough into its launch process to check in with the WindowServer.
>
> You're dealing with a multi-threaded system, so it makes total sense that an app hasn't shown up a microsecond after you told the system to launch it.

No, it's running and processing events. If I single-step in the debugger, I can even bring the app to the front after launching, do things in it, switch back to my app in the debugger, get the list of apps, and it's not listed.

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice





_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >problem with NSWorkspace running apps (From: Scott Ribe <email@hidden>)
 >Re: problem with NSWorkspace running apps (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: problem with NSWorkspace running apps
  • Next by Date: Re: problem with NSWorkspace running apps
  • Previous by thread: Re: problem with NSWorkspace running apps
  • Next by thread: button in the class which inherit from UIView
  • Index(es):
    • Date
    • Thread