Skip to content

Commit cfaf971

Browse files
Merge 858084a into df6bd07
2 parents df6bd07 + 858084a commit cfaf971

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

source/cursorManager.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import gui.contextHelp
1919
from speech import sayAll
2020
import review
21-
from scriptHandler import willSayAllResume, script
21+
from scriptHandler import willSayAllResume, script, isScriptWaiting
2222
import textInfos
2323
import speech
2424
import config
@@ -145,6 +145,10 @@ def _caretMovementScriptHelper(
145145
extraDetail=False,
146146
handleSymbols=False,
147147
):
148+
if isScriptWaiting():
149+
# Moving / reporting is quite costly, so we don't want to do it if there are more scripts waiting.
150+
# Otherwise, NVDA could become unusable while it processes many backed up scripts.
151+
return
148152
oldInfo = self.makeTextInfo(posConstant)
149153
info = oldInfo.copy()
150154
info.collapse(end=self.isTextSelectionAnchoredAtStart)

user_docs/en/changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ The available options are:
4343
* It is now possible to use braille display routing keys to move the text cursor. (#9101)
4444
* It is now possible to use the review cursor selection commands to select text.
4545
* Updating NVDA while add-on updates are pending no longer results in the add-on being removed. (#16837)
46+
* NVDA no longer becomes unresponsive if holding down an arrow key for a long time while in NVDA browse mode, in particular Microsoft word. (#16812)
4647

4748
### Changes for Developers
4849

0 commit comments

Comments
 (0)