[orca] Attempt to detect and handle ":system" event type floods



commit 40af230c3f873217ec1ef170f26e073d9aad5a49
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Jun 3 15:49:33 2015 -0400

    Attempt to detect and handle ":system" event type floods

 src/orca/script.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/script.py b/src/orca/script.py
index dd76772..05e1ae3 100644
--- a/src/orca/script.py
+++ b/src/orca/script.py
@@ -416,6 +416,9 @@ class Script:
              and event.detail1 == cachedEvent.detail1:
             skip = True
             reason = "more recent event of the same type in a different object"
+        elif event.type.endswith("system") and event.source == cachedEvent.source:
+            skip = True
+            reason = "more recent system event in the same object"
 
         if skip:
             debug.println(debug.LEVEL_FINE,


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