Closed
Bug 686380
Opened 13 years ago
Closed 13 years ago
[Tablet] "Undo close tab" thumbnail stays around too long
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 9
People
(Reporter: mbrubeck, Assigned: mbrubeck)
References
Details
Attachments
(1 file)
10.02 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
In the phone UI, the "undo close tab" thumbnail goes away when the sidebar is dismissed. Since you can't dismiss the sidebar in the tablet UI, the thumbnail just sticks around indefinitely. We should make it disappear at some point.
Here are some situations where we could choose to make it disappear:
* User opens a new tab
* User switches tabs
* User navigates to a new page in an open tab
* User takes some explicit action to clear the "undo" thumbnail
* Ten minutes (or whatever) has elapsed
Assignee | ||
Comment 1•13 years ago
|
||
This removes the closed tab thumbnail when:
* User switches tabs
* User opens a new tab
* User navigates to a new page using the location bar
I also considered closing it whenever the user navigates from one page to another (by clicking a link, for example) but since location changes so frequently and are not always user-initiated, so I thought this might cause the closed tab thumbnail to disappear too soon or too unexpectedly.
Any comments from the UX team?
Attachment #560000 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 2•13 years ago
|
||
(In reply to Matt Brubeck (:mbrubeck) from comment #1)
> Any comments from the UX team?
Madhava says yes, we should try out this patch.
Comment 3•13 years ago
|
||
Comment on attachment 560000 [details] [diff] [review]
patch
> selectTab: function selectTab(aTab) {
> AwesomeScreen.activePanel = null;
> Browser.selectedTab = aTab;
>+ Elements.tabList.removeClosedTab();
> },
Maybe this would be better in _tabSelect, since any code could set Browser.selectedTab to something.
r+, but I think we should consider the above
Attachment #560000 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 4•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0a6d1368cd97
(In reply to Mark Finkle (:mfinkle) from comment #3)
> Maybe this would be better in _tabSelect, since any code could set
> Browser.selectedTab to something.
_tabSelect gets called too often - for example, when you close a tab it causes another tab to get selected, but we don't want to remove the closed tab thumbnail *right* after you close it.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 9
Comment 5•13 years ago
|
||
Verified fixed on:
Mozilla/5.0 (Android;Linux armv7l;rv:9.0a1)Gecko/20110926
Firefox/9.0a1 Fennec/9.0a1
Device: Acer ICONIA A500
OS: Android 3.1
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
tracking-fennec: ? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•