Re: [orca-list] problems with the focus
on the eclipse
Sent by:
orca-list-bounces gnome org
Hey José.
Thanks for the follow-up. That makes a lot of sense. Orca by default
ignores object:text-caret-moved events from objects which are not the
locusOfFocus. Otherwise we'd be announcing all sorts of nonsense....
As I'm gathering you have figured out, had a focus: event and/or an
object:state-changed:focused event with detail1 == 1 been emitted by the
text object in question, we would've updated the locusOfFocus and thus
not ignored the subsequent caret-moved events that you've discovered
we're getting.
While we *could* try to handle this within Orca, doing so would be a
hack. Therefore, if you haven't already done so, could you please file
a
bug with your findings against Eclipse?
Thanks again for all your help!
--joanie
On Tue, 2010-05-04 at 23:20 -0300, jose vilmar estacio de souza wrote:
> Hi joanie,
> Looking in the debug.out I found the following:
>
> 1. When I alt+tab to eclipse no EVENT focus seems to be fired.
> 2. When I press the up/down keys the EVENT object:text-caret-moved
is
> fired but no text is generated.
> 3. When I press ctrl_+shift+tab the EVENT focus is fired and text
is
> generated.
> 4. When I press the tab key the EVENT focus is fired and text is generated.
> 5. When I press the up key the EVENT object:text-caret-moved is fired
> and text is generated.
>
> It seems the problem only happens when the window is activated.
> Thanks!
>
> On 05/04/2010 05:05 PM, Joanmarie Diggs wrote:
> > Hey José.
> >
> > On Tue, 2010-05-04 at 16:10 -0300, José Vilmar Estácio de Souza
wrote:
> >
> >> I don't know who is the guilt, orca or eclipse.
> >> Probably both!
> >>
> > Have you looked at a full debug.out captured whilst reproducing
the
> > problem?
> >
> > 1. If you see the keyevents present but no object events resulting
-- or
> > none of the expected and appropriate events resulting -- then
it's
> > likely an eclipse bug.
> >
> > 2. If you see appropriate events (with the appropriate states),
but Orca
> > is not presenting them, then it would be an Orca RFE because
at the
> > moment we don't have a custom script for Eclipse. One might be
in order.
> >
> > 3. If you see a traceback, that would be Orca.
> >
> > I hope it winds up being item 2.<smile>
> >
> > --joanie
> >
> >