Closed
Bug 864034
Opened 11 years ago
Closed 11 years ago
[Mac][personas] lightweight theming crunches window title bar
Categories
(SeaMonkey :: Themes, defect)
Tracking
(seamonkey2.18 fixed, seamonkey2.19 fixed)
RESOLVED
FIXED
seamonkey2.20
People
(Reporter: mnyromyr, Assigned: stefanh)
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
75.90 KB,
image/png
|
Details | |
7.61 KB,
patch
|
iannbugzilla
:
approval-comm-aurora+
iannbugzilla
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
When using lightweight theming on Mac, the window title bar is crunched into the window content. See attached image for details. Self built: User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:23.0) Gecko/20100101 Firefox/23.0 SeaMonkey/2.20a1 Build identifier: 20130416223447 Mac OS X 10.6.8
Assignee | ||
Comment 1•11 years ago
|
||
I see this too... interesting... without digging it looks like the height calculation doesn't include the titlebar height.
Assignee | ||
Comment 2•11 years ago
|
||
Doesn't happen in todays firefox nightly. Do you have a regression range?
Reporter | ||
Comment 3•11 years ago
|
||
> Doesn't happen in todays firefox nightly. *nod* FF and TB built from the same codebase aren't affected. > Do you have a regression range? No(t yet). I *think* my last build before (of 2013-01-14 :-() was okay, though.
Assignee | ||
Comment 4•11 years ago
|
||
Hmm, this might be caused by bug 647216. I haven't tested, so I'm guessing here :-) LightweightThemeConsumer.jsm has this: 110 #ifdef XP_MACOSX 111 if (active) 112 root.setAttribute("drawintitlebar", "true"); 113 else 114 root.removeAttribute("drawintitlebar"); 115 #endif And xul.css used to have this: %ifdef XP_MACOSX :root[drawintitlebar="true"] { padding-top: 22px; } %endif But the above code in xul.css was removed in bug 647216: https://hg.mozilla.org/mozilla-central/diff/2f54529528a9/toolkit/content/xul.css
Assignee | ||
Comment 5•11 years ago
|
||
If you do +:root[drawintitlebar="true"] { + padding-top: 22px; +} + in suite/themes/classic/mac/communicator.css the problem goes away. But that'll cause bug 806244, so we'll need a better approach here...
Assignee | ||
Comment 6•11 years ago
|
||
(We probably need a titlebar vbox in our main windows)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → stefanh
Assignee | ||
Comment 7•11 years ago
|
||
I hope I got all windows now :-) Optionally, this should be handled in toolkit/... This will also be needed in aurora. I wanted to remove the height of the #titlebar height in fullscreen mode with a persona applied (#main-window[drawintitlebar="true][sizemode="fullscreen"] > #titlebar), but there was a delay in the height adjustment, so I didn't thought it looked good enough. (the sr? is a moa request).
Attachment #740113 -
Flags: superreview?(mnyromyr)
Attachment #740113 -
Flags: review?(mnyromyr)
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•11 years ago
|
Keywords: regression
Assignee | ||
Updated•11 years ago
|
status-seamonkey2.18:
--- → affected
status-seamonkey2.19:
--- → affected
Assignee | ||
Comment 8•11 years ago
|
||
(In reply to Stefan [:stefanh] from comment #7) > This will also be needed in aurora. And in beta too, since the m-c patch landed before February 19.
Comment 9•11 years ago
|
||
Does Addressbook need one too?
Assignee | ||
Comment 10•11 years ago
|
||
(In reply to Philip Chee from comment #9) > Does Addressbook need one too? Yes, but it's in the patch?
Comment 11•11 years ago
|
||
Could it not just go into utilityOverlay.xul?
Reporter | ||
Comment 12•11 years ago
|
||
Comment on attachment 740113 [details] [diff] [review] Fix title bar >+ <hbox id="titlebar"/> Looking at the way FF/TB use this pattern, this should be a <vbox>. (Just so that if someone ports the CAN_DRAW_IN_TITLEBAR stuff, he doesn't need to worry where and why the hbox came from.) (In reply to Stefan [:stefanh] from comment #7) > Optionally, this should be handled in toolkit/... Is this likely? ;-) (In reply to Ian Neal from comment #11) > Could it not just go into utilityOverlay.xul? How?! (Or maybe I misunderstand your proposal?)
Attachment #740113 -
Flags: superreview?(mnyromyr)
Attachment #740113 -
Flags: superreview+
Attachment #740113 -
Flags: review?(mnyromyr)
Attachment #740113 -
Flags: review+
Assignee | ||
Comment 13•11 years ago
|
||
> I hope I got all windows now :-)
Turns out that I forgot messenger.xul and downloadmanager.xul...
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to Stefan [:stefanh] from comment #13) > > I hope I got all windows now :-) > > Turns out that I forgot messenger.xul and downloadmanager.xul... Just putting the patch here... tree looks busted atm.
Assignee | ||
Comment 15•11 years ago
|
||
Comment on attachment 741438 [details] [diff] [review] Updated patch, r+moa=Mnyromyr Got a memo from Karsten, he is (naturally) OK with the updated patch
Attachment #741438 -
Attachment description: Updated patch → Updated patch, r+moa=Mnyromyr
Assignee | ||
Updated•11 years ago
|
Attachment #740113 -
Attachment is obsolete: true
Assignee | ||
Comment 16•11 years ago
|
||
Comment on attachment 741438 [details] [diff] [review] Updated patch, r+moa=Mnyromyr Starting tomorrow, I'll be away until around May 5-6. The tree seems really busted atm, so I'll land this when I get back. But if someone wants to drive this in to the tree when I'm away, feel free to do so (I'm a bit unsure when the next uplift is) [Approval Request Comment] Regression caused by: Bug 647216 User impact if declined: Window title bar appears over toolbar in lightweight themes (on Mac) Testing completed: nope, see above Risk to taking this patch: Low String changes made by this patch: None
Attachment #741438 -
Flags: approval-comm-beta?
Attachment #741438 -
Flags: approval-comm-aurora?
Attachment #741438 -
Flags: approval-comm-beta?
Attachment #741438 -
Flags: approval-comm-beta+
Attachment #741438 -
Flags: approval-comm-aurora?
Attachment #741438 -
Flags: approval-comm-aurora+
Assignee | ||
Comment 18•11 years ago
|
||
http://hg.mozilla.org/comm-central/rev/be604ac62ced http://hg.mozilla.org/releases/comm-aurora/rev/329ad226ac9a
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.20
You need to log in
before you can comment on or make changes to this bug.
Description
•