[orca] Ignore "busy" events for editable SeaMonkey documents



commit 4edbb9a37145043858756f31150f0a57704e6623
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Jan 3 11:07:09 2017 -0500

    Ignore "busy" events for editable SeaMonkey documents

 src/orca/scripts/apps/SeaMonkey/script.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/apps/SeaMonkey/script.py b/src/orca/scripts/apps/SeaMonkey/script.py
index 7d6ea8d..06548ee 100644
--- a/src/orca/scripts/apps/SeaMonkey/script.py
+++ b/src/orca/scripts/apps/SeaMonkey/script.py
@@ -42,6 +42,11 @@ class Script(Gecko.Script):
     def onBusyChanged(self, event):
         """Callback for object:state-changed:busy accessibility events."""
 
+        if self.utilities.isContentEditableWithEmbeddedObjects(event.source):
+            msg = "SEAMONKEY: Ignoring, event source is content editable"
+            debug.println(debug.LEVEL_INFO, msg, True)
+            return
+
         table = self.utilities.getTable(orca_state.locusOfFocus)
         if table and not self.utilities.isTextDocumentTable(table):
             msg = "SEAMONKEY: Ignoring, locusOfFocus is %s" % orca_state.locusOfFocus


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