Re: Where to catch notifications when inspecting a Carbon application?
Re: Where to catch notifications when inspecting a Carbon application?
- Subject: Re: Where to catch notifications when inspecting a Carbon application?
- From: David Niemeijer <email@hidden>
- Date: Fri, 1 Jun 2007 20:44:14 +0200
Ok, I am one step further. The trouble I am having seems to be cause
by the fact that the AXFocusedUIElementChnaged is not reliably send
to the AXApplication when inspecting a Carbon app with windows with a
single AXTextField. Sometimes I get only notification of
AXFocusedWindowChanged, but not of AXFocusedUIElement changed (I
tested this with UI Browser). Anyone any idea what might be causing
this?
I now confirmed the same issue on TexEdit Plus versus TextEdit using
UI Browser to watch for notifications. Begins to look more and more
like a bug to me rather than my error.
Thanks,
david.
At 17:48 +0200 1/6/07, David Niemeijer wrote:
I think my previous email about kAXSelectedTextChangedNotification I
think I was looking at the problem from the wrong angle. It looks
like the Carbon TextView does support the changed selection
notification, but that to catch it I need to hook on to a different
element than for Cocoa apps. For Cocoa apps i hook the observer on
the focused element when I get a notification that the focus
changed, but for Carbon apps this does not seem to work. If instead
I hook my observer to the element below the cursor then it works ok
in a Carbon app. I am a bit lost as to what is going on. any help
welcome....
Thanks,
david.
_______________________________________________
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
_______________________________________________
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