Re: [orca-list] my thoughts/decisions about orca
- From: Mike Gorse <mgorse alum wpi edu>
- To: Steve Holmes <steve holmes88 gmail com>
- Cc: orca-list gnome org
- Subject: Re: [orca-list] my thoughts/decisions about orca
- Date: Mon, 5 Dec 2011 11:25:33 -0500 (EST)
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]