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 434636 - getPrevAcc() returns wrong element on first table cell
getPrevAcc() returns wrong element on first table cell
Status: RESOLVED FIXED
Product: lsr
Classification: Deprecated
Component: core
unspecified
Other Linux
: Normal normal
: 0.5.2
Assigned To: Luiz Rocha
LSR maintainers
Depends on:
Blocks: lsr-review
 
 
Reported: 2007-04-30 16:11 UTC by Scott Haeger
Modified: 2007-05-03 11:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for getPrevAcc returns wrong element on first table cell (1.09 KB, patch)
2007-05-02 22:15 UTC, Luiz Rocha
committed Details | Review

Description Scott Haeger 2007-04-30 16:11:37 UTC
getPrevAcc() returns the wrong element when the task_por is on the first table cell (row 0 col 0).  Currently, getPrevAcc() returns the last cell of the same table instead of the previous accessible in the tree.

Note:  This bug was found in Firefox.  GTK tables have not been tested.
Comment 1 Peter Parente 2007-04-30 18:11:30 UTC
Luiz,

Can you look at this bug for 0.5.2? I suspect it's an easy problem to replicate and fix.
Comment 2 Luiz Rocha 2007-05-02 22:15:27 UTC
Created attachment 87412 [details] [review]
patch for getPrevAcc returns wrong element on first table cell

Patch adjusts AccessibleWalker._getParent method to return the parent accessible instead of trying to get and return the parent last child.

Also took the liberty to remove the workaround in FirefoxPerk.py

Tested on minefield/tables.html.