Re: AXPosition and AXSize during window drags
Re: AXPosition and AXSize during window drags
- Subject: Re: AXPosition and AXSize during window drags
- From: John Louch <email@hidden>
- Date: Sun, 25 Nov 2007 08:23:43 -0800
- Thread-topic: AXPosition and AXSize during window drags
> The AXPosition and AXSize attributes of UI elements in Finder windows are
> updated continuously while a Finder window is dragged. Therefore, using
> Quartz Event Taps to monitor mouse drags, my app can move an overlay window
> in perfect synchronization with movement of the Finder window. The effect
> onscreen is quite striking.
>
> But Cocoa UI elements apparently don't update their AXPosition and AXSize
> attributes until a window drag is completed (e.g., TextEditl, Xcode,
> Safari). This makes it impossible for my overlay window to track movement of
> a Cocoa window during window drags.
>
> I wish Cocoa would update these attributes in the same way the Finder does.
> All shipping Macs are fast enough to do this now, as far as I know. The
> benefit to assistive apps seems clear to me, because it would help users
> with disabilities to know when to let the mouse up to end a drag.
>
> (I don't mind the fact that the 'window moved' accessibility notification is
> issued only after a window is done moving, because I can track the
> continuous movement with Event Taps. But the Event Taps capability suggests
> that the accessibility notification could be issued continuously, too. In
> fact, it was issued continuously back in Jaguar, wasn't it?)
>
> I'll file a feature request bug report. But in the meantime, am I
> overlooking anything? Is there any other way I can get continuous position
> and size information regarding UI elements in another application?
You can poll in between mouse down and mouse ups.
Thanks,
jl
>
> --
>
> Bill Cheeseman - email@hidden
> Quechee Software, Quechee, Vermont, USA
> www.quecheesoftware.com
>
> PreFab Software - www.prefabsoftware.com
>
>
> _______________________________________________
> 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
--------------------------------------------------
John Louch Internet #: 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