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



Thanks Mike!

It would be nice to get to the bottom of whether or not it's a
Mozilla/Gecko bug or a libatspi bug. In the meantime, I've committed
your work-around.

Take care.
--joanie

On Mon, 2011-12-05 at 11:25 -0500, Mike Gorse wrote:
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 = \
_______________________________________________
orca-list mailing list
orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp






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