[orca/gnome-41] Event Manager: Handle text-attributes-changed event flood



commit f4d7239e0b66ed17ef6b2153a235cb91b2b204d3
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Dec 6 12:28:31 2021 +0100

    Event Manager: Handle text-attributes-changed event flood
    
    Chromium seems to spew these during find-in-page. Attempting to process
    them even enough to discard them makes Orca non-responsive.

 src/orca/event_manager.py | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index 79f100440..aebad94eb 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -787,6 +787,7 @@ class EventManager:
                   "object:text-changed:insert",
                   "object:text-changed:delete:system",
                   "object:text-changed:insert:system",
+                  "object:text-attributes-changed",
                   "object:children-changed:add",
                   "object:children-changed:add:system",
                   "object:property-change:accessible-name",
@@ -815,6 +816,7 @@ class EventManager:
                   "object:text-changed:insert",
                   "object:text-changed:delete:system",
                   "object:text-changed:insert:system",
+                  "object:text-attributes-changed",
                   "object:children-changed:add",
                   "object:children-changed:add:system",
                   "object:property-change:accessible-name",


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