After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 442709 - [verified] Need to do "combo box cleanup"/refactor for Firefox
[verified] Need to do "combo box cleanup"/refactor for Firefox
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
2.19.x
Other All
: High normal
: 2.20.0
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
Depends on:
Blocks: 404403
 
 
Reported: 2007-05-31 21:33 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2008-07-22 19:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
proposed patch (20.89 KB, patch)
2007-06-14 16:57 UTC, Joanmarie Diggs (IRC: joanie)
committed Details | Review

Description Joanmarie Diggs (IRC: joanie) 2007-05-31 21:33:51 UTC
There have been quite a few changes to combo boxes in Firefox over the past couple of months, including a large "a11y HTML combo box clean-up" done by Aaron.  Now that things are hopefully stabilizing on the Gecko combo box front, we need to do our own "combo box cleanup" including:

1. Re-examine the existing code and remove things that no longer apply in terms of combo box hierarchy (including in onFocus and the braille and speech generators)

2. Fix some bugs (such as expanded XUL combo boxes not speaking and/or brailling correctly)

3. Cause Alt Down Arrow to give focus to the combo box that contains a focused menu item and then expand that combo box.  See bug #440079.

4. Not say "menu item" for combo boxes (even though a menu item is showing and/or has focus). See bug #440079.

5. Taking STATE_SHOWING  into consideration once it's implemented for menu items within combo boxes (Aaron is working on this currently)

6. Handle additional spurious focus events (should they persist -- this changed in the 29th May build of Firefox) which causes double-speaking.
Comment 1 Joanmarie Diggs (IRC: joanie) 2007-05-31 22:00:50 UTC
7. Figure out why moving into and out of an HTML combo box is so slow -- not just with form field structural navigation, but when tabbing into and/or out of them.
Comment 2 Joanmarie Diggs (IRC: joanie) 2007-06-05 17:04:00 UTC
8. Be sure that structural navigation doesn't kick in when a combo box has focus (i.e. so that one can use first letter navigation to jump to an item)
Comment 3 Joanmarie Diggs (IRC: joanie) 2007-06-14 16:57:36 UTC
Created attachment 89962 [details] [review]
proposed patch

This is the bulk of it:

1. Re-examine the existing code and remove things that no longer apply in terms
of combo box hierarchy (including in onFocus and the braille and speech
generators)

Done.

2. Fix some bugs (such as expanded XUL combo boxes not speaking and/or
brailling correctly)

Done.

3. Cause Alt Down Arrow to give focus to the combo box that contains a focused
menu item and then expand that combo box.  See bug #440079.

Done.

4. Not say "menu item" for combo boxes (even though a menu item is showing
and/or has focus). See bug #440079.

Done.

5. Taking STATE_SHOWING  into consideration once it's implemented for menu
items within combo boxes (Aaron is working on this currently)

Done in one place; I want to see about its applicability to some sluggishness issues.

6. Handle additional spurious focus events (should they persist -- this changed
in the 29th May build of Firefox) which causes double-speaking.

Done.

7. Figure out why moving into and out of an HTML combo box is so slow -- not
just with form field structural navigation, but when tabbing into and/or out of
them.

On pages with really large combo boxes (like certain pages in Bugzilla), I see this sluggishness even if Orca is not running.  But I want to look at this further.

8. Be sure that structural navigation doesn't kick in when a combo box has
focus (i.e. so that one can use first letter navigation to jump to an item)

Done.  Note that we are not getting events, however, so currently focus will move and Orca will not say/braille anything in response.  Aaron has just fixed this so theoretically it should "just work" in the next build of Firefox.  In the meantime, we're no longer jumping out of the combo box like we were.

Mike please test.  In order to test this with the latest build that includes a number of fixes made by Ginn, you may need to do an 'export GNOME_ACCESSIBILITY=1' and then launch Firefox from the command line.

Thanks!
Comment 4 Joanmarie Diggs (IRC: joanie) 2007-06-16 04:17:10 UTC
Re this:

> Done.  Note that we are not getting events, however, so currently focus will
> move and Orca will not say/braille anything in response.  Aaron has just fixed
> this so theoretically it should "just work" in the next build of Firefox.  In
> the meantime, we're no longer jumping out of the combo box like we were.

The Firefox bug fix is in the current build, and the attached patch works with it as expected.
Comment 5 Joanmarie Diggs (IRC: joanie) 2007-06-17 21:45:47 UTC
I was chatting with Will about this.  He has reviewed the patch and suggested that I commit it for inclusion in 2.19.4.  Done.
Comment 6 Mike Pedersen 2007-06-18 20:35:27 UTC
Other than the sluggishness problems in large combos and the problems with first letter navigation that you can do nothing about I'd say this is now working quite well.
Comment 7 Mike Pedersen 2007-06-18 20:44:33 UTC
Ignore my previous comment about first character nav it's just a feature of the sluggishness.  It actually works if you wait long enough.
Comment 8 Joanmarie Diggs (IRC: joanie) 2007-06-19 02:14:55 UTC
Thanks.  Closing this one as FIXED.  I'm going to continue looking at the sluggishness as part of the larger issue of identifying items we should -- and should not -- be progressing through character by character.