Closed
Bug 600986
Opened 14 years ago
Closed 14 years ago
Persona background is seen above titlebar (Classic theme)
Categories
(Core :: Widget: Win32, defect)
Tracking
()
RESOLVED
FIXED
mozilla2.0b7
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: Felipe, Assigned: Felipe)
Details
Attachments
(2 files)
82.57 KB,
image/png
|
Details | |
1.21 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
Spin off from bug 591930. See attached screenshot. What happens is that the native drawing insets the gradient titlebar to position it accordingly to other windows on the system http://mxr.mozilla.org/mozilla-central/source/widget/src/windows/nsNativeThemeWin.cpp#3222 This leaves some transparent space above the titlebar, which is usually the window default background, but it can be the persona background-image too. I think the solution is just to paint the window default background color instead of leaving that transparent. I have a patch for that
Assignee | ||
Updated•14 years ago
|
blocking2.0: --- → ?
Assignee | ||
Comment 1•14 years ago
|
||
Is this the right thing to do? I don't think it's possible to fix this with CSS since the titlebar is being natively drawn. I couldn't just move the titlebar up as the window border is also part of it (the transparent space falls between the edge and the gradient, all inside the #titlebar element) (This should be good for review if it's the correct fix)
Attachment #479937 -
Flags: feedback?(jmathies)
blocking2.0: ? → final+
Why is the persona background being positioned where it's not going to be visible? Or is it visible in the titlebar space on other windows themes?
Assignee | ||
Comment 3•14 years ago
|
||
Technically it's because the area of the titlebar is drawn by us now (so it's part the client area), and the persona theme is just a background image applied to the #main-window. On the Aero glass theme it's indeed visible in the titlebar space
Assignee | ||
Comment 4•14 years ago
|
||
Comment on attachment 479937 [details] [diff] [review] Patch v1 I believe this is the right approach. switching feedback to review
Attachment #479937 -
Flags: feedback?(jmathies) → review?(jmathies)
Comment 5•14 years ago
|
||
Comment on attachment 479937 [details] [diff] [review] Patch v1 works well. I'm kind of sad though, I considered that a cool feature, not a bug!
Updated•14 years ago
|
Attachment #479937 -
Flags: review?(jmathies) → review+
Assignee | ||
Comment 6•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/00c23130c7d1
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Updated•14 years ago
|
Target Milestone: mozilla2.0b8 → mozilla2.0b7
You need to log in
before you can comment on or make changes to this bug.
Description
•