Closed
Bug 520637
Opened 16 years ago
Closed 16 years ago
Make Lightweight themes extend into the titlebar
Categories
(Toolkit :: Themes, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.9.3a1
People
(Reporter: mstange, Assigned: mstange)
References
Details
Attachments
(1 file, 2 obsolete files)
|
1.61 KB,
patch
|
dao
:
review+
enndeakin
:
review+
|
Details | Diff | Splinter Review |
This works with the patches in bug 515880 and bug 513158.
Attachment #404694 -
Flags: review?(dao)
Comment 1•16 years ago
|
||
Comment on attachment 404694 [details] [diff] [review]
v1
>+#main-window[drawintitlebar="true"] #nav-bar {
>+ padding-top: 22px;
>+}
Would the window layout break horribly if that padding wasn't there? If so, this should probably be done in toolkit.
| Assignee | ||
Comment 2•16 years ago
|
||
Good idea. The layout wouldn't break, but the titlebar controls would be painted on top of the back/forward button, and the top 22px strip of the window wouldn't be clickable, and... :)
Updated•16 years ago
|
Attachment #404694 -
Flags: review?(dao)
| Assignee | ||
Comment 3•16 years ago
|
||
Attachment #404694 -
Attachment is obsolete: true
Attachment #405397 -
Flags: review?(dao)
Comment 4•16 years ago
|
||
Comment on attachment 405397 [details] [diff] [review]
v2
> #ifdef XP_MACOSX
>- if (active && aData.accentcolor) {
>- root.setAttribute("activetitlebarcolor", aData.accentcolor);
>- root.setAttribute("inactivetitlebarcolor", aData.accentcolor);
>+ if (active) {
>+ root.setAttribute("drawintitlebar", "true");
> } else {
>- root.removeAttribute("activetitlebarcolor");
>- root.removeAttribute("inactivetitlebarcolor");
>+ root.removeAttribute("drawintitlebar");
> }
nit: remove { and } as done elsewhere in this file
>+:root[drawintitlebar="true"] {
>+ padding-top: 22px;
>+}
It think xul.css with the appropriate ifdef might be a better place for this, since it's core platform behavior. Otherwise this would be yet another hurdle for themes trying to work cross-platform.
| Assignee | ||
Comment 5•16 years ago
|
||
Attachment #405397 -
Attachment is obsolete: true
Attachment #405429 -
Flags: review?(dao)
Attachment #405397 -
Flags: review?(dao)
| Assignee | ||
Updated•16 years ago
|
Attachment #405429 -
Flags: superreview?(enndeakin)
Updated•16 years ago
|
Attachment #405429 -
Flags: review?(dao) → review+
| Assignee | ||
Updated•16 years ago
|
Attachment #405429 -
Flags: superreview?(enndeakin) → review?(enndeakin)
Updated•16 years ago
|
Attachment #405429 -
Flags: review?(enndeakin) → review+
| Assignee | ||
Comment 6•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Comment 7•16 years ago
|
||
Verified fix on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.3a1pre) Gecko/20091119 Minefield/3.7a1pre. image is extended into title bar on osx.
Status: RESOLVED → VERIFIED
Comment 8•16 years ago
|
||
markus, any plans to get this into 1.9.2?
| Assignee | ||
Comment 9•16 years ago
|
||
I'm afraid not, see bug 513158 comment 20.
Comment 10•16 years ago
|
||
Is there a bug filed on the black boxes I'm seeing around the window controls in the titlebar on a trunk build?
| Assignee | ||
Comment 11•16 years ago
|
||
Not that I know of, no.
You need to log in
before you can comment on or make changes to this bug.
Description
•