User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
For example if you are have multiple tabs open but decide you want to view two pages at once. The first page you want to view you are currently viewing and the second is a tab in the same Firefox window. So you drag the second tab you want to view into a new window or an existing window and your current page changes to the tab next to the tab you just dragged off. It should stay on the current page you are viewing.
Steps to Reproduce:
1. open at least 3 tabs
2. view the first tab
3. drag the third plus tab to make a new window
4. you are now viewing the second tab
5. But you wanted to view the first and third at the same time.
You are viewing a different tab then you were when you dragged the other tab out of your current Firefox window
You should have stayed viewing the page you were viewing before dragging the tab out of your current Firefox window
I can confirm this bug on Nightly 10.0a1
A possible fix would be remembering the last viewed tab and just go back to it if you detach a tab out of a window, or only setting focus to a tab on mouse up so that dragged tabs never get focus.
Verified that this issue reproduces on:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:12.0a1) Gecko/20120109 Firefox/12.0a1
build id: 20140703055654
1. Open a window with 5 tabs
2. Open/focus the 2nd tab
3. Grab the last tab and move it out of the window to empty screen space so it is in its own window
Now the focussed tab will be the 4th tab, not the 2nd tab.
Use case: you are viewing a video in the 2nd tab and want to move the 5th tab out (to empty screen space) without interrupting your viewing.
We can improve the user experience if the the tab stack remembers the visibility order of the tabs like an OS remembers the visibility order of windows.
I am able to duplicate the bug, and agree, the focus should remain on the tab a user is looking at.