Changeset 2412

Show
Ignore:
Timestamp:
10/05/08 22:15:41 (3 months ago)
Author:
bzr
Message:

IAccessibleHandler.initialize: When setting the initial focus object, also set the "focus" value in liveNVDAObjectTable. IAccessible caret events which get mapped to the focus depend on this being set. Fixes the issue where caret events were not being dispatched to the focus object before the first focus change after NVDA was started.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk

    • Property bzr:revision-info
      •  

        old new  
        1 timestamp: 2008-10-03 11:12:37.749000072 +1000 
         1timestamp: 2008-10-03 16:50:30.328999996 +1000 
        22committer: James Teh <jamie@jantrid.net> 
        33properties:  
        44        branch-nick: main 
        5         rebase-of: jamie@jantrid.net-20081003011237-ljpwsb384i4j7ls0 
         5        rebase-of: jamie@jantrid.net-20081003065030-pxq0bt6nzcbh5szl 
    • Property bzr:revision-id:v3-list-QlpoOTFBWSZTWbrL2vUAAB1VgAAQABCAQDrrnqAgAFCgaaGRkxBoTIJ6mmaNRwhndFAoNhZjh_YY4a01fOg1ulgNNC2UrzPdXXEnDpX8XckU4UJC6y9r1A..
      •  

        old new  
        1921922209 jamie@jantrid.net-20081003002554-d5ufyt1xrakd8ynd 
        1931932210 jamie@jantrid.net-20081003011237-l9pnljm2rhb7fova 
         1942211 jamie@jantrid.net-20081003065030-4mrq1eyld03vj908 
    • Property bzr:file-ids
      •  

        old new  
        1 source/NVDAObjects/IAccessible/sysTreeView32.py 834@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2FNVDAObjects%2FIAccessible%2FsysTreeView32.py 
        2 source/NVDAObjects/__init__.py  683@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2FNVDAObjects%2F__init__.py 
         1source/IAccessibleHandler.py    267@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2FIAccessibleHandler.py 
  • trunk/source/IAccessibleHandler.py

    r2395 r2412  
    924924        if isinstance(focusObject,NVDAObjects.IAccessible.IAccessible): 
    925925                eventHandler.queueEvent('gainFocus',focusObject) 
     926                liveNVDAObjectTable['focus']=focusObject 
    926927        for eventType in winEventIDsToNVDAEventNames.keys(): 
    927928                hookID=winUser.setWinEventHook(eventType,eventType,0,cWinEventCallback,0,0,0)