Re: Multiple notifications
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.