[orca] Don't notify when focus changes due to char nav in content editable objects



commit 54691020db378a4659e7fa7e2bcc440b506aeef4
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sat Dec 2 16:57:15 2017 -0500

    Don't notify when focus changes due to char nav in content editable objects

 src/orca/scripts/web/script.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index 25a77fe..f199417 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -1411,7 +1411,8 @@ class Script(default.Script):
             msg = "WEB: In content editable with embedded objects"
             debug.println(debug.LEVEL_INFO, msg, True)
             self.utilities.setCaretContext(obj, offset)
-            orca.setLocusOfFocus(event, event.source, True)
+            notify = not self.utilities.lastInputEventWasCharNav()
+            orca.setLocusOfFocus(event, event.source, notify)
             return False
 
         text = self.utilities.queryNonEmptyText(event.source)


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