philikon / BarTab

Firefox add-on: Drink now, pay later: put your tabs on your bar tab!
https://addons.mozilla.org/firefox/addon/67651/
64 stars 30 forks source link

Issues with history and reload of unloaded tabs (FF4 final/BT2.1b2) #115

Open ttn opened 13 years ago

ttn commented 13 years ago

There seems to be some issues with history handling in BarTab with (timed?) unloaded pages:

1) sometimes browser reload doesn't load the page that was unloaded but the page last visited from the unloaded page

2) and then (sometimes?) browser back does not take directly back to the correct unloaded page but instead takes to a detour of some other pages visited earlier from the unloaded page (as if tab browsing history was off-by-one). Usually though, it will eventually browse back to the original unloaded page.

3) In addition to 2) sometimes browser back does eventually fail to bring back the original unloaded page but instead gets stuck on one of the pages visited from the unloaded page (as if the brwse history was off-by-one and in addition missing the original start page for the tab). This has occurred on slashdot for example, but also on many other news type pages where it is quite easy to notice when the main page does not get loaded with reload but some specific news page visited before the unload.

Also reload of tabs at revisit (at least time delayed reloads) seem usually mostly not work at all: only if I refresh all tabs in a window will revisited tabs reload automatically.

None of these are critical but still quite annoying and in need of some polishing up.

captainsiberia commented 12 years ago

I think I know the issue you're describing. For me, the issue is that when you load a tab up after it has been reloaded, it goes to the final page in that tab's history. So if I pressed the back button a few times to get to an earlier page in the tab's history, and then the page gets unloaded, when I go to reload it, BarTab will ignore the fact of what page I was actually on when the tab got unloaded and instead just jump to the final page in the history.

Say I look up a movie at AllMovie.com. Then, with the same tab, I go to the film's page on IMDB. Then, same tab, I look up the movie on Amazon. Then I decide I want to go back to the AllMovie.com page, so I press the Back button a few times. Then the page gets unloaded. When I load it up again, where do you think it goes? Amazon.com, just because it comes last in the history.