nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
https://www.nvaccess.org/
Other
2.1k stars 634 forks source link

Strange behavior When Word table is across multiple pages #14707

Open LittleStar-VIP opened 1 year ago

LittleStar-VIP commented 1 year ago

Steps to reproduce:

  1. Create a table in word
  2. in one of the cell, enter a lot of content so that the cell is long enough to go across the second page
  3. keep on pressing ctrl+down arrow, at a certain point, nvda will say out of table, but actually it is still in the same cell, but moving to a new page
  4. If I press ctrl+down arrow once more, nvda is saying table with ## rows and columns, as if I am moving into a new table

Making the sample document that I have uploaded here as an example, First I focused onto the second cell on the second row, If I keep pressing ctrl + down arrow, nvda says ''' Out of table NVDA allows blind and vision impaired people to access and interact with the Windows operating system and many third party applications. ''' then I press ctrl+down arrow again ''' Table with 3 rows and 2 columns A short video demonstration, "What is NVDA?" is available from the NV Access YouTube channel. '''

If I move upward using ctrl+up arrow may also experience the same problem Test.docx

Actual behavior:

Expected behavior:

NVDA will not say out of table

NVDA logs, crash dumps and other attachments:

System configuration

NVDA installed/portable/running from source:

installed

NVDA version:

nvda 2022.4.1

Windows version:

Windows Home ed 21h2

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

Microsoft Office 365 Enterprise 16.0.16130.20218

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

Yes

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

no

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?

not tried

seanbudd commented 1 year ago

This is likely are problem in Word. It may be worth reporting this to Microsoft. What is the behaviour in Narrator?

LittleStar-VIP commented 1 year ago

I just try using narrator to navigate the table, but narrator doesn't has this problem.

Adriani90 commented 1 year ago

@LittleStar-VIP does this also occur when you enable UIA for Microsoft word in NVDA advanced settings?

LittleStar-VIP commented 1 year ago

Yes, UIA support for word is enabled. I try turning off UIA support for word and seeems that the problem which I mentioned here is not appearing.

Seems that lots of problems are related to UIA.

Adriani90 commented 1 year ago

cc: @michaelDCurran this might have to be discussed with Microsoft I guess.

Qchristensen commented 1 year ago

Just had this reported by another user, and in testing with their document and creating a blank document myself, I can confirm the original issue using:

NVDA 2023.1.0.27913

Windows 11 (64-bit) Version: 22H2, Build: 22621.1702

Office 365 (64-bit) Version: 16.0.16327.20200

As I try navigating the table with control+alt+down arrow, when I try to move to the row which spans across the page break, the log shows:

Using UIA due to suitable Office version: (16, 0, 16327) IO - inputCore.executeGesture (10:29:18.866) - winInputHook (14420): Input: kb(desktop):alt+control+downArrow ERROR - NVDAHelperLocal (10:29:19.016) - MainThread (21712): Thread 21712, build\x86\UIARemote\UIARemote.cpp, msWord_getCustomAttributeValue, 95: Error in scope.Resolve: code -2146233079

With those two errors repeated a bunch of times before:

IO - speech.speech.speak (10:33:08.799) - MainThread (17960): Speaking [LangChangeCommand ('en_GB'), 'Edge of table'] DEBUGWARNING - synthDrivers.sapi5.SynthDriver.speak (10:33:08.802) - MainThread (17960): Unsupported speech command: LangChangeCommand ('en_GB') DEBUG - watchdog._waitUntilNormalCoreAliveTimeout (10:33:09.071) - watchdog (21696): Potential freeze, waiting up to 10 seconds. IO - speech.speech.speak (10:33:09.076) - MainThread (17960): Speaking [LangChangeCommand ('en_GB'), 'line -1', '1.', 'TEXT IN THE CELL BEFORE THE PAGE-CROSSING ROW', 'line 35', ' ', 'line -1', 'MORE TEXT']