Closed Bug 846414 Opened 12 years ago Closed 11 years ago

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

Categories

(Thunderbird :: Toolbars and Tabs, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 30.0

People

(Reporter: jsbruner, Assigned: Paenglab)

Details

(Keywords: ux-efficiency)

Attachments

(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: http://infinite-josiah.blogspot.com/2013/02/thunderbird-ui-concept.html ======================== 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
Status: NEW → ASSIGNED
Attachment #8369589 - Flags: review?(josiah)
Comment on attachment 8369589 [details] [diff] [review] patch Review of attachment 8369589 [details] [diff] [review]: ----------------------------------------------------------------- Brilliant! Thanks.
Attachment #8369589 - Flags: review?(josiah) → review+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 11 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.

Attachment

General

Created:
Updated:
Size: