Closed
Bug 1367384
Opened 8 years ago
Closed 8 years ago
Color the title bar by default on Windows 10
Categories
(Firefox :: Theme, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | verified |
People
(Reporter: dao, Assigned: dao)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [photon-visual][p1][57])
Attachments
(1 file)
Flags: qe-verify+
| Assignee | ||
Updated•8 years ago
|
Priority: -- → P2
Updated•8 years ago
|
Whiteboard: [photon-visual][p1][57] → [photon-visual][p1][57] [triage]
Updated•8 years ago
|
QA Contact: brindusa.tot
Whiteboard: [photon-visual][p1][57] [triage] → [photon-visual][p1][57]
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Priority: P2 → P1
Updated•8 years ago
|
Iteration: --- → 55.6 - May 29
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 2•8 years ago
|
||
Sorry for the somewhat messy patch. I could have used caption-buttons.svg#*-white to adjust to the new title bar color, but I thought now would be a good time for some refactoring and then things got a bit out of control...
Comment 3•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8871892 [details]
Bug 1367384 - Make the title bar dark by default on Windows 10 and refactor caption button icons.
https://reviewboard.mozilla.org/r/143424/#review147592
Great, thanks! Just a couple of minor things.
::: browser/themes/windows/browser-aero.css:119
(Diff revision 1)
> - #titlebar-close:hover {
> - list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-white);
> }
>
> + .titlebar-button:-moz-lwtheme {
> + -moz-context-properties: unset;
This doesn't really have any effect since the stroke values are hardcoded anyway, right? Any reason for keeping this rule around?
::: browser/themes/windows/window-controls/maximize-highcontrast.svg:4
(Diff revision 1)
> +<!-- This Source Code Form is subject to the terms of the Mozilla Public
> + - License, v. 2.0. If a copy of the MPL was not distributed with this
> + - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
> +<svg width="12" height="12" xmlns="http://www.w3.org/2000/svg">
Missing a shape-rendering="crispEdges"? Assuming that it's still necessary.
::: browser/themes/windows/window-controls/maximize.svg:4
(Diff revision 1)
> +<!-- This Source Code Form is subject to the terms of the Mozilla Public
> + - License, v. 2.0. If a copy of the MPL was not distributed with this
> + - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
> +<svg width="12" height="12" xmlns="http://www.w3.org/2000/svg">
shape-rendering="crispEdges"?
::: browser/themes/windows/window-controls/restore-themes.svg:7
(Diff revision 1)
> + - License, v. 2.0. If a copy of the MPL was not distributed with this
> + - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
> +<svg width="12" height="12" xmlns="http://www.w3.org/2000/svg" shape-rendering="crispEdges" fill="none" stroke="white">
> + <path stroke="black" stroke-width="3.6" stroke-opacity=".75" d="M2,4 l 6,0 l 0,6 l -6,0z M2.5,1.5 l 8,0 l 0,8"/>
> + <rect stroke-width="1.9" x="2" y="4" width="6" height="6"/>
> + <polyline stroke-width=".9" points="3.5,1.5 10.5,1.5 10.5,8.5" class="restore-background-window"/>
I think you can remove class=restore-background-window
Attachment #8871892 -
Flags: review?(jhofmann) → review+
| Assignee | ||
Comment 4•8 years ago
|
||
(In reply to Johann Hofmann [:johannh] from comment #3)
> ::: browser/themes/windows/browser-aero.css:119
> (Diff revision 1)
> > - #titlebar-close:hover {
> > - list-style-image: url(chrome://browser/skin/caption-buttons.svg#close-white);
> > }
> >
> > + .titlebar-button:-moz-lwtheme {
> > + -moz-context-properties: unset;
>
> This doesn't really have any effect since the stroke values are hardcoded
> anyway, right? Any reason for keeping this rule around?
Yes, it tells Gecko that it doesn't need to bother forwarding context properties in the first place. It's supposed to be cheaper.
| Comment hidden (mozreview-request) |
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f9541bc8ef95
Make the title bar dark by default on Windows 10 and refactor caption button icons. r=johannh
Comment 7•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Comment 8•8 years ago
|
||
I have seen the feature being implemented with latest Nightly 55.0a1 on Windows 10 (64 bit).
This bug's fix is now verified in Latest Nightly.
Build ID : 20170531030204
User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
[bugday 20170531]
Updated•8 years ago
|
Updated•8 years ago
|
Status: RESOLVED → VERIFIED
Updated•8 years ago
|
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•