Re: [orca-list] keys in conflict with XUL application keys



After more testing, the Orca patch appeared to have some problems.  It
throws occasional tracebacks and it doesn't speak in some of the Firefox
UI elements, for instance in the file dialog invoked by Ctrl-O or in the
Quit confirmation dialog (when multiple tabs are present).  The
following tracebacks are thrown when the Quit confirmation dialog is
opened:

  Traceback (most recent call last):
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/focus_tracking_presenter.py", line 627, in 
_processObjectEvent
      s.processObjectEvent(event)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/script.py", line 297, in processObjectEvent
      self.listeners[key](event)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/default.py", line 3117, in onWindowActivated
      orca.setLocusOfFocus(event, event.source)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/orca.py", line 201, in setLocusOfFocus
      orca_state.locusOfFocus)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/focus_tracking_presenter.py", line 938, in 
locusOfFocusChanged
      newLocusOfFocus)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/Gecko.py", line 3922, in locusOfFocusChanged
      if newLocusOfFocus and self.inDocumentContent(newLocusOfFocus):
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/Gecko.py", line 4441, in inDocumentContent
      documentFrameURI = self.getDocumentFrameURI()
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/Gecko.py", line 4500, in getDocumentFrameURI
      attrs = documentFrame.document.getAttributes()
  AttributeError: 'NoneType' object has no attribute 'document'


  Traceback (most recent call last):
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/focus_tracking_presenter.py", line 627, in 
_processObjectEvent
      s.processObjectEvent(event)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/script.py", line 297, in processObjectEvent
      self.listeners[key](event)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/Gecko.py", line 3651, in onFocus
      default.Script.onFocus(self, event)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/default.py", line 2545, in onFocus
      orca.setLocusOfFocus(event, newFocus)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/orca.py", line 201, in setLocusOfFocus
      orca_state.locusOfFocus)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/focus_tracking_presenter.py", line 938, in 
locusOfFocusChanged
      newLocusOfFocus)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/Gecko.py", line 3922, in locusOfFocusChanged
      if newLocusOfFocus and self.inDocumentContent(newLocusOfFocus):
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/Gecko.py", line 4441, in inDocumentContent
      documentFrameURI = self.getDocumentFrameURI()
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/Gecko.py", line 4500, in getDocumentFrameURI
      attrs = documentFrame.document.getAttributes()
  AttributeError: 'NoneType' object has no attribute 'document'


  Traceback (most recent call last):
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/focus_tracking_presenter.py", line 627, in 
_processObjectEvent
      s.processObjectEvent(event)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/script.py", line 297, in processObjectEvent
      self.listeners[key](event)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/Gecko.py", line 3651, in onFocus
      default.Script.onFocus(self, event)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/default.py", line 2545, in onFocus
      orca.setLocusOfFocus(event, newFocus)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/orca.py", line 201, in setLocusOfFocus
      orca_state.locusOfFocus)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/focus_tracking_presenter.py", line 938, in 
locusOfFocusChanged
      newLocusOfFocus)
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/Gecko.py", line 3922, in locusOfFocusChanged
      if newLocusOfFocus and self.inDocumentContent(newLocusOfFocus):
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/Gecko.py", line 4441, in inDocumentContent
      documentFrameURI = self.getDocumentFrameURI()
    File "/usr/local/stow/orca/lib/python2.4/site-packages/orca/Gecko.py", line 4500, in getDocumentFrameURI
      attrs = documentFrame.document.getAttributes()
  AttributeError: 'NoneType' object has no attribute 'document'

Without the patch, Orca works fine in the mentioned situations.

Regards,

Milan Zamazal




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]