[orca] Always update locusOfFocus when caret moves to do scrolling



commit c128e7457a39a69bbc48648034c1508260aa675e
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Jul 2 06:51:31 2018 -0400

    Always update locusOfFocus when caret moves to do scrolling

 src/orca/scripts/web/script.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index b2a7c908c..4dc07ff79 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -1422,7 +1422,7 @@ class Script(default.Script):
             msg = "WEB: Event handled: Caret moved due to scrolling"
             debug.println(debug.LEVEL_INFO, msg, True)
             self.utilities.setCaretContext(obj, offset)
-            orca.setLocusOfFocus(event, obj, force=self.utilities.isPlainText())
+            orca.setLocusOfFocus(event, obj, force=True)
             return True
 
         if self.utilities.isContentEditableWithEmbeddedObjects(event.source):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]