• 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
Not Receiving Distributed Notifications Unless in Focus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Not Receiving Distributed Notifications Unless in Focus


  • Subject: Not Receiving Distributed Notifications Unless in Focus
  • From: Ian was here <email@hidden>
  • Date: Mon, 22 Aug 2011 15:05:37 -0700 (PDT)

I have a suite of apps that send distributed notifications to each other. I have two apps in particular:

1) App A will launch app B.
2) App B will then send a distributed notification to app A when it has finished with its initialization.
3) App A can then proceed.


In Mac OS X 10.4, 10.5, and 10.6, this behavior is as expected. However, in OS X 10.7.1 it is not. The following scenario occurs:

1) App A will launch app B.
2) App B will then send a distributed notification to app A when it has finished with its initialization.
3) App A will do nothing until it comes into focus. Only then will the method receiving the notification be called.

I read the 10.7 documentation and there are permission differences, but the permission settings on the apps themselves are still the same as on the 10.6 Mac. I Googled this as well and no one else seems to have had this issue.

Does anyone know what's going on here? Why can't an app receive a distributed notification if it does not have focus?

Thanks in advance.
_______________________________________________

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

  • Follow-Ups:
    • Re: Not Receiving Distributed Notifications Unless in Focus
      • From: Benjamin Rister <email@hidden>
    • Re: Not Receiving Distributed Notifications Unless in Focus
      • From: Ken Thomases <email@hidden>
  • Prev by Date: -drawRect when running a print operation
  • Next by Date: Re: Not Receiving Distributed Notifications Unless in Focus
  • Previous by thread: Re: -drawRect when running a print operation
  • Next by thread: Re: Not Receiving Distributed Notifications Unless in Focus
  • Index(es):
    • Date
    • Thread