Re: When should kAXFocusedUIElementChangedNotification be sent?
Re: When should kAXFocusedUIElementChangedNotification be sent?
- Subject: Re: When should kAXFocusedUIElementChangedNotification be sent?
- From: Mike Engber <email@hidden>
- Date: Mon, 12 Jun 2006 15:59:24 -0700
If the value of kAXFocusedUIElement changes, it would be reasonable
to expect a kAXFocusedUIElementChangedNotification.
If the value is changing between the two states you describe, file a
bug.
-ME
On Jun 12, 2006, at 12:19 PM, Tom Bunch wrote:
Hi folks,
My understanding is that kAXFocusedUIElementChangedNotification
should be sent whenever the keyboard focus changes. That's kind of
an imprecise way of describing the problem however, as we're not so
much talking about whether an NSResponder acceptsFirstResponder as
we are talking about whether the responder chain has changed. For
example, if I open two Safari windows (I think any two WebViews
will do) and make sure no NSResponder is selected in either, then
click back and forth between them,
kAXFocusedUIElementChangedNotification is not sent. Obviously,
since spacebar will always scroll the foremost Safari window, the
responder chain is changing, and hence I would argue that the
notification should be sent. Now, it's easy enough to work around
that by also looking for a kAXFocusedWindowChangedNotification - I
just wanted to see if my understanding of the semantic of
kAXFocusedUIElementChangedNotification was flawed somehow.
If not, I'm poised and ready as bugreporter.apple.com. I'm not
certain if I should argue that since the focused window changed,
the focused UI element _must_ also have changed, therefore I should
be able to count on that notification. That feels right to me...
-Tom
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (Accessibility-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden