Open Bug 654755 Opened 13 years ago Updated 1 year ago

The tab stack does not remember/honour visibility order after removing tabs from the window

Categories

(Firefox :: Tabbed Browser, defect)

4.0 Branch
x86_64
Windows 7
defect
Points:
8

Tracking

()

People

(Reporter: cody.j.b.scott, Unassigned)

Details

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.

Reproducible: Always

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.

Actual Results:  
You are viewing a different tab then you were when you dragged the other tab out of your current Firefox window

Expected Results:  
You should have stayed viewing the page you were viewing before dragging the tab out of your current Firefox window
Version: unspecified → 4.0 Branch
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
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: When you drag a tab into a new window or an existing window the focus of the current window the tab was dragged from is set to the tab next to the dragged tab. The focus should be on the previous opened tab. → When you drag a tab into a new window or an existing window the focus of the current window the tab was dragged from is set to the tab next to the dragged tab. The focus should be on the previously opened tab.
33.0a1 (2014-07-03)
build id: 20140703055654

STR:
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.
Summary: When you drag a tab into a new window or an existing window the focus of the current window the tab was dragged from is set to the tab next to the dragged tab. The focus should be on the previously opened tab. → The tab stack does not remember/honour visibility order after removing tabs from the window
I am able to duplicate the bug, and agree, the focus should remain on the tab a user is looking at.
Flags: firefox-backlog+
Points: --- → 8
Flags: qe-verify?
Severity: normal → S3

Changing qe-verify? to qe-verify+.

Flags: qe-verify? → qe-verify+
You need to log in before you can comment on or make changes to this bug.