Closed Bug 50776 Opened 24 years ago Closed 24 years ago

The back button should remember where on the page you were

Categories

(Core :: DOM: Navigation, defect, P3)

x86
Windows 2000
defect

Tracking

()

VERIFIED DUPLICATE of bug 46877

People

(Reporter: chris, Assigned: radha)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20000829 BuildID: 2000082915 When you go to a new page from one that you have scrolled down to see, the browsers' history should remember the position on the old page that you were at. For example, if you're halfway down a page, and follow a link to another page, then using the back button should go to that position halfway down the page. This doesn't happen. Instead, any time you click the back button, it positions right at the top of the page, and you have to scroll down to see what you were looking at previously. Strangely, the forward button works properly. Reproducible: Always Steps to Reproduce: 1.Open a page that's too large to fit on screen at once. 2.Scroll down to an arbitrary place on the page. 3.Go to a different page. 4.Scroll down to an arbitrary place on the page. 5.Use the back button. The page should be scrolled to the place you were at before, but instead it shows the top of the page. 6.Use the forward button. The page that now appears it scrolled to the place you were at.
Are you sure this doesn't depend on the page that you are opening? For some reason, some pages, such as bugzilla's query results, always scroll to the top.
hmm...could you give an example of a page? This is a known problem on Bugzilla query lists, but this should be working on other pages (odd that it works with Forward but not Back).
Assignee: asa → radha
Component: Browser-General → History
QA Contact: doronr → claudius
I've been seeing this behavior (going to top of page when "Back" button is hit) with all of the recent M18 builds, in particular 2000100806. It happens on all long pages that I have recently used (bugzilla search results, slashdot, freshmeat, W3C HTML spec, and many others). This is a very annoying bug from a usability standpoint. Is the fact that this is currently broken related to the fact that scrolling to anchors is broken? Or is it distinct? By the way, when going "forward" Mozilla also scrolls to the top of the page.
Could this be dupe of 55033
Sounds like an exact dup of bug 46877 - Eric Vaughan came up with a fix that seems to work for this. :) Boris, the scrolling to anchors bug is bug 55244, and Adam Lock has a fix for that one. *** This bug has been marked as a duplicate of 46877 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
vrfy dup
Status: RESOLVED → VERIFIED
Component: History: Session → Document Navigation
QA Contact: claudius → docshell
You need to log in before you can comment on or make changes to this bug.