Moving tabs causes new tabs to open in strange places
This is a regression from !256 (merged). Open a window and load three new tabs: tab one, tab two, and tab three. We have, in order:
- Tab one
- Tab two
- Tab three
Now click a link in tab one to load tab four. We have:
- Tab one
- Tab four
- Tab two
- Tab three
So far, so good. Now, drag tab one to the end of the tab bar. We have:
- Tab four
- Tab two
- Tab three
- Tab one
Good, but moving the tab is the trigger that causes this next problem. From tab one -- currently the fourth tab in the tab bar -- open another new tab, tab five. We wind up with:
- Tab four
- Tab two
- Tab five
- Tab three
- Tab one
which is not right. The tab was created in the right place assuming no tabs had moved, but the assumption was wrong. Firefox seems to reset its internal tracker when tabs are moved, and it gets a better result. In Firefox, we get:
- Tab four
- Tab two
- Tab three
- Tab one
- Tab five
which seems much better.