Closed
Bug 518859
Opened 15 years ago
Closed 15 years ago
Lightweight theme not applied to titlebar
Categories
(Toolkit :: UI Widgets, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a1
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta1-fixed |
People
(Reporter: johnath, Assigned: dao)
References
()
Details
Attachments
(3 files, 1 obsolete file)
127.58 KB,
image/png
|
Details | |
6.89 KB,
patch
|
enndeakin
:
review+
|
Details | Diff | Splinter Review |
1.95 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
I'm seeing behaviour on Mac where applying a lightweight theme shows all the graphic elements properly, but doesn't change the titlebar colour appropriately.
Might be a problem with the test page I'm using (see URL field)?
Assignee | ||
Comment 1•15 years ago
|
||
Does the root element have the following attributes? And what are their values?
activetitlebarcolor, originalactivetitlebarcolor, inactivetitlebarcolor, originalinactivetitlebarcolor
Reporter | ||
Comment 2•15 years ago
|
||
(In reply to comment #1)
> Does the root element have the following attributes? And what are their values?
> activetitlebarcolor, originalactivetitlebarcolor, inactivetitlebarcolor,
> originalinactivetitlebarcolor
#main-window has none of those four attributes (though it does have the various lightweighttheme* and lwtheme* attributes).
Assignee | ||
Updated•15 years ago
|
Component: General → XUL Widgets
Product: Firefox → Toolkit
QA Contact: general → xul.widgets
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → dao
Assignee | ||
Comment 3•15 years ago
|
||
I assumed that we still set the (in)activetitlebarcolor by default, but we don't.
Attachment #403228 -
Flags: review?(enndeakin)
Assignee | ||
Comment 4•15 years ago
|
||
navigator is not available in the module...
Attachment #403228 -
Attachment is obsolete: true
Attachment #403230 -
Flags: review?(enndeakin)
Attachment #403228 -
Flags: review?(enndeakin)
Assignee | ||
Updated•15 years ago
|
Flags: blocking1.9.2?
Updated•15 years ago
|
Flags: blocking1.9.2? → blocking1.9.2+
Priority: -- → P2
Updated•15 years ago
|
Attachment #403230 -
Flags: review?(enndeakin) → review+
Comment 5•15 years ago
|
||
Comment on attachment 403230 [details] [diff] [review]
patch v2
Looks ok but nothing needs to be set on non-Mac?
Assignee | ||
Comment 6•15 years ago
|
||
accentcolor is also used for the root element's background color regardless of the platform, but activetitlebarcolor is Mac-only (<https://developer.mozilla.org/en/XUL:Attribute:activetitlebarcolor>).
Reporter | ||
Comment 7•15 years ago
|
||
Dao - we wouldn't block beta for this (hence the P2 designation) but I'd really like it if the first exposure Mac users had to the feature included this fix. Will you be able to land it before Monday's code freeze?
Assignee | ||
Comment 8•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Assignee | ||
Comment 9•15 years ago
|
||
status1.9.2:
--- → beta1-fixed
Comment 10•15 years ago
|
||
Wouldn't it be better to ifdef this code out on non-mac rather than adding the test?
Assignee | ||
Comment 11•15 years ago
|
||
This file isn't preprocessed.
Comment 12•15 years ago
|
||
Not right now no, nothing stopping it being preprocessed though.
Assignee | ||
Comment 13•15 years ago
|
||
Ok, I didn't know there was a way to do that.
Comment 14•15 years ago
|
||
(In reply to comment #13)
> Ok, I didn't know there was a way to do that.
EXTRA_PP_JS_MODULES in Makefile.in will preprocess js modules into place rather than just copying them.
Assignee | ||
Comment 15•15 years ago
|
||
Attachment #404408 -
Flags: review?(dtownsend)
Updated•15 years ago
|
Attachment #404408 -
Flags: review?(dtownsend) → review+
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 16•15 years ago
|
||
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 17•15 years ago
|
||
This is a bit difficult to verify since some personas don't seem to have the theme applied to the title bar - such as Firefox Robot. I am using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2b1) Gecko/20091029 Firefox/3.6b1.
Reporter | ||
Comment 18•15 years ago
|
||
(In reply to comment #17)
> This is a bit difficult to verify since some personas don't seem to have the
> theme applied to the title bar - such as Firefox Robot.
I recommend using Sean Martell's personas to test: http://www.getpersonas.com/en-US/gallery/designer/Sean.Martell
He tends to choose titlebar colours that blend well, and ones where the default gray would look wrong.
You need to log in
before you can comment on or make changes to this bug.
Description
•