Closed
Bug 401793
Opened 17 years ago
Closed 17 years ago
Dialogs shouldn't use textured window style
Categories
(Core :: Widget: Cocoa, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bent.mozilla, Assigned: hwaara)
Details
Attachments
(3 files)
1.75 KB,
patch
|
jaas
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
49.74 KB,
image/png
|
Details | |
47.76 KB,
image/png
|
Details |
Textured window style should only be applied to eWindowType_toplevel windows, not eWindowType_dialog as well. Apparently Safari and iTunes on 10.4 have a few examples of dialogs with the texture (Download Manager in Safari, the Now Playing window in iTunes) but all other dialogs have a normal window style.
Assignee | ||
Comment 1•17 years ago
|
||
What do you mean by "textured window style" here Ben? The unified toolbar style?
Reporter | ||
Comment 2•17 years ago
|
||
Yup. The style bit is called 'NSTexturedBackgroundWindowMask'.
Assignee | ||
Comment 3•17 years ago
|
||
This makes only top level windows take on the unified look, which makes sense. Dialogs are never toolbar windows. I'll upload two screenshots to demonstrate the fix.
Attachment #289072 -
Flags: review?(joshmoz)
Assignee | ||
Comment 4•17 years ago
|
||
Assignee | ||
Comment 5•17 years ago
|
||
Attachment #289072 -
Flags: superreview?(roc)
Attachment #289072 -
Flags: review?(joshmoz)
Attachment #289072 -
Flags: review+
Attachment #289072 -
Flags: superreview?(roc) → superreview+
Assignee | ||
Comment 6•17 years ago
|
||
Landed. Colin, what was the bug# for the other bug about making the unified style opt-in? Please CC me, thanks.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•17 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•17 years ago
|
Assignee: joshmoz → hwaara
Status: REOPENED → NEW
Assignee | ||
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
Comment 7•17 years ago
|
||
It *is* opt-in. The issue you are seeing in those screenshots is the theme's CSS is blanket specifying that all windows should this attribute, instead of differentiating between the various types. I don't know why or how hard it is for the theme to do this, or why they didn't in the first place. If you don't set the titlebarcolor attribute, it should be drawing with an appearance identical to a normal window, and is doing that as far as I can tell by testing a regular old XUL app, not firefox. Really, shouldn't we fix this in the theme?
You need to log in
before you can comment on or make changes to this bug.
Description
•