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 471878 - ARIA widgets should not echo characters during traversal using arrows
ARIA widgets should not echo characters during traversal using arrows
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: 2.22.0
Assigned To: Scott Haeger
Orca Maintainers
Depends on:
Blocks: 423348
 
 
Reported: 2007-08-30 14:54 UTC by Scott Haeger
Modified: 2008-07-22 19:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
first version of ARIA widgets should not echo characters (1.97 KB, patch)
2007-08-30 15:56 UTC, Scott Haeger
accepted-commit_now Details | Review

Description Scott Haeger 2007-08-30 14:54:18 UTC
The ARIA tree seen here http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/test_Tree.html triggers a caret-moved event that leads to a character echo when expanding/collapsing.  The following is an event log of a single expansion event:

object:text-changed:delete(2, 1, )
source: [tree | ]
application: [application | Minefield]
object:text-changed:insert(2, 1, )
source: [tree | ]
application: [application | Minefield]
object:state-changed:expanded(1, 0, None)
source: [list item | Asia]
application: [application | Minefield]
object:property-change:accessible-parent(0, 0, [tree | ])
source: [list item | Africa]
application: [application | Minefield]
object:children-changed:add(0, 0, [list item | Africa])
source: [tree | ]
application: [application | Minefield]
object:text-caret-moved(0, 0, None)
source: [list item | Asia]
application: [application | Minefield] 

The solution will be to short-circuit this event in onCaretMoved().
Comment 1 Scott Haeger 2007-08-30 15:56:19 UTC
Created attachment 94652 [details] [review]
first version of ARIA widgets should not echo characters 

This patch add a fifth possibility of an early return to onCaretMoved(), this time for ARIA widgets when an arrow key has been pressed. Joanie has added the fourth possibility in another uncommitted patch.  

This patch also fixes the listbox bug seen here http://bugzilla.gnome.org/show_bug.cgi?id=468968
Comment 2 Scott Haeger 2007-09-04 13:55:26 UTC
This fix still looks fine.  However, Firefox is not providing state EXPANDABLE for collapsed branches now.  See https://bugzilla.mozilla.org/show_bug.cgi?id=394868 .  The result of this bug causes 'collapsed' output to fail.
Comment 3 Scott Haeger 2007-09-04 16:17:29 UTC
Will,

This patch fixes this bug and testing can still be done regardless of the Mozilla state EXPANDABLE bug.  This fix impacts many other bug fixes, especially the listbox issues you brought to my attention.  Developing on top of multiple patches is a bit of a pain.  It would help me out a great deal if we could get this one in.
Comment 4 Willie Walker 2007-09-04 21:06:56 UTC
I'll need to test with it some, but this patch looks good to me.  I think it is harmless enough to check into trunk, though.  We can always back things out if needed.
Comment 5 Scott Haeger 2007-09-05 13:42:57 UTC
committed to trunk.