11

In Mozilla Firefox suppose I am viewing Page Number 5 from the questions list and then I opened one of the questions from that page, then, when I pressed back button from browser address bar then it takes me back to Page Number 1 instead of Page Number 5. This thing works perfectly in Google Chrome Browser though.

System Specs:

Windows 10

Browsers: Firefox 50.1.0, Chrome

Here is a gif recorded for the same

Error GIF

21
  • 1
    Seems to work for me on Firefox 50 on Ubuntu
    – rjdkolb
    Commented Dec 21, 2016 at 7:52
  • not in windows though Commented Dec 21, 2016 at 7:57
  • Which version of Firefox ?
    – rjdkolb
    Commented Dec 21, 2016 at 7:58
  • added in question though 50.1.0 Commented Dec 21, 2016 at 7:59
  • It works for me in Waterfox on Windows. Can't imagine why it'd be different in Firefox.
    – Cody Gray Mod
    Commented Dec 21, 2016 at 9:08
  • Works for me with Firefox 50.1.0 on Windows 10.
    – user247702
    Commented Dec 21, 2016 at 9:11
  • not working for me though. Go to last page and enter any question from that page, and then click back button and then it opens the first page. Commented Dec 21, 2016 at 9:28
  • @CodyGray added a gif for the same. Please check Commented Dec 21, 2016 at 9:42
  • What do you see when you right-click the back button? Does the second entry point to the page you last loaded, or does it point to page 1? What happens when you use the Backspace key instead of clicking the button, does it work correctly then?
    – user247702
    Commented Dec 21, 2016 at 9:48
  • @Stijn on back button click as well as backspace click I always see page 1. Commented Dec 21, 2016 at 9:50
  • OK, try with a clean profile then and see if you still have the problem. If it disappears, try disabling the extensions of your current profile.
    – user247702
    Commented Dec 21, 2016 at 9:54
  • @Stijn clean profile means? Clearing cache? Commented Dec 21, 2016 at 9:56
  • See Firefox Help, just follow the steps to create a new profile. (Don't delete your current one!)
    – user247702
    Commented Dec 21, 2016 at 9:57
  • 2
    Well this confuses me to no end, because the jump-to-page-1 happens for me too... in Chrome on two different OSes. Both the SO main page and the meta question list do it, only the site search preserves page numbers on navigating back to it. And I thought that was quite normal since the question list pagination bars don't alter the URL in any way.
    – Gimby
    Commented Dec 21, 2016 at 10:45
  • 4
    Vivek and @Gimby: do you perhaps use the new navigation? That one has a bug. For Vivek, I guess you didn't log in with the new Firefox profile when testing, which would explain what's happening.
    – user247702
    Commented Dec 21, 2016 at 12:07

1 Answer 1

2

This is probably a session/storage issue and it needs to be addressed inside Javascript. I had this issue before, and I had to add compatibility checks, as history sessions are handled differently by different browsers.

It could also be an extension or a module.

Just FYI, it works as expected for me, both with enabled and disabled extensions.

Not the answer you're looking for? Browse other questions tagged .