Back is not always taking me to the correct page


(cpradio) #1

Okay, I don’t think this is just me any more. I’ve been having this odd experience on mobile and on a desktop for a few days now here at Meta.

Whenever I use the back button on my mobile (Android using Chrome) or if I use the u shortcut on a desktop, I’m occasionally taken to the wrong page (think 2 pages in my history instead of 1 page back in my history).

I don’t have easily reproducible steps other than, use it for a while and see what happens, but here is my typical workflow that causes it (after you use it for a while)

  1. Navigate to Latest
  2. Click on a topic
  3. Read topic, press u
  4. You should be back to latest
  5. Click on the same topic you just read
  6. Press u
  7. You should be back to latest (but you might not be)
  8. Click on a different topic
  9. Perform steps 3-8 again until issue occurs.

(Jens Maier) #2

The same thing is occasionally happening to me, too, except with my mouse’s back button rather than the u shortcut key.


(cpradio) #3

Awesome, then it isn’t just me :smile:


(Jens Maier) #4

No, it’s not just you, and this isn’t the first time it’s came up:


(TechnoBear) #5

I’ve also been experiencing the same thing, but you know me - I’ve just been assuming I must have done something wrong. Nice to know I’m not alone here after all.


(mountain) #6

Adding more voices that it has happened to me as well. Intermittent but enough to remember. Didn’t know if it was just me or if the Matrix is actually having a glitch, heh.


(Sam Saffron) #7

yeah … this still happens sometimes.


(Joe Seyfried) #8

Phew - glad it isn’t just me… strange!


(Daniel) #9

Getting this quite often when backing out of a topic and expecting to go to the latest page but goes to a previously read topic. Chrome on Android.


(jaming) #10

Same on Windows Phone 8.1. It never was this bad before.


(Jeff Atwood) #11

Does anyone have a repro?


(jaming) #12

I can repo this on my Win 8.1 Desktop using IE11 & Chrome. I don’t think the problem is contained to this, but the easiest way to repo this is to quickly hit the back button after entering a topic. You will go back to the topic list and after less than a second the url will be update from /latest to the url for topic you were just loaded even though you are on the latest view.


(Mittineague) #13

Confirmed Firefox latest Windows7

Though I had to “force” it as this has never naturally happened to me

From latest click on topic
before the topic loads, click back
Address bar updates to topic URL although really on Latest
Click on a topic letting it load
Click back
Goes to URL that was in address bar


(Jeff Atwood) #14

Since we have a repro perhaps you can look at this @eviltrout?


(Donal Fellows) #15

I’ve been seeing this fairly frequently for a week or two (Chrome, just a bit behind current, OSX) but not every time I go back a page. Just enough times a day to be really annoying. If I ever figure out how to get a reliable reproduction I’ll say more.


(Apparently Archetype) #16

can reproduce using backspace on desktop chrome.

usually it’s when the site’s acting sluggish (not sure if on my end or remote, or if it makes a difference)


(Robin Ward) #17

I’ve got a fix baking in master right now, thanks for the help reporting/reproducing it:

https://github.com/discourse/discourse/commit/762e60c0a6e8fe1468769b7209019ccf7f8f4808


(Jeff Atwood) #18