-1

I encountered a bug regarding the Next button in the review section.

Steps to reproduce:

  • Review a "first post".
  • Complete the first review regularly and review another "first post".
  • Start editing the post.
  • Wait for some time, so that someone else likely completes the review.
  • Click the browser's back button.
  • Try clicking the Next-button.

Expected behavior:

The next review is being displayed, or a message appears stating that there are no posts to review.

Current behavior:

Nothing happens. The button looks "clickable", but cannot be clicked. After reloading the page the button gets clickable.

Edit: After several "edit" -> "cancel" -> "edit" -> "back" cycles I managed to get this result (Note the two "cancel"-links at the top):

enter image description here

6
  • 1
    Start editing the post, and then Click the browser's back button. Why would you cilck the back button, why not click "Cancel"? Jan 22, 2013 at 20:26
  • 1
    Because I can. The "back"-button is a core functionality of a web-browser and the user expects a certain functionality: Going back to the previous site in the browser's history. Whether this is the intented use of the review site is not the question here. It is a possible use and thus should function properly. Jan 22, 2013 at 20:30
  • That's just how browsers work. When you click the back button, any sane browser will attempt to restore the page as you left it. That includes your current scroll state, any HTML that may have been added/changed, etc. As far as the JavaScript is concerned, it doesn't know you clicked back, it only knows you went off to edit the post. That's specifically what the cancel button is for.
    – animuson StaffMod
    Jan 22, 2013 at 21:30
  • @animuson: Partly correct. If the browser would have rendered that page as I have left it I would not complain. But it renders everything as I expect it to do. Except that the button that looks clickable isn't. Jan 22, 2013 at 21:33
  • @Spontifixus: JavaScript ignores further clicks to the button to prevent double-clicking. That state is remembered when you return.
    – animuson StaffMod
    Jan 22, 2013 at 21:36
  • @animuson Ah... Even if the "next"-button wasn't visible until now? Jan 22, 2013 at 21:48

1 Answer 1

1

The back button is a can of worms for many top websites and preventative measures can prove to be both time consuming and very cost-ineffective.

In the grand scheme of things, this isn't really as earth shattering enough of a bug to warrant the time and money it will take to fix it. You're probably one of a very small percentage of users who will ever be affected by this :).

1
  • 1
    Probably true. If the team declares that as by design, that's perfectly fine. I wanted to report that however - because that might be an easy fix... :) Jan 22, 2013 at 20:54

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