[TABLETUI] Add a way to reopen a tab in portrait mode

NEW
Unassigned

Status

Firefox for Android Graveyard
General
7 years ago
7 years ago

People

(Reporter: ibarlow, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox 9
All
Android

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
Created attachment 561857 [details]
mockup of comment

1. Tap close on a tab
2. Menu stays open, and the previously open tab is replaced with a default favicon, "restore closed tab" message, and slightly highlighted reload button. 
3. If a user dismisses the menu, the restore message disappears
Blocks: 655762
OS: Mac OS X → Android
Hardware: x86 → All
What happens if you remove another one while the "restore closed tab" is being shown?
(Reporter)

Comment 2

7 years ago
I'm not sure if they should each get their own "restore tab" message, or if the previous one should go away and we only show one "restore tab" at a time. 

Can we first try it where they each get their own message, and they only go away after you close the menu?
The "browser.sessionstore.max_tabs_undo" pref controls the number of closed tabs that we remember.  Currently it is set to 1 on mobile, but it was previously set to 5 with no bad effects.

If we increase this number again, then we could let each tab get its own "restore" message until the limit is exceeded.  After that, closing more tabs would remove the oldest one from memory and should remove its "restore" message too.
If we allow to remove and restore multiple tabs, I think the current "restore closed tab" message will work well because there will be no way to distinguish one removed tab from another...
You need to log in before you can comment on or make changes to this bug.