nvda
2214557f - Fix reporting of native Word commands to jump to table boundaries (#15809)

Commit
2 years ago
Fix reporting of native Word commands to jump to table boundaries (#15809) Closes #15805 Summary of the issue: In older versions of NVDA, NVDA was providing a speech feedback of the landing cell when using Word native commands for table navigation to jump to first or last cell of row or column: alt+home, alt+end, alt+pgUp and alt+pgDown. From NVDA 2023.2 onwards, this speech feedback is erroneous and reports the origin cell instead of the landing one. This is because the script for this commands was not robust and was taking advantage of existing delays in NVDA processing. in NVDA 2023.2 these delays have been reduced what uncovered this bug. Description of user facing changes The landing cell will be reported correctly again when using native Word table navigation to jump to first or last cell of row or column. Description of development approach Strategy inspired from #14984: send the gesture and check if the cursor location has changed before reporting its new position. If the cursor does not move, e.g. because you call a command to jumpt to first cell while you are already on the first cell, the current cell is reported after a maximum delay set to 0.15 seconds (same value as some other polling scripts).
Author
Parents
Loading