nvaccess / nvda

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

Table navigation fails occasionally #16824

Closed cary-rowen closed 1 month ago

cary-rowen commented 1 month ago

Steps to reproduce:

No exact steps to reproduce, I encountered this error in inbox table in GMail. I've encountered this on other web pages that contain tables.

Actual behavior:

NVDA Logging Error Table navigation not working. Works as expected after restarting NVDA. The problem occurred again shortly after

Expected behavior:

NVDA should not error.

NVDA logs, crash dumps and other attachments:

IO - speech.speech.speak (14:26:49.579) - MainThread (14748): Speaking ['日志片段开始点已标记,再按一次复制到剪贴板'] DEBUG - speech.manager.SpeechManager._handleIndex (14:26:50.268) - MainThread (14748): Unknown index 6038, speech probably cancelled from main thread. IO - inputCore.executeGesture (14:26:50.380) - winInputHook (14660): Input: kb(laptop):alt+control+rightArrow IO - speech.speech.speak (14:26:50.408) - MainThread (14748): Speaking ['表格边缘'] ERROR - scriptHandler.executeScript (14:26:50.410) - MainThread (14748): error executing script: <bound method DocumentWithTableNavigation.script_nextColumn of <NVDAObjects.IAccessible.chromium.ChromeVBuf object at 0x17222790>> with gesture 'Alt+Ctrl+右光标' Traceback (most recent call last): File "documentBase.pyc", line 358, in _tableFindNewCell File "virtualBuffers\gecko_ia2.pyc", line 622, in _getNearestTableCell File "documentBase.pyc", line 285, in _getNearestTableCell LookupError

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "virtualBuffers\gecko_ia2.pyc", line 604, in _getTableCellAt File "comtypes_memberspec.pyc", line 482, in call _ctypes.COMError: (-2147023179, '接口未知。', (None, None, None, 0, None))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "documentBase.pyc", line 384, in _tableFindNewCell File "virtualBuffers\gecko_ia2.pyc", line 612, in _getTableCellAt LookupError

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "scriptHandler.pyc", line 295, in executeScript File "documentBase.pyc", line 480, in script_nextColumn File "C:\Users\wencong\AppData\Roaming\nvda\addons\googleDocs\globalPlugins\googleDocs.py", line 369, in myTableMovementScriptHelper originalTableMovementScriptHelper(selfself, movement, axis) File "documentBase.pyc", line 415, in _tableMovementScriptHelper File "documentBase.pyc", line 386, in _tableFindNewCell RuntimeError: ('Unable to find current cell.', LookupError()) IO - inputCore.executeGesture (14:26:51.110) - winInputHook (14660): Input: kb(laptop):NVDA+shift+control+f1

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

2024.3Beta1 and Alpha version

Windows version:

Windows 10 22H2 (AMD64) build 19045.4529

Name and version of other software in use when reproducing the issue:

Google Chrome: Version 126.0.6478.127 (Official Build) (64-bit)

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

No, Works as expected after restarting NVDA

Have you tried any other versions of NVDA? If so, please report their behaviors.

2024.1 and even earlier versions can reproduce this

If NVDA add-ons are disabled, is your problem still occurring?

Yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Yes

CyrilleB79 commented 1 month ago

@cary-rowen could you edit the initial description:

cary-rowen commented 1 month ago

Thanks @CyrilleB79 Sorry I lost some information, it's done now

Adriani90 commented 1 month ago

You seem to have solved this by running the COM registration fixing tool. Closing as fixed.

cary-rowen commented 1 month ago

Hi @Adriani90

This was a filling error. I have corrected it. Please open it. I have to say that I'm very confused by the unreliable caret movement in Github's comment area recently with NVDA. I have to say that recently NVDA seems to be very unreliable in moving the system caret in the Github comment area.

Adriani90 commented 1 month ago

I am reopening, thanks for adjusting the description.

Regarding caret navigation, please describe in a new issue step by step the problem you have. I cannot reproduce anything unexpected in the last alpha.

mltony commented 1 month ago

I also experience this problem with the same exception. In my case this happens when browsing pandas dataframes rendered as tables in Jupyter. This happens approximately once or twice a week for me, so really hard to reproduce.

jcsteh commented 1 month ago

Duplicate of #15862. See also related #16020.