nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
Other
2.08k stars 625 forks source link

extraneous message is given on reaching the address boook control in envelops and albels dialog in MS Word. #3053

Open nvaccessAuto opened 11 years ago

nvaccessAuto commented 11 years ago

Reported by sumandogra on 2013-03-06 12:05 MS Word 2010

Extraneous message is given on reaching the address book control in envelopes and label’s dialog. Steps to reproduce:

  1. In MS Word, go to mailings tab>create envelops tab.
  2. Press ENTER to open envelopes and labels dialog.
  3. Press SHIFT+TAB once to go back to the address book.
  4. NVDA gives an extraneous speech twice before announcing the name of the control.
nvaccessAuto commented 10 years ago

Comment 2 by nvdakor on 2014-05-03 03:26 Hi, Ticket #4096 has more technical info there. Since this problem was seen in more than on Office applications, may I suggest merging 4096 and this ticket into NVDAObjects.IAccessible.msoffice.py?

bhavyashah commented 7 years ago

Triagers and MS Office experts: Could you please address @josephsl's proposal of merging this ticket into another as noted in https://github.com/nvaccess/nvda/issues/3053#issuecomment-155305553?

Adriani90 commented 4 years ago

In Word 2010 NVDA reports from time to time "MSO Generic Control" and I get following error while tabbing through the envelope dialog. The errors occur especially near to the address book object:

ERROR - baseObject.ScriptableObject.bindGestures (23:13:05.126) - MainThread (9344):
Error binding script caret_moveByLine in <NVDAObjects.Dynamic_WordDocument_WwNIAccessibleWindowNVDAObject object at 0x01759B70>
ERROR - baseObject.ScriptableObject.bindGestures (23:13:05.148) - MainThread (9344):
Error binding script caret_moveByLine in <NVDAObjects.Dynamic_WordDocument_WwNIAccessibleWindowNVDAObject object at 0x01759B70>
DEBUG - config.ConfigManager._triggerProfileEnter (23:13:05.196) - MainThread (9344):
Activating triggered profile Word
DEBUG - synthDriverHandler.SynthDriver.loadSettings (23:13:05.196) - MainThread (9344):
Loaded changed settings for SynthDriver ibmeci
ERROR - baseObject.ScriptableObject.bindGestures (23:13:05.284) - MainThread (9344):
Error binding script caret_moveByLine in <NVDAObjects.Dynamic_WordDocument_WwNIAccessibleWindowNVDAObject object at 0x0175F3F0>
ERROR - baseObject.ScriptableObject.bindGestures (23:13:05.307) - MainThread (9344):
Error binding script caret_moveByLine in <NVDAObjects.Dynamic_WordDocument_WwNIAccessibleWindowNVDAObject object at 0x0175F3F0>
ERROR - baseObject.ScriptableObject.bindGestures (23:13:05.356) - MainThread (9344):
Error binding script caret_moveByLine in <NVDAObjects.Dynamic_WordDocument_WwNIAccessibleWindowNVDAObject object at 0x07D98250>
ERROR - baseObject.ScriptableObject.bindGestures (23:13:05.378) - MainThread (9344):
Error binding script caret_moveByLine in <NVDAObjects.Dynamic_WordDocument_WwNIAccessibleWindowNVDAObject object at 0x07D98250>

In Word 365, with or without UIA for Word enabled in NVDA settings, I get following error:

IO - inputCore.InputManager.executeGesture (23:18:25.509) - winInputHook (10572):
Input: kb(laptop):tab
DEBUGWARNING - NVDAObjects.window.winword.WordDocument._get_WinwordWindowObject (23:18:25.570) - MainThread (9344):
Could not get MS Word object model from window 395080 with class _WwN
Traceback (most recent call last):
  File "NVDAObjects\window\winword.pyc", line 1195, in _get_WinwordWindowObject
  File "oleacc.pyc", line 237, in AccessibleObjectFromWindow
  File "_ctypes/callproc.c", line 935, in GetResult
OSError: [WinError -2147467259] Unbekannter Fehler
ERROR - scriptHandler.executeScript (23:18:25.578) - MainThread (9344):
error executing script: <bound method WordDocument.script_tab of <NVDAObjects.Dynamic_WordDocumentEditableTextWithAutoSelectDetectionUIAWindowNVDAObject object at 0x04EEC690>> with gesture 'Tab'
Traceback (most recent call last):
  File "scriptHandler.pyc", line 205, in executeScript
  File "NVDAObjects\window\winword.pyc", line 1411, in script_tab
  File "documentBase.pyc", line 24, in makeTextInfo
  File "NVDAObjects\UIA\__init__.pyc", line 297, in __init__
NotImplementedError: UIAutomationTextRangeArray is empty

@michaelDCurran does this need an external fix from Microsoft? Or is it something that can be done from NVDA's side?

Adriani90 commented 2 months ago

Errors are still reproducible with NVDA 2024.3 Beta in MS Office 365.