Closed
Bug 460899
Opened 16 years ago
Closed 16 years ago
Additional toolbars not fading when browser window is out of focus
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
VERIFIED
FIXED
Firefox 3.6a1
People
(Reporter: jorgev, Assigned: mstange)
References
Details
(Keywords: regression, verified1.9.1)
Attachments
(2 files, 2 obsolete files)
2.41 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
3.48 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b1) Gecko/20081007 Firefox/3.1b1
This only happens in Mac OS X because it's the only one with special styling for window focus, I think. Also, this works just fine in 3.0.
Steps to reproduce:
1) Customize your Firefox toolbar, adding a new toolbar with at least a button. Or install an extension that adds a toolbar (it happened to me with Fire.fm).
2) Open a second window, say the Preferences window. Make sure this window is focused and you can see the browser window in the background.
Expected result:
The Firefox window completely "fades" so that it looks lighted and it's evident that it's out of focus.
Obtained result:
Everything fades except the new toolbar(s). They look exactly the same as if the window was focused (darker).
Flags: blocking-firefox3.1?
Comment 1•16 years ago
|
||
I can reproduce this in today's Minefield nightly, but not in Firefox
3.0.3. I tested on OS X 10.4.11.
I chose View : Toolbars : Customize, then clicked on the Add New
Toolbar button. I named the new toolbar "Test", and dragged the
"Copy" button to it.
Comment 2•16 years ago
|
||
I hesitate to move this into Firefox::Theme, as I don't think they've done anything that would change this, but I'll cc Kevin just the same :)
Flags: blocking-firefox3.1? → blocking-firefox3.1+
Keywords: regression
Assignee | ||
Comment 3•16 years ago
|
||
I thought about making -moz-appearance: toolbar; meaningful on the Mac. That would fix it.
Updated•16 years ago
|
Keywords: regressionwindow-wanted
Assignee | ||
Comment 4•16 years ago
|
||
Keywords: regressionwindow-wanted
Assignee | ||
Comment 5•16 years ago
|
||
-moz-appearance: toolbar is currently completely unused in the Mac theme. With this patch it draws dark chrome toolbars.
Assignee | ||
Comment 6•16 years ago
|
||
I also tweaked the border colors of the bookmarks bar to match the native colors.
Attachment #352159 -
Flags: review?(dao)
Attachment #352158 -
Flags: review?(roc) → review+
Comment 7•16 years ago
|
||
Comment on attachment 352159 [details] [diff] [review]
CSS part, v1: use -moz-appearance: toolbar for toolbars
>--- a/toolkit/themes/pinstripe/global/toolbar.css
>+++ b/toolkit/themes/pinstripe/global/toolbar.css
>@@ -50,19 +50,17 @@ toolbox {
>
> /* ::::: toolbar & menubar ::::: */
>
> toolbar,
> toolbarpalette {
> min-width: 1px;
> min-height: 20px !important;
> color: #000000;
>- border-top: 1px solid rgba(255,255,255,0.45);
>- border-bottom: 1px solid rgba(0,0,0,0.35);
>- background-color: #9E9E9E;
>+ -moz-appearance: toolbar;
> }
I don't see why toolbarpalette is styled -- it's never actually visible, right? It's display:none per xul.css and toolbar.xml removes it from the document.
Comment 8•16 years ago
|
||
Also when bug 404229 is fixed, the |toolbarpalette| selector won't apply even if the element is in the document.
Assignee | ||
Comment 9•16 years ago
|
||
Attachment #352159 -
Attachment is obsolete: true
Attachment #352312 -
Flags: review?(dao)
Attachment #352159 -
Flags: review?(dao)
Updated•16 years ago
|
Attachment #352312 -
Flags: review?(dao) → review+
Comment 10•16 years ago
|
||
Comment on attachment 352312 [details] [diff] [review]
v2
I missed that in the first pass, but at this point we should also stop hardcoding the text color. (I.e. just remove it, I think.)
Assignee | ||
Comment 11•16 years ago
|
||
I'v just found two more toolbars that need -moz-appearance: none.
Attachment #352312 -
Attachment is obsolete: true
Attachment #352321 -
Flags: review?(dao)
Comment 12•16 years ago
|
||
Comment on attachment 352321 [details] [diff] [review]
v3
> #organizerScopeBar {
>+ -moz-appearance: none;
> background: url("chrome://global/skin/icons/find-bar-background.png") repeat-x top center #D0D0D0;
wtf... global/skin/icons/find-bar-background.png?
Anyway.
Attachment #352321 -
Flags: review?(dao) → review+
Assignee | ||
Comment 13•16 years ago
|
||
pushed:
http://hg.mozilla.org/mozilla-central/rev/f02f7315ca88
http://hg.mozilla.org/mozilla-central/rev/2963a0f2c388
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: Firefox 3.1 → Firefox 3.2a1
Comment 14•16 years ago
|
||
Comment on attachment 352321 [details] [diff] [review]
v3
(In reply to comment #5)
> -moz-appearance: toolbar is currently completely unused in the Mac theme. With
> this patch it draws dark chrome toolbars.
Not true, "menubar" uses it (for embedded xul in for example a xhtml file):
-toolbar,
-toolbarpalette {
+toolbar {
min-width: 1px;
min-height: 20px !important;
- color: #000000;
- border-top: 1px solid rgba(255,255,255,0.45);
- border-bottom: 1px solid rgba(0,0,0,0.35);
- background-color: #9E9E9E;
+ -moz-appearance: toolbar;
}
menubar {
-moz-appearance: toolbar;
min-width: 1px;
}
.toolbar-holder {
Assignee | ||
Comment 15•16 years ago
|
||
Oh. I wondered what effect that menubar rule had, but now it makes sense.
Assignee | ||
Comment 16•16 years ago
|
||
I've filed bug 469134 about it.
Assignee | ||
Comment 17•16 years ago
|
||
pushed to mozilla-1.9.1:
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/8ab138969460
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/5df2ac37fdf8
Keywords: fixed1.9.1
Comment 19•16 years ago
|
||
verified FIXED on Shiretoko: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3) Gecko/20090305 Firefox/3.1b3 ID:20090305133223
and on trunk build: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090331 Minefield/3.6a1pre ID:20090331030637
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•