Closed
Bug 885242
Opened 11 years ago
Closed 11 years ago
Work - Implement complete button styles/states for Firefox app bar
Categories
(Firefox for Metro Graveyard :: App Bar, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: fryn, Assigned: jwilde)
References
Details
(Whiteboard: feature=work)
Attachments
(6 files, 5 obsolete files)
77.75 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
16.29 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
2.68 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
26.86 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
10.20 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
7.38 KB,
patch
|
mbrubeck
:
review+
|
Details | Diff | Splinter Review |
Implement the styles/states defined in bug 811390.
I estimate this to be a p=3.
Reporter | ||
Updated•11 years ago
|
Assignee: fryn → jwilde
Reporter | ||
Comment 1•11 years ago
|
||
Note to Jonathan:
The specs for this are located in bug 811390.
Yuan will also have more specifics for things not explicitly in the specs.
Assignee | ||
Comment 2•11 years ago
|
||
Right now, there's no real order to what's in browser.css. I was thinking that it might be easier to find things if everything was roughly in the same order as the corresponding markup in browser.xul.
Assignee | ||
Updated•11 years ago
|
Attachment #776742 -
Flags: feedback?(mbrubeck)
Assignee | ||
Comment 3•11 years ago
|
||
Simplifying some of the markup in the nav bar.
Attachment #776748 -
Flags: feedback?(mbrubeck)
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #776750 -
Flags: feedback?(mbrubeck)
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #776750 -
Attachment is obsolete: true
Attachment #776750 -
Flags: feedback?(mbrubeck)
Attachment #776828 -
Flags: review?(mbrubeck)
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #776829 -
Flags: review?(mbrubeck)
Assignee | ||
Comment 7•11 years ago
|
||
Attachment #776845 -
Flags: review?(mbrubeck)
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #776846 -
Flags: review?(mbrubeck)
Assignee | ||
Updated•11 years ago
|
Attachment #776846 -
Attachment is patch: true
Attachment #776846 -
Attachment mime type: text/x-patch → text/plain
Comment 9•11 years ago
|
||
Comment on attachment 776828 [details] [diff] [review]
part3 - update existing toolbar buttons with 1.4x modes, add 1.8x versions
Review of attachment 776828 [details] [diff] [review]:
-----------------------------------------------------------------
r=mbrubeck with one suggested change:
::: browser/metro/theme/defines.inc
@@ +99,5 @@
> +% minimum resolution cutoffs for displaying 1.4x and 1.8x versions of icons
> +% XXX as discussed in bug 812529, calculated DPIs currently come out low,
> +% so we have to use excessively low cutoff values here
> +%define min_res_140pc 130dpi
> +%define min_res_180pc 170dpi
\ No newline at end of file
Since 1in == 96px in CSS units, 1dppx == 96dpi.
This means that 1.4dppx == 134.4dpi, and 1.8dppx == 172.8dpi.
I think "min-resolution: 1.4dppx" and "min-resolution: 1.8dppx" is the most straightforward way to write these media queries.
Attachment #776828 -
Flags: review?(mbrubeck) → review+
Comment 10•11 years ago
|
||
Comment on attachment 776742 [details] [diff] [review]
part 1 - reorder browser.css to roughly match corresponding blocks in browser.xul
Review of attachment 776742 [details] [diff] [review]:
-----------------------------------------------------------------
I'm fine with this. I'm taking it on faith that this patch is just moving code around; I haven't verified that by hand. :)
Attachment #776742 -
Flags: feedback?(mbrubeck) → feedback+
Assignee | ||
Comment 11•11 years ago
|
||
(In reply to Matt Brubeck (:mbrubeck) from comment #10)
> Comment on attachment 776742 [details] [diff] [review]
> part 1 - reorder browser.css to roughly match corresponding blocks in
> browser.xul
>
> Review of attachment 776742 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> I'm fine with this. I'm taking it on faith that this patch is just moving
> code around; I haven't verified that by hand. :)
There's one code drop:
#helperapp-target, since that ID doesn't exist anywhere anymore.
http://dxr.mozilla.org/mozilla-central/search?tree=mozilla-central&q=helperapp-target&redirect=true
Perhaps that'd be better to move into the part2 patch.
Comment 12•11 years ago
|
||
Comment on attachment 776748 [details] [diff] [review]
part2 - simplifying some of the markup for the browser
Review of attachment 776748 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/metro/base/content/browser.xul
@@ +352,5 @@
> </vbox>
>
> <!-- Find bar -->
> + <appbar id="findbar" class="window-width findbar-box" pack="start">
> + <textbox id="findbar-textbox" class="findbar-item" type="search"
Let's get rid of the unused "findbar-box" and "findbar-item" classes while we're here.
Attachment #776748 -
Flags: feedback?(mbrubeck) → feedback+
Comment 13•11 years ago
|
||
Comment on attachment 776829 [details] [diff] [review]
part4 - implement updated stop/reload/go button
Review of attachment 776829 [details] [diff] [review]:
-----------------------------------------------------------------
Nice!
Attachment #776829 -
Flags: review?(mbrubeck) → review+
Updated•11 years ago
|
Attachment #776845 -
Flags: review?(mbrubeck) → review+
Updated•11 years ago
|
Attachment #776846 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to Matt Brubeck (:mbrubeck) from comment #9)
> Comment on attachment 776828 [details] [diff] [review]
> part3 - update existing toolbar buttons with 1.4x modes, add 1.8x versions
>
> Review of attachment 776828 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> r=mbrubeck with one suggested change:
>
> ::: browser/metro/theme/defines.inc
> @@ +99,5 @@
> > +% minimum resolution cutoffs for displaying 1.4x and 1.8x versions of icons
> > +% XXX as discussed in bug 812529, calculated DPIs currently come out low,
> > +% so we have to use excessively low cutoff values here
> > +%define min_res_140pc 130dpi
> > +%define min_res_180pc 170dpi
> \ No newline at end of file
>
> Since 1in == 96px in CSS units, 1dppx == 96dpi.
>
> This means that 1.4dppx == 134.4dpi, and 1.8dppx == 172.8dpi.
>
> I think "min-resolution: 1.4dppx" and "min-resolution: 1.8dppx" is the most
> straightforward way to write these media queries.
Agreed. However, weirdly, when I use 1.4dppx and 1.8dppx for the min-resolution, the 1.4x versions of images don't apply until the devPixelsPerPx pref is at least 1.412. When I use 1.39dppx for the min-resolution, it works just fine. The 1.8x versions work just fine.
I'd normally think that dppx should just pull from the pref, but this sounds very similar to what's going on in bug 812529. :/
Assignee | ||
Comment 15•11 years ago
|
||
Moved removal of helperapp-target to the part 2 v1.1 patch.
Attachment #777391 -
Flags: review?(mbrubeck)
Assignee | ||
Updated•11 years ago
|
Attachment #776742 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #777391 -
Attachment is patch: true
Attachment #777391 -
Attachment mime type: text/x-patch → text/plain
Assignee | ||
Comment 16•11 years ago
|
||
Addressing feedback, dropping helperapp-target here.
Attachment #777393 -
Flags: review?(mbrubeck)
Assignee | ||
Updated•11 years ago
|
Attachment #776748 -
Attachment is obsolete: true
Updated•11 years ago
|
Attachment #777391 -
Flags: review?(mbrubeck) → review+
Updated•11 years ago
|
Attachment #777393 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 17•11 years ago
|
||
As discussed in the channel, we'll be landing part2 with the min_res_140_pc def set to 1.39dppx because of weird rounding issues with the dppx unit. I've filed the Core :: Layout bug 895277 with a testcase demonstrating this issue.
Assignee | ||
Comment 18•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/0b27487d6814
https://hg.mozilla.org/integration/mozilla-inbound/rev/eb45f94edb1f
https://hg.mozilla.org/integration/mozilla-inbound/rev/9563a9ea0ce2
https://hg.mozilla.org/integration/mozilla-inbound/rev/99ae0e6a6fec
https://hg.mozilla.org/integration/mozilla-inbound/rev/b6e4c716ea9c
https://hg.mozilla.org/integration/mozilla-inbound/rev/ba3297faeb61
Comment 19•11 years ago
|
||
Backed out for metro-chrome suite failures:
https://tbpl.mozilla.org/php/getParsedLog.php?id=25420920&tree=Mozilla-Inbound
Did you run the testsuite locally before pushing? :-)
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/c81600630212
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/2f1324bb6e19
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/acb70848a575
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/f97cf639d081
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/9d6e68dbef7b
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/089c92108cef
Assignee | ||
Comment 20•11 years ago
|
||
Attachment #777393 -
Attachment is obsolete: true
Attachment #778232 -
Flags: review?(mbrubeck)
Assignee | ||
Updated•11 years ago
|
Attachment #778232 -
Attachment description: browser-simplify-dom-v1.2.patch → part1 v1.2 - simplify markup in browser.xul, do some cleanup elsewhere
Assignee | ||
Updated•11 years ago
|
Attachment #778232 -
Attachment description: part1 v1.2 - simplify markup in browser.xul, do some cleanup elsewhere → part2 v1.2 - simplify markup in browser.xul, do some cleanup elsewhere
Assignee | ||
Comment 21•11 years ago
|
||
I had to do some pretty significant hand un-bitrotting, so I'm going to chuck this through review again just to be safe.
Attachment #776845 -
Attachment is obsolete: true
Attachment #778237 -
Flags: review?(mbrubeck)
Updated•11 years ago
|
Attachment #778237 -
Flags: review?(mbrubeck) → review+
Updated•11 years ago
|
Attachment #778232 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 22•11 years ago
|
||
Now that I have a Windows 8 device (in addition to 8.1) rolling again, minor unbitrotting and relanding. And yes, all of the tests (including perf), work now. :-)
https://hg.mozilla.org/integration/mozilla-inbound/rev/28e87c73927d
https://hg.mozilla.org/integration/mozilla-inbound/rev/4e70887b953f
https://hg.mozilla.org/integration/mozilla-inbound/rev/de4581ec9681
https://hg.mozilla.org/integration/mozilla-inbound/rev/08f1a0de07d8
https://hg.mozilla.org/integration/mozilla-inbound/rev/3f1f8cbdcc8c
https://hg.mozilla.org/integration/mozilla-inbound/rev/c64f2402e12e
Comment 23•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/28e87c73927d
https://hg.mozilla.org/mozilla-central/rev/4e70887b953f
https://hg.mozilla.org/mozilla-central/rev/de4581ec9681
https://hg.mozilla.org/mozilla-central/rev/08f1a0de07d8
https://hg.mozilla.org/mozilla-central/rev/3f1f8cbdcc8c
https://hg.mozilla.org/mozilla-central/rev/c64f2402e12e
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•