Closed Bug 396004 Opened 17 years ago Closed 15 years ago

Make mail.tabs.closeButtons=3 actually work

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: philor, Unassigned)

References

Details

Attachments

(1 file)

Bug 393666 gave us support for mail.tabs.closeButtons=3, for a single close button at the end of the tabstrip, but it doesn't actually work - it calls removeCurrentTab(), which we don't implement, which is the easy part, needs some CSS to not be an invisible button in qute, which should be easy enough, but the part that has me puzzled is that even with a removeCurrentTab method, it doesn't actually work: with two tabs open it looks like it does, since we hide the tabstrip first, but with three you can see it doesn't close, and in the console you see removeTab() choking when it fails to find the tabOwner. I sort of vaguely suspect that means that we're losing track of the current tab on a click on the end-of-strip close button, but I'm not sure where to go to figure that out.
Attached patch Not enough v.1Splinter Review
The removeCurrentTab method, that's not enough to make it work.
And I haven't gotten any more sure where to go.
Assignee: philringnalda → nobody
Blocks: tabsmeta
On linux it appears we have serious theme issues with mail.tabs.closeButtons=3, but apart from the effectively invisible button on the end of the tab bar, it works great.

Feel free to log a new bug against the theme or re-open this one if you are going to actively work this to closure.  Since the tab pref is not a UI-visible feature, I don't think we otherwise need this bug since the logic problem is resolved.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: