[orca] Eliminate double-speaking of line after document load
- From: Joanmarie Diggs <joanied src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [orca] Eliminate double-speaking of line after document load
 
- Date: Tue,  3 Jan 2017 17:07:57 +0000 (UTC)
 
commit f6a04b06eb8aaae3fb694ec12cd2d74604e3eeea
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Jan 3 12:05:49 2017 -0500
    Eliminate double-speaking of line after document load
 src/orca/scripts/web/script.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index fbd644a..c519bc2 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -1208,6 +1208,10 @@ class Script(default.Script):
             orca.setLocusOfFocus(event, obj)
             return True
 
+        msg = "WEB: Setting locus of focus to context obj %s (no notification)" % obj
+        debug.println(debug.LEVEL_INFO, msg, True)
+        orca.setLocusOfFocus(event, obj, False)
+
         self.updateBraille(obj)
         if state.contains(pyatspi.STATE_FOCUSABLE) and not self.utilities.isDocument(obj):
             msg = "WEB: Not doing SayAll due to focusable context obj %s" % obj
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]