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 414762 - [blocked] Up/Down Arrow don't always work in Firefox
[blocked] Up/Down Arrow don't always work in Firefox
Status: RESOLVED NOTGNOME
Product: orca
Classification: Applications
Component: general
2.21.x
Other All
: High major
: ---
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
https://bugzilla.mozilla.org/show_bug...
Depends on:
Blocks: 404403
 
 
Reported: 2007-03-05 01:53 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2010-04-02 15:02 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
proposed patch (3.48 KB, patch)
2008-01-12 07:00 UTC, Joanmarie Diggs (IRC: joanie)
reviewed Details | Review
handle bogus last objects (3.87 KB, patch)
2008-01-13 01:01 UTC, Joanmarie Diggs (IRC: joanie)
committed Details | Review

Description Joanmarie Diggs (IRC: joanie) 2007-03-05 01:53:32 UTC
position: absolute interferes with keyboard navigation within page content.  In particular Control Home/End do not always work -- or if they work, they do not always take you to the beginning/end of the page content.  Similarly, Up/Down Arrow cannot be relied upon to navigate among an entire page's contents when position: absolute is used.  See this Firefox bug:  https://bugzilla.mozilla.org/show_bug.cgi?id=372624
Comment 1 Joanmarie Diggs (IRC: joanie) 2007-03-05 01:55:19 UTC
Will, do you think we should try to script around this, or block it against the bug I filed against Firefox?
Comment 2 Willie Walker 2007-03-05 14:53:56 UTC
I think we should keep hammering on the Firefox folks to fix their bugs.  :-) 
Comment 3 Willie Walker 2007-05-25 16:27:18 UTC
Removing target milestone from [blocked] bugs.  We have little control over them, so we're better off letting priority and severity be our guide for poking the related components.
Comment 4 Joanmarie Diggs (IRC: joanie) 2007-12-03 19:05:17 UTC
Going through my bugs to see where I'm at with things.  This one has a target milestone of 2.21.90.  The reason we're blocked is busted caret navigation (in particular, problems surrounding floats and position:absolute).  

What should I be trying to achieve w.r.t. this bug for 2.21.90, clever hacking or gentle poking? :-)
Comment 5 Willie Walker 2007-12-04 23:48:09 UTC
> What should I be trying to achieve w.r.t. this bug for 2.21.90, clever hacking
> or gentle poking? :-)

I prodded for you.  I'd like to see the FF stuff get fixed at the source if possible.  If the FF folks cannot fix it, and this particular bug happens very frequently on a large number of pages, and we can work around it, then we should try.  But, let's see what they have to say first.  Thanks!
Comment 6 Joanmarie Diggs (IRC: joanie) 2008-01-12 07:00:46 UTC
Created attachment 102649 [details] [review]
proposed patch

> I prodded for you.  

Nobody expects the Spanish Inquisition.... ;-)

> I'd like to see the FF stuff get fixed at the source if possible.  

Agreed.

> If the FF folks cannot fix it, 

I don't believe that for a moment.

> and this particular bug happens very frequently on a large number of pages, 

Between broken caret navigation and CSS positioning preventing it, I'd say it happens on more pages than not, and users on the list have mentioned it a number of times.

> and we can work around it, then we should try.  

Attached.  Because we're taking over Control+Home and Control+End, we've got keybindings, and hence new strings.  But this is an easy one so I suggest we get it in for 2.21.5.

> But, let's see what they have to say first.

I've not heard a response other than fixing caret navigation is hard. :-(

Mike please test.
Comment 7 Willie Walker 2008-01-12 16:41:24 UTC
I think the patch looks great (thanks!).  If it tests well with Mike, I say commit and make sure you send out a string change announcement.  Thanks!
Comment 8 Joanmarie Diggs (IRC: joanie) 2008-01-13 01:01:40 UTC
Created attachment 102701 [details] [review]
handle bogus last objects

Mike IMed me to let me know that going to the end wasn't working on overstock.com.  I took a look.  I hate poorly-coded pages and bogus hierarchies.... <smile>

getLastObject() returns the very last object in the document frame.  This object should have no children.  Therefore, it should have text where we can place our caret.  What's different in this patch is that getBottomOfFile() looks for that text and if it doesn't find it, it assumes bogusity and looks to the previous object.

Mike please test.  Thanks!
Comment 9 Mike Pedersen 2008-01-13 02:37:07 UTC
After testing the patch to 506360 I'm happy with this patch as well. 
Comment 10 Joanmarie Diggs (IRC: joanie) 2008-01-13 03:34:43 UTC
Thanks Mike.  Patch committed. Can't quite move this to pending I guess since we still have broken caret navigation issues that we're tracking. :-(  But I can take the "control home/end" bit off now. ;-)

Will:  I've will probably have several string announcements to make so I'll do them all at once.  But it's noted down. :-)
Comment 11 Joanmarie Diggs (IRC: joanie) 2008-01-18 08:41:12 UTC
Changing the target to FUTURE as the Control+Home/End patch was part of 2.21.5 and we're blocked w.r.t. the Up/Down Arrow issues.  (This is not the new line nav bug, but a tracking bug related to position:absolute and floats interfering with Mozilla/Gecko caret navigation.)
Comment 12 Joanmarie Diggs (IRC: joanie) 2010-04-02 15:02:38 UTC
The purpose of keeping "blocked" bugs open is to track bugs in other modules which we cannot work around within Orca and which we have some expectation of eventually seeing a fix.

In this case of this particular bug, we've worked around many of the problems and will do our best to work around others as we discover them. Plus, I see no indication that this issue will ever be resolved on the Gecko side of things. :-( In addition, as specific problems related to line navigation have been discovered, we've opened new bugs in b.g.o to address them.

For these reasons, I'm closing this tracking bug out as it is serving no real purpose.