Open Bug 632277 Opened 13 years ago Updated 2 years ago

Jump to last focused tab after closing the last restored tab (with Undo Close Tab)

Categories

(Firefox :: General, defect)

defect

Tracking

()

Future

People

(Reporter: mrigor, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b12pre) Gecko/20110207 Firefox/4.0b12pre
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b12pre) Gecko/20110207 Firefox/4.0b12pre

Normal behavior is - if I open a new tab and close it, I am brought back to the tab from which I opened the tab I just closed.
'Undo Close Tab' forgets which tab opened it.

Reproducible: Always

Steps to Reproduce:
1. Open 2 tabs - A and B.
2. From A open new tab C.
3. Focus C
4. Close C
5. Verify that A is focused
6. Execute - 'Undo Close Tab'
7. Verify that C is back
8. Focus C
9. Close C
Actual Results:  
Tab B is focused

Expected Results:  
Tab A is focused

This happens on nightly Minefield and on FF 3.6.13, both OS X
Can repro 

Mozilla/5.0 (Windows NT 6.1; rv:2.0b12pre) Gecko/20110207 Firefox/4.0b12pre

I see what you mean. You would like firefox to remember the last focused tab. 
Since it is reproducible also on the branch builds (like 3.6.13) I doubt that we should have a patch soon for this.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Future
OS: Mac OS X → All
Hardware: x86 → All
Severity: minor → trivial
Summary: Undo Close Tab does not restore correct tab closing behavior → Jump to last focused tab after closing the last restored tab (with Undo Close Tab)
I would like to work on this bug, Can you please assign me this bug.
Flags: needinfo?(mconley)
Flags: needinfo?(mconley)
Whiteboard: p=0
No longer blocks: fxdesktopbacklog
Flags: firefox-backlog+
Flags: firefox-backlog+ → firefox-backlog-
Whiteboard: p=0
Severity: trivial → S4
You need to log in before you can comment on or make changes to this bug.