Re: [orca-list] Work around for the gnome-shell switcher issue committed to master



Less verbos is better, panel is not going to help anyone who doesn't already know it's there I don't 
think/good defaults as usual/thanks.


On Fri, Oct 17, 2014 at 03:02:41PM -0400, Joanmarie Diggs wrote:
Hey guys.

As the subject indicates, I've worked around the gnome-shell switcher
issue. The work-around is in master. And I'm pretty sure it won't
introduce any regressions, but I'd love some confirmation before I
commit the change to the stable branch.

For the curious, what broke is apparently the ordering of accessible
events we now get from the switcher. First we're told the selection has
changed, then we're told a gnome-shell window has become activated,
finally we're told a panel just became focused. What we want to present
is being ignored because Orca doesn't know you're in a gnome-shell
window. So I filed https://bugzilla.gnome.org/show_bug.cgi?id=738701
against GNOME Shell.

When a container with selectable children claims focus, Orca
automatically looks for and presents the selected item. So the above bug
should have caused Orca to say "Window" followed by the name of the
initially-selected switcher item. But that code assumes that containers
in which selection of children is possible implements AtkSelection. I
know, how crazy is that? <grins> Turns out the switchers do not, and up
to this point we didn't notice or care because the event ordering put
the selection change last. So I filed another bug against GNOME Shell
asking for AtkSelection to be implemented on at least the switchers:
https://bugzilla.gnome.org/show_bug.cgi?id=738705

What the change I committed does is work around the lack of the
selection interface implementation. As a result, you don't get "Window
panel Firefox push button"; you get "Window Firefox push button." I hope
that's fine with you. If you really want "panel" back, let's wait and
see what event ordering we get out of them for 738701 before I add
another workaround. On the other hand, if you want nameless panels from
GNOME shell to never be mentioned again, let's talk. <smiles>

--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]