File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818import gui .contextHelp
1919from speech import sayAll
2020import review
21- from scriptHandler import willSayAllResume , script
21+ from scriptHandler import willSayAllResume , script , isScriptWaiting
2222import textInfos
2323import speech
2424import 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 )
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments