Re: [orca-list] Why orca is double echoing some content in firefox?



On Fri, Oct 26, 2012 at 07:34:57AM -0400, Joanmarie Diggs wrote:
The other possibility to what I stated below is that Gecko is only
emitting one caret moved event (i.e. doing the correct thing), but in so
many cases fails to do the correct thing and we are heuristically
failing to identify that in this particular case Gecko is doing what it
should be.

So, when I log it in atspimon.py I see two text caret move events
followed by a focus event and two focus state change events.  Notable
the pairs of text caret move and focus state change events are for the
same accessible.  As I discussed on irc it looks like the duplicate
events are a bug in atspimon.py since when I walk through this in gdb I
clearly see gecko only fire one text caret move and one focus event.

so, assuming orca sees the right thing that is a text caret move a focus
event and then a focus state change event I would guess what is
happening is orca presents info for two of those 3 events.

As I mentioned to you before and stated in bug 652242, Orca's Gecko
script (likely) needs to be totally redone. But that is going to be a
ton of work to sort out what hacks can or should be removed, what hacks
should remain, and what the impact of removing some hacks but not others
will have.

I remember :)  As you said it looks hard, and I'm not particularly good
with either python or orca's internals.

Trev


On 10/26/2012 07:28 AM, Joanmarie Diggs wrote:
Hey Trev.

Are both of those accessibles emitting caret-moved events? If so, that
would explain it. And if so, I suppose I could add yet another hack to
Orca in which we attempt filter this out heuristically. But a better fix
would be for Gecko to only emit caret-moved events for the object in
which the caret moves.

Take care.
--joanie

_______________________________________________
orca-list mailing list
orca-list gnome org
https://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]