I have to agree with Andres. WM_GETOBJECT is not solely used by AT.

Rich Schwerdtfeger
CTO Accessibility Software Group


                                                                       
             Andres Gonzalez                                           
             <[email protected]                                         
             om>                                                        To
             Sent by:                  "[email protected]"             
             accessibility-ia2         <[email protected]>, James Teh  
             [email protected]         <[email protected]>, IAccessible2
             nuxfoundation.org         mailing list                    
                                       <[email protected]
                                       dation.org>                     
             05/25/2010 08:46                                           cc
             AM                                                        
                                                                   Subject
                                       Re: [Accessibility-ia2] screen  
                                       reader present flag             
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       




WM_GETOBJECT is NOT a reliable way of detecting AT either, since it may be
triggered by apps and even device drivers that don't have anything to do
with AT, so you are guarantied false positives even with the best
heuristics. I'm very interested in developing a reliable handshake
mechanism with AT, and would love to hear from others with ideas/proposals
on this respect. Perhaps we can take this task for the next edition of IA2
in this list, or by a subgroup of interested parties, and bring back a
concrete proposal to the general group.

Thanks,

--Andres.



 From: [email protected] [
 mailto:[email protected]] On Behalf Of
 Pete Brunet
 Sent: Monday, May 24, 2010 4:18 PM
 To: James Teh
 Cc: IAccessible2 mailing list
 Subject: Re: [Accessibility-ia2] screen reader present flag

 Thanks Jamie, I'll have to check with the architects to see if they would
 have any issues with blocking.  If I can block then I might also be able
 to lazily call into the secondary thread to build the tree as needed.
 -Pete
 ===
 James Teh wrote:
       On 25/05/2010 8:37 AM, Pete Brunet wrote:

             Thanks Jamie, [using WM_GETOBJECT to dynamically enable
             accessibility] may be a problem for the case where the app has
             multiple threads and a secondary thread needs to be called by
             the window
             proc to participate in the building of the accessibility tree.
             Is it
             acceptable to block the UI thread?

       I don't see why this is any different to creating the tree in the
       same
       thread. Either way, it will block the UI thread, as the WM_GETOBJECT

       message needs to return the requested accessible object. Can you
       shorten
       the setup time by creating parts of the tree lazily only when
       requested?

       Jamie
         _______________________________________________
       Accessibility-ia2 mailing list
       [email protected]
       https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2

<<inline: graycol.gif>>

<<inline: pic19511.gif>>

<<inline: ecblank.gif>>

_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2

Reply via email to