Re: [orca-list] my thoughts/decisions about orca



There's something going wrong with AT-SPI caching children. Either Mozilla is sometimes not sending children-changed events when objects are added or removed, or libatspi isn't properly updating its cache. I can't say which for sure--I haven't taken the time to track it down.

This patch to Orca should help in the meantime:

diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index ae0062f..3955213 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -279,6 +279,8 @@ class Script(default.Script):
         self.preMouseOverContext = [None, -1]
         self.inMouseOverObject = False

+        app.setCacheMask(pyatspi.cache.ALL ^ pyatspi.cache.CHILDREN)
+
     def activate(self):
         """Called when this script is activated."""
         self.savedEnabledBrailledTextAttributes = \



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