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 642996 - Gecko script cursor navigation broken for ff4
Gecko script cursor navigation broken for ff4
Status: RESOLVED NOTGNOME
Product: orca
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-22 20:16 UTC by Fernando Herrera
Modified: 2011-03-03 12:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fernando Herrera 2011-02-22 20:16:36 UTC
Steps:
1.- Open firefox 4
2.- Go to http://mail.gnome.org/archives/gtk-devel-list/2011-February/msg00055.html
3.- Press down. Orca moves the caret and speaks the line "[Date Prev][Date Next] ..." correctly
4.- Press down. Orca does not move the caret neither speaks the line with the mail subject

It you use firefox 3 it works.

On ff4, on step 4, goNextLine gets no object from findNextLine <- findNextCaretInOrder , so probably it is related on tree traversing (either ff4 a11y tree changed something the script was relying on or something ff4 is doing wrongly)
Comment 1 Fernando Herrera 2011-02-23 16:16:52 UTC
Actually it's ff4 fault :)

ff3 gives for the document frame:
t.getTextAtOffset(1, TEXT_BOUNDARY_LINE_START)
('[\xef\xbf\xbc][\xef\xbf\xbc] \xc2\xa0 [\xef\xbf\xbc][\xef\xbf\xbc] \xc2\xa0 [\xef\xbf\xbc] [\xef\xbf\xbc] [\xef\xbf\xbc] ',  1, 31)

which builds a proper orca currentLine object.

ff4 for the same document frame:

t.getTextAtOffset(1, TEXT_BOUNDARY_LINE_START)
('[\xef\xbf\xbc][\xef\xbf\xbc] \xc2\xa0 [\xef\xbf\xbc][\xef\xbf\xbc] \xc2\xa0 [\xef\xbf\xbc] [\xef\xbf\xbc] [\xef\xbf\xbc] \xef\xbf\xbc\xef\xbf\xbc\xef\xbf\xbc\xef\xbf\xbc\xef\xbf\xbc\xef\xbf\xbc\xef\xbf\xbc\xef\xbf\xbc[\xef\xbf\xbc][\xef\xbf\xbc] \xc2\xa0 [\xef\xbf\xbc][\xef\xbf\xbc] \xc2\xa0 [\xef\xbf\xbc] [\xef\xbf\xbc] [\xef\xbf\xbc] ', 1, 69)

which build an orca currentLine with the whole document.
Comment 2 Fernando Herrera 2011-03-03 12:18:07 UTC
Filled by Trevor as https://bugzilla.gnome.org/show_bug.cgi?id=642996