Closed Bug 846414 Opened 9 years ago Closed 8 years ago

Hide the "Show All Tabs" button when there are less than 2 tabs.


(Thunderbird :: Toolbars and Tabs, enhancement)

Not set


(Not tracked)

Thunderbird 30.0


(Reporter: jsbruner, Assigned: Paenglab)


(Keywords: ux-efficiency)


(1 file)


Part of a blog post that we are pushing to redo the TB UI.

Point 7: Only show "show all tabs" button when there are multiple tabs.

For more details see:


It is pointless to show the button that lists all your tabs when you only have one open. In fact, it really is pointless to show them unless you have more tabs than your Window can hold.

This bug is to remove it/hide it when not being useful.
Still waiting for this :)
Flags: needinfo?(josiah)
Please don't needinfo people without an actual question. I have a lot of things I'm working on and this is not super-high priority.

That said, if someone wants to work on this before I do, the idea is simple enough...

1. After a tab is closed or opened, check if the tabCount > 1.

2. If no, set an attribute on the button.

We can hide the button pretty easily by using this attribute via CSS.

If someone wants to write this up I'll be glad to review it.
Flags: needinfo?(josiah)
Ideally, we could do like Firefox and only show the button when there are more tabs than fit on the tab bar.
Indeed. In which case we just need to check if the tabs bar has an overflow property. Easy enough.
Attached patch patchSplinter Review
This patch is similar to Fx, the alltabs-button button is collapsed until the tabs are overflowing.
Assignee: nobody → richard.marti
Attachment #8369589 - Flags: review?(josiah)
Comment on attachment 8369589 [details] [diff] [review]

Review of attachment 8369589 [details] [diff] [review]:

Brilliant! Thanks.
Attachment #8369589 - Flags: review?(josiah) → review+
Keywords: checkin-needed
Closed: 8 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 30.0
You need to log in before you can comment on or make changes to this bug.