Open Bug 486536 Opened 17 years ago Updated 3 years ago

need a way to set the titlebar text color on Mac

Categories

(Core :: Widget: Cocoa, enhancement, P5)

x86
macOS
enhancement

Tracking

()

ASSIGNED

People

(Reporter: mconnor, Assigned: mstange)

References

Details

(Whiteboard: tpi:+)

Attachments

(1 file)

This would be really really useful for Personas, since right now we're limited to setting titlebar colors that work with black as a text color. See http://blog.seanmartell.com/wp-content/uploads/2009/02/6.jpg for example of what we'd like to support.
Flags: wanted1.9.2?
Do you need the ability to set a custom color, e.g. using attributes like "(in)activetitlebartextcolor", or would it be enough if the window looks at the titlebar background color and chooses either black or white as text color, depending on the background's brightness?
Assignee: nobody → mstange
Status: NEW → ASSIGNED
This build implements the lightweight way I suggested: https://build.mozilla.org/tryserver-builds/2009-05-13_06:12-mstange@themasta.com-try-38434b624f3/mstange@themasta.com-try-38434b624f3-firefox-try-mac.dmg I.e. it doesn't add any API; it just switches to white text if the background is dark. Mike, Myk, is that sufficient for your purposes?
> Mike, Myk, is that sufficient for your purposes? Hey Markus, sorry for not responding sooner. Switching to white text is a definite improvement, although ideally we'd love to have the capability to specify the text color as well, just as we can currently specify the background color with (in)activetitlebarcolor, so that Personas designers can match a specific background color with a specific text color, just as they do in the browser chrome.
Cool, this feature is really important for theme designers that want to use the unified toolbar feature. See here: http://forums.mozillazine.org/viewtopic.php?f=18&t=1308935&p=6747465#p6747465 please add this feature!
Blocks: 530103
so is bug 530103 a dupe of this one?
I think they're complementary. This bug is about adding the feature to the platform, while bug 530103 is about using the feature in lightweight themes.
What is the status on this bug? Is there any way to experiment with this setting in the current Minefield release?
Attached patch wipSplinter Review
This is the wip patch that I built the tryserver build with. It needs to be updated to trunk and logic for specifying the color with an attribute needs to be added. I might find time for this next week.
Flags: wanted1.9.2?
this seems to have fallen off the radar. With Firefox 4, dark personas on Mac are unreadable. Any chance of progress?
OS: Mac OS X → Windows 7
OS: Windows 7 → Mac OS X
Target Milestone: mozilla1.9.2a1 → ---
Priority: -- → P5
Whiteboard: tpi:+
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: