• 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: Multiple notifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple notifications


  • Subject: Re: Multiple notifications
  • From: Mike Engber <email@hidden>
  • Date: Tue, 19 Nov 2002 09:58:27 -0800

When I create an observer for my target application and register it to
receive an application-activated notification on the root UIElement, I
always get two notifications when I activate the target application.

I can repro this and it seems like a bug. I'll look into it a bit and
file one.

In other circumstances, I am seeing multiple notifications with a null role.
For example, after registering for a UIElement-destroyed notification on a
window in TextEdit, I get 6 or 7 UIElement destroyed notifications listing a
null role when I close the TextEdit window.

You should never get a null role. Are you only seeing these in response to
a destroyed notification? If so, then I'll bet you're not getting a null role,
you're getting an invalid ui element error. The element is destroyed so you can't
really use it anymore. The only good that it does you at this point is passing
to CFEqual so you can remove any refs you have cached.

-ME
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Multiple notifications
      • From: Bill Cheeseman <email@hidden>
References: 
 >Multiple notifications (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Does AXObserverRemoveNotification work?
  • Next by Date: Re: Multiple notifications
  • Previous by thread: Multiple notifications
  • Next by thread: Re: Multiple notifications
  • Index(es):
    • Date
    • Thread