Closed Bug 811738 Opened 8 years ago Closed 8 years ago

Close tab tray after closing last tab

Categories

(Firefox for Android :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 20
Tracking Status
firefox20 --- verified

People

(Reporter: ibarlow, Assigned: sriram)

References

Details

Attachments

(1 file)

Closing the last tab returns us to about:home (bug 786982), but leaves the tab tray open. We should close the tray at the same time, so people can start using about:home right away.
To elaborate a bit here, let's try to simplify the transition as well. Closing the last tab and then showing the about:home tab before doing anything feels strange too. The transition should happen as follows.

1. Close last tab
2. Close tabs tray onto blank blue background
3. Slide or fade in about:home content.
Blocks: 786982
Attached patch PatchSplinter Review
This hides the tabs-tray on closing the last tab.
Attachment #686339 - Flags: review?(mark.finkle)
Blocks: 814148
Comment on attachment 686339 [details] [diff] [review]
Patch

Worth seeing how this feels
Attachment #686339 - Flags: review?(mark.finkle) → review+
Drive-by: does this patch ensure that the new about:home tab is now shown before the slide animation finishes? It won't look good if you see a tab being re-added while closing the tabs tray.
Yup it does. Once you tap on the close button (or swipe), that animation starts. And even before that ends, the tabs-tray would have been hidden and switched to about:home.
https://hg.mozilla.org/mozilla-central/rev/210a6a177031
Assignee: nobody → sriram
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Tabs Tray is closed after the last tab is closed. 

--
Firefox 20.0a1 (2012-12-06)
Device: Galaxy Tab2 7"
OS: Android 4.0.3
Status: RESOLVED → VERIFIED
TCs added in Moztrap with new option for following versions: 20 , 20 tablets 

https://moztrap.mozilla.org/manage/case/5883 - Tab tray is close after closing last tab
Depends on: 823317
You need to log in before you can comment on or make changes to this bug.