Magnifier (gnome-mag) doesn't get focus in firefox

Bug #36013 reported by Aurelian Radu
16
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Fix Released
High
firefox (Ubuntu)
Invalid
Medium
Mozilla Team

Bug Description

Install gnopernicus, gnome-mag. Enable accessibility support (with magnifier option checked). Open gnopernicus and firefox. Type anything in the firefox address bar or upper-right corner search box. Magnifier doesn't get focus to where you type. Focus jumps to the upper-left corner of the screen. The same happens when typing in any web page. Exception: on Gmail and Yahoo! Mail login pages, magnifier gets focus ONLY for the password field, not the User/Email field. In ubuntuforums, when trying to reply using the quick reply button, gnome-mag does not react: focus stays on the mouse pointer. But if you click on "Switch Editor Mode" button in the upper-right corner of the reply field and then type your reply, magnifier focus jumps to the upper-left corner of the screen.

Revision history for this message
In , Reed Loden (reed) wrote :

(In reply to comment #0)
> Could you create another category for Accessibility?

We have a "Disability Access" component that this would fall under. Moved to it.

Revision history for this message
In , Ginn-chen (ginn-chen) wrote :

Like a dupe of bug 172674

Revision history for this message
In , Evan Yan (evan-yan) wrote :

Created attachment 205718
deal with the situation when there is no text to get

this bug is caused by two things:
1. In nsMaiInterfaceText.cpp:getCharacterExtentsCB, it should be "if(!accText)" but not "if(accText)". This has been fix by some patch from Ginn Chen for another bug.
2. When user deleted all the text in a text box, nsAccessibleText::GetCharacterExtents() will end with error, Which the attached patch deals with.

Revision history for this message
In , Jason Grieves (jasongrieves) wrote :

(In reply to comment #3)

Thanks so much! This bug does a much better job keeping up with me. However as I type this bug in this box, it does not bring hte focus back correctly when it reaches the end of a line. Instead it appears to out of bounds and loses focus completely. The product is much more usable however to the gnome-mag screen magnifier.

> Created an attachment (id=205718) [edit]
> deal with the situation when there is no text to get
>
> this bug is caused by two things:
> 1. In nsMaiInterfaceText.cpp:getCharacterExtentsCB, it should be "if(!accText)"
> but not "if(accText)". This has been fix by some patch from Ginn Chen for
> another bug.
> 2. When user deleted all the text in a text box,
> nsAccessibleText::GetCharacterExtents() will end with error, Which the attached
> patch deals with.
>

Revision history for this message
In , Evan Yan (evan-yan) wrote :

I think that is another bug. And I filed bug 320357 for that.

(In reply to comment #4)
> Thanks so much! This bug does a much better job keeping up with me. However
> as I type this bug in this box, it does not bring hte focus back correctly when
> it reaches the end of a line. Instead it appears to out of bounds and loses
> focus completely. The product is much more usable however to the gnome-mag
> screen magnifier.
>

Revision history for this message
In , Aaronleventhal (aaronleventhal) wrote :

How can this fix anything for ZoomText if the patch is only in the atk directory? That's not built for Windows.

Revision history for this message
In , Evan Yan (evan-yan) wrote :

In fact, I have tested the bug under windows, and can reproduce it.

User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

Revision history for this message
In , Evan Yan (evan-yan) wrote :

sorry for the typo.
I can NOT reproduce the bug under windows.

(In reply to comment #7)
> In fact, I have tested the bug under windows, and can reproduce it.
>
> User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8)
> Gecko/20051111 Firefox/1.5
>

Revision history for this message
In , Ginn-chen (ginn-chen) wrote :

Jason, can reproduce this bug with latest trunk and Zoomtext on Windows?

Revision history for this message
In , Ginn-chen (ginn-chen) wrote :

Checking in nsAccessibleText.cpp;
/cvsroot/mozilla/accessible/src/atk/nsAccessibleText.cpp,v <-- nsAccessibleText.cpp
new revision: 1.26; previous revision: 1.25
done

Revision history for this message
In , Jason Grieves (jasongrieves) wrote :

(In reply to comment #9)
> Jason, can reproduce this bug with latest trunk and Zoomtext on Windows?
>
I believe this is fixed in the latest trunk and latest Zoomtext. I have contacted a fellow Zoomtext user who will open a new bug if he experienced any other problems.

Thanks for the fix!

Revision history for this message
In , Ginn-chen (ginn-chen) wrote :

Comment on attachment 205718
deal with the situation when there is no text to get

Firefox is unusable with gnome magnifier when trying to inputs something.

Risk is low.

See also Bug 317482

Revision history for this message
In , Ginn-chen (ginn-chen) wrote :

Checking in src/atk/nsAccessibleText.cpp;
/cvsroot/mozilla/accessible/src/atk/nsAccessibleText.cpp,v <-- nsAccessibleText.cpp
new revision: 1.24.8.1; previous revision: 1.24
done

Revision history for this message
Aurelian Radu (linbetwin) wrote :

Install gnopernicus, gnome-mag. Enable accessibility support (with magnifier option checked). Open gnopernicus and firefox. Type anything in the firefox address bar or upper-right corner search box. Magnifier doesn't get focus to where you type. Focus jumps to the upper-left corner of the screen. The same happens when typing in any web page. Exception: on Gmail and Yahoo! Mail login pages, magnifier gets focus ONLY for the password field, not the User/Email field. In ubuntuforums, when trying to reply using the quick reply button, gnome-mag does not react: focus stays on the mouse pointer. But if you click on "Switch Editor Mode" button in the upper-right corner of the reply field and then type your reply, magnifier focus jumps to the upper-left corner of the screen.

Revision history for this message
Aurelian Radu (linbetwin) wrote :

I know there's a bug filed by Jason Grieves in the Mozilla Bugzilla and I think one of the developers provided a fix, but the fix didn't make it into Dapper yet.

Revision history for this message
Phil Bull (philbull) wrote :

Do you have a link to that bug, Aurelian?

Revision history for this message
Aurelian Radu (linbetwin) wrote :

Thank you for replying, Phil! Here is the link:

https://bugzilla.mozilla.org/show_bug.cgi?id=317213

This bug is present in all versions of Firefox and gnome-mag/gnopernicus, on all disrtibutions I've tested (Ubuntu 5.04, 5.10, 6.06, SUSE 10.0, Mandrakelinux 10.2, Mandriva 2006.0, FC 5, etc.). Firefox is not 100 % accessible in Windows either (using the Windows magnifier, not ZoomText) but it's really unusable with gnome-mag/gnopernicus under Linux.

Revision history for this message
Phil Bull (philbull) wrote :

Thanks for the reply, I'm confirming the bug.

Changed in firefox:
status: Unconfirmed → Confirmed
Changed in firefox:
status: Unknown → Fix Released
Revision history for this message
David Farning (dfarning) wrote :

Is this still an issue? Upstream is reporting it as fixed as if Feb of 2006.

Thanks
David

Changed in firefox:
assignee: nobody → dfarning
status: Confirmed → Needs Info
David Farning (dfarning)
Changed in firefox:
assignee: dfarning → mozillateam
Revision history for this message
John Vivirito (gnomefreak) wrote :

Thank you for the bug report. However I haven't heard back from you in 30 days. We are now going to close this report - please reopen if necessary when you have more information at hand.

Changed in firefox:
status: Needs Info → Rejected
Changed in firefox:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.