Closed Bug 1324281 Opened 7 years ago Closed 7 years ago

Port bug 658467 to TB [Fade out tab label on overflow instead of ellipsis]

Categories

(Thunderbird :: Toolbars and Tabs, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 53.0

People

(Reporter: Paenglab, Assigned: Paenglab)

Details

Attachments

(2 files, 2 obsolete files)

FX no more shows an ellipsis on overflowed tabs text but a fade out.
With this we can gain up to two characters which can help to differentiate the tabs with similar title.
Attached patch fadeOutTabLabel.patch (obsolete) — Splinter Review
Port of FX patch.

I also removed the not needed stack with tabs-bottom, tabs-bottom-spacer and tabs-left.

Magnus, I ran in a problem where the tabcontainer got the overflow="true" flag with only one tab with a overflowed text (the text wasn't longer than the tabcontainer). So I changed the logic to show the alltabs-button. Is this okay like this or do you know where the overflow logic is and why this can happen? It must be a difference because this doesn't happen in FX.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #8819649 - Flags: review?(mkmelin+mozilla)
Attached patch fadeOutTabLabel.patch (obsolete) — Splinter Review
Updated to tip after landing of bug 1325924.
Attachment #8819649 - Attachment is obsolete: true
Attachment #8819649 - Flags: review?(mkmelin+mozilla)
Attachment #8822130 - Flags: review?(mkmelin+mozilla)
Attached image fadetab.png
Seems to interact badly with the background. Texts are barely readable in the non-selected tabs.
Comment on attachment 8822130 [details] [diff] [review]
fadeOutTabLabel.patch

Review of attachment 8822130 [details] [diff] [review]:
-----------------------------------------------------------------

Needs some work on the background text color. The screenshot was on Ubuntu.
Attachment #8822130 - Flags: review?(mkmelin+mozilla) → review-
I forgot we have now the tab-label-container.
Attachment #8822130 - Attachment is obsolete: true
Attachment #8822255 - Flags: review?(mkmelin+mozilla)
Comment on attachment 8822255 [details] [diff] [review]
fadeOutTabLabel.patch

Review of attachment 8822255 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM, r=mkmelin
Attachment #8822255 - Flags: review?(mkmelin+mozilla) → review+
https://hg.mozilla.org/comm-central/rev/2ddba872ddfe19343e5dc1c61bd1e7f4226fe630
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 53.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: