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)
Thunderbird
Toolbars and Tabs
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 30.0
People
(Reporter: jsbruner, Assigned: Paenglab)
Details
(Keywords: ux-efficiency)
Attachments
(1 file)
770 bytes,
patch
|
jsbruner
:
review+
|
Details | Diff | Splinter Review |
========================
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.
Reporter | ||
Comment 2•11 years ago
|
||
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)
Comment 3•11 years ago
|
||
Ideally, we could do like Firefox and only show the button when there are more tabs than fit on the tab bar.
Reporter | ||
Comment 4•11 years ago
|
||
Indeed. In which case we just need to check if the tabs bar has an overflow property. Easy enough.
Assignee | ||
Comment 5•11 years ago
|
||
This patch is similar to Fx, the alltabs-button button is collapsed until the tabs are overflowing.
Reporter | ||
Comment 6•11 years ago
|
||
Comment on attachment 8369589 [details] [diff] [review]
patch
Review of attachment 8369589 [details] [diff] [review]:
-----------------------------------------------------------------
Brilliant! Thanks.
Attachment #8369589 -
Flags: review?(josiah) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 7•11 years ago
|
||
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.
Description
•