History buttons (back/forward) basic functionality
Submitted by piyush goel
Link to original bug (#724897)
Description
This is with regards to the basic functionality of back/forward buttons in history.After discussing with Jose Aliste and other contributors,this is how the above said buttons should work IMO:
-
History should not be updated while navigating from page N to N+1 or vice versa.
-
If we navigate from page P to page Q,where |P-Q|>1 ,i.e, if we jump from one page to another (either by using Home/End or by clicking on relevant pages in the sidepane other than using the back/forward buttons itself) ,the history should be updated .
-
After we make our first jump,the back button should become sensitive and remain sensitive as we make subsequent page jumps.
-
When we click the back button for the first time ,the forward history should be updated and forward button shoud get updated.
-
As we keep on clicking the back button subsequently ,the forward history should get updated.Forward history should not be updated in any other way.
-
The back button will become insensitive when we reach to the starting of the back history and similarly for the forward button.
-
The history (back history as well as forward history) should be pruned as it reaches its max length (32).
-
IMO, the following bugs could be duplicates of this bug.