Closed Bug 432568 Opened 17 years ago Closed 17 years ago

Thunderbird should use unified toolbar styling on OS X

Categories

(Thunderbird :: General, enhancement)

All
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3

People

(Reporter: Dolske, Assigned: Dolske)

References

(Depends on 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

Bug 303110 added core support for unifying the menu bar, and bug 431831 added Firefox theme changes for inactive unified toolbars. Thunderbird should do something similar to fit in better on OS X.
Attached patch Patch v.1 (obsolete) — Splinter Review
This adds unified styling to mail/themes/pinstripe/.
Attachment #319709 - Flags: review?(bienvenu)
Comment on attachment 319709 [details] [diff] [review] Patch v.1 Updating review flags per dmose.
Attachment #319709 - Flags: ui-review?(clarkbw)
Attachment #319709 - Flags: review?(philringnalda)
Attachment #319709 - Flags: review?(bienvenu)
Comment on attachment 319709 [details] [diff] [review] Patch v.1 >+ /* background: url("chrome://browser/skin/radio-selected-bg.png") repeat-x * center center; */ Ahem.
Oops, forgot to deal with that as I was cutting and pasting from the Firefox CSS. It's usable without that image, but it should just be packaged up in Thunderbird too.
Depends on: 433128
There's probably minor polish I haven't spotted (and we could certainly use a whole new icon set that expects a darker background), but the only other really glaring thing I see is that toggling the contacts sidebar in the compose window looks really, really evil.
Comment on attachment 319709 [details] [diff] [review] Patch v.1 I still haven't made sure I'm right in thinking that getting the contacts sidebar button to look right is going to take a new image, but either way I'm happy to take this much (once the prefs image actually exists, instead of being commented out) and have that be a separate followup bug.
Attachment #319709 - Flags: review?(philringnalda) → review-
Attached patch Patch v.2Splinter Review
Uncomments the CSS to the pref window and adds referenced image. Yeah, the sidebar should be handled separately. It doesn't look any different with/without the unified toolbar, but definitely should be styled to be more Maclike (like the FF sidebar).
Attachment #319709 - Attachment is obsolete: true
Attachment #323335 - Flags: review?(philringnalda)
Attachment #319709 - Flags: ui-review?(clarkbw)
I didn't explain myself well enough: what I meant was not the sidebar itself, but the <toolbarbutton type="checkbox"> you can add by customizing the toolbar of the compose window. Because Fx uses different images with a dark background for the "checked" state of its Bookmarks and History buttons, it doesn't override the "dark grey left and right borders, light grey background" default appearance for checked buttons, only unsets it for those two. That leaves any extension using a type="checkbox" button looking like crap, so even if we decide to do the Contacts button like Fx, with a separate image for the checked state, we still need to make a default appearance for extensions that's less horrifying, and we should do it here, since it's a part of switching to unified (which just happens to not be something we can port from Fx, since they dropped the ball). Sadly, since native Icon Buttons don't have any toggled appearance, we'll have to make something up, just like the old appearance was made up.
Flags: wanted-thunderbird3+
Depends on: 437909
Comment on attachment 323335 [details] [diff] [review] Patch v.2 Okay, you wore me down with your incessant pleading: I filed bug 437909 on the type="checkbox" button part, and r=me and thank you for doing the work on this part.
Attachment #323335 - Flags: review?(philringnalda) → review+
At last, my plan comes together! Now we begin the staredown over the not-yet-checked-in patch.
I am weak and envious of the shiny. Checking in mail/themes/pinstripe/mail/jar.mn; new revision: 1.18; previous revision: 1.17 Checking in mail/themes/pinstripe/mail/messenger.css; new revision: 1.8; previous revision: 1.7 Checking in mail/themes/pinstripe/mail/primaryToolbar.css; new revision: 1.16; previous revision: 1.15 Checking in mail/themes/pinstripe/mail/addrbook/addressbook.css; new revision: 1.7; previous revision: 1.6 Checking in mail/themes/pinstripe/mail/compose/messengercompose.css; new revision: 1.10; previous revision: 1.9 Checking in mail/themes/pinstripe/mail/preferences/preferences.css; new revision: 1.11; previous revision: 1.10 Checking in mail/themes/pinstripe/mail/preferences/radio-selected-bg.png; initial revision: 1.1
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Hardware: PC → All
Target Milestone: --- → Thunderbird 3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: