Closed Bug 400577 Opened 19 years ago Closed 4 years ago

Link loses focus after using back button, tabbing jumps back to top of page

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: phiw2, Unassigned)

Details

(Keywords: access, regression)

test case: https://bugzilla.mozilla.org/attachment.cgi?id=285089 (turn FKA -Full Keyboard Access in the system prefs if you haven't). tab through the links, follow a link, come back (back button): use tab again: the first link on the page is focussed, instead of the next link. Ideal testing: long forum listings or long search-result pages in Bugzilla Expected: the link that was just followed is still focussed (focus ring), tab again should access the next link. Actual result: using tab again --> focus jumps to the top of the page. The 'lost focus ring' is also visible to mouse users: after the coming back to a page, the focus ring around a link should still be visible. Minefield PPC regressed: fails: 20070620-04 Minefield/3.0a6pre works: 20070619-04 Minefield/3.0a6pre http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2007-06-19+03%3A30%3A00&maxdate=2007-06-20+04%3A00%3A00&cvsroot=%2Fcvsroot bug 384513 ? (re-enable libXUL ??? Actually, I have no idea...). Camino Trunk PPC has a similar issue (bug 400005), but that regressed much later. Keeping things separated for now
Flags: blocking1.9?
Flags: blocking1.9? → blocking1.9+
Priority: -- → P3
Assignee: nobody → joshmoz
Component: History: Session → Widget: Cocoa
Flags: tracking1.9+ → blocking1.9?
Priority: P3 → P2
QA Contact: history.session → cocoa
Flags: wanted-next+
Assignee: joshmoz → smichaud
Flags: blocking1.9? → blocking1.9+
Philippe, I can't reproduce this in today's Minefield nightly. Can you still reproduce it? Here's hoping that it's self-healed :-) (I also tried reproducing in today's Camino trunk nightly, but Camino doesn't appear to pay any attention to the "Full keyboard access" setting (in the Keyboard & Mouse preference panel).)
I should add that I tested on both OS X 10.4.11 and 10.5.2, each time with a fresh profile.
Flags: blocking1.9+ → blocking1.9-
Please renominate for blocking or wanted1.9.0.x if we can reproduce this again and somebody thinks it might deserve blocking or wanted status.
I can reproduce this on builds from yesterday on some pages, but not on others. E.g. http://www.google.com works but http://en-us.www.mozilla.com/en-US/firefox/3.0b5pre/firstrun/ shows the bug. (In Camino, you have to choose "Tab selects: All form controls and links" in the Web Features prefPane.)
I get the same results, in today's Minefield and Camino trunk nightlies (the latter with your suggested settings change). But I also get the same results on Windows (with a fairly recent trunk nightly). What you saw with the firstrun page must be a cross-platform bug.
Testing with 10.5.2 (Intel) With Minefield it now mostly works correctly, as far as I can tell. Some pages fail because of no cache headers and similar (ex. http://www.guardian.co.uk/world, but also article linked from there - in case of individual articles, there might be something more, though. It would be strange to send no-cache headers on those) In Camino, I don't know. Most of the time I'm bitten by bug 185385 (or something very close), where the focus ends up on the bookmark bar. Back when I had access to a PPC/10.4.11 machine, I didn't experience that bug (185385), but this bug (400577) was always reproducible. That was until the end of January.
> http://www.guardian.co.uk/world I see the problem with this site ... but once again on both OS X and Windows.
Moving to DOM/All based on Steven's comments.
Assignee: smichaud → nobody
Component: Widget: Cocoa → DOM
OS: Mac OS X → All
Priority: P2 → --
QA Contact: cocoa → general
Hardware: Macintosh → All
This bug is still here. Strange is on some sites like http://www.mikrocontroller.net/forum on the first page, going back sets the focus again to the selected link (the bug seems to be fixed), but on sub-forums going back does not set the focus to the selected link. Like the OP, I really appreciate if this would get corrected.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML

Hi,
@Philippe, is this issue still reproducible on your end or it is not relevant anymore and it can be closed?
Thanks!

Flags: needinfo?(phiw2)

Redirect a needinfo that is pending on an inactive user to the triage owner.
:kmag, since the bug has high severity, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(phiw2) → needinfo?(kmaglione+bmo)
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(kmaglione+bmo)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.