Closed
Bug 967110
Opened 11 years ago
Closed 11 years ago
Add an inverted help icon and arrow to show on the menu panel anchor when the Help subview is open
Categories
(Firefox :: Toolbars and Customization, defect)
Firefox
Toolbars and Customization
Tracking
()
VERIFIED
FIXED
Firefox 31
People
(Reporter: jaws, Assigned: jaws)
References
(Blocks 1 open bug)
Details
(Whiteboard: [Australis:P5] [good first verify])
Attachments
(5 files, 6 obsolete files)
1.95 KB,
image/png
|
Details | |
2.47 KB,
image/png
|
Details | |
6.05 KB,
image/png
|
Details | |
26.23 KB,
patch
|
mconley
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
53.07 KB,
image/png
|
Details |
We have inverted icons for the icons that show subviews (such as developer tools and bookmarks), but we are missing one for the help view. It currently just shows a blue background without the icon or arrow.
Stephen said he was working on the icon for this and will add it to the menuPanel-help.png sprite. Setting needinfo accordingly.
Flags: needinfo?(shorlander)
Updated•11 years ago
|
Blocks: australis-cust
Comment 1•11 years ago
|
||
Flags: needinfo?(shorlander)
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Updated•11 years ago
|
Attachment #8376333 -
Attachment description: menuPanel-help@2x.png - OS X @2x → menuPanel-help@2x.png — OS X @2x
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•11 years ago
|
||
I had to do some hacky things to get the arrow to fit in there since the help button is so small. Also had to tweak the anchor for the help subview.
Still need to do one more pass over it to make sure all the CSS changes are clean, but this should be good for a feedback pass.
Attachment #8400200 -
Flags: feedback?(mconley)
Assignee | ||
Comment 7•11 years ago
|
||
Fixed HiDPI and RTL support. While testing RTL support I noticed that one of the gradients had gotten flipped in the wrong direction by bug 979499.
Attachment #8400200 -
Attachment is obsolete: true
Attachment #8400200 -
Flags: feedback?(mconley)
Attachment #8400402 -
Flags: review?(mconley)
Comment 8•11 years ago
|
||
Comment on attachment 8400402 [details] [diff] [review]
Patch
Review of attachment 8400402 [details] [diff] [review]:
-----------------------------------------------------------------
It looks good on almost every platform - except for hidpi OS X. There, we have no icon when we open the subview - you need to use the @2x graphic.
I'm concerned about the approach you're using here to get the subview arrow to appear, via the PanelUI-quit button. I think that's fragile. What alternatives did you explore for this?
::: browser/themes/osx/customizableui/panelUIOverlay.css
@@ +58,5 @@
> #PanelUI-quit:not([disabled]):hover:active {
> -moz-image-region: rect(0, 96px, 32px, 64px);
> }
>
> + #PanelUI-help[panel-multiview-anchor=true] {
Nit: let's use "true" for consistency.
::: browser/themes/shared/customizableui/panelUIOverlay.inc.css
@@ +554,5 @@
> #PanelUI-quit:not([disabled]):hover:active {
> -moz-image-region: rect(0, 48px, 16px, 32px);
> }
>
> +#PanelUI-help[panel-multiview-anchor=true] {
Same nit as before, "true" please.
@@ +852,5 @@
> +}
> +
> +#PanelUI-help[panel-multiview-anchor="true"] {
> + background-image: linear-gradient(rgba(255,255,255,0.3), rgba(255,255,255,0));
> + background-position: 0;
Doesn't this just default to 0? Or are you overriding something here?
@@ +858,5 @@
> +
> +#PanelUI-help[panel-multiview-anchor="true"] + toolbarseparator + #PanelUI-quit {
> + background-color: Highlight;
> + background-position: left center;
> + background-image: url(chrome://browser/skin/customizableui/subView-arrow-back-inverted.png),
Oh my. I guess it wasn't possible to use a pseudoelement on #PanelUI-help for this? Sticking the subview arrow for #PanelUI-help on to #PanelUI-quit is pretty weird - and it will break if add-ons overlay buttons inbetween these two (which I've started to see in the wild).
Attachment #8400402 -
Flags: review?(mconley)
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #8400402 -
Attachment is obsolete: true
Attachment #8400841 -
Flags: review?(mconley)
Assignee | ||
Comment 10•11 years ago
|
||
Forgot to hit Save on the osx changes.
Attachment #8400841 -
Attachment is obsolete: true
Attachment #8400841 -
Flags: review?(mconley)
Attachment #8400843 -
Flags: review?(mconley)
Comment 11•11 years ago
|
||
Comment on attachment 8400843 [details] [diff] [review]
Patch v2.1
So, I think this looks fine - however, for large fonts on Windows, I'm noticing a glitch:
http://i.imgur.com/FrLxH41.png
Almost certainly from the static heights you're putting in. How hard do you believe it would be to address that here?
Attachment #8400843 -
Flags: review?(mconley)
Assignee | ||
Comment 12•11 years ago
|
||
Attachment #8400843 -
Attachment is obsolete: true
Attachment #8401376 -
Flags: review?(mconley)
Comment 13•11 years ago
|
||
Comment on attachment 8401376 [details] [diff] [review]
Patch v2.2
As discussed in IRC, this is way better, but the gradient isn't stretching properly on Retina displays on OS X.
Attachment #8401376 -
Flags: review?(mconley)
Assignee | ||
Comment 14•11 years ago
|
||
Only hypothetically tested, but this should fix the issue for Retina OSX.
Attachment #8401376 -
Attachment is obsolete: true
Attachment #8401425 -
Flags: review?(mconley)
Comment 15•11 years ago
|
||
Comment on attachment 8401425 [details] [diff] [review]
Patch v2.3
Review of attachment 8401425 [details] [diff] [review]:
-----------------------------------------------------------------
Ok, I dig this. Thanks Jared!
Attachment #8401425 -
Flags: review?(mconley) → review+
Comment 16•11 years ago
|
||
Comment on attachment 8401425 [details] [diff] [review]
Patch v2.3
This looks great!
And I gave you r+, and then noticed one last thing - the subview arrow on OS X Retina is low-res. We need the @2x asset in that case.
I think the next patch is the one. I can feel it.
Attachment #8401425 -
Flags: review+
Assignee | ||
Comment 17•11 years ago
|
||
Thanks for catching that! Hopefully this is the last round :)
Attachment #8401425 -
Attachment is obsolete: true
Attachment #8401897 -
Flags: review?(mconley)
Comment 18•11 years ago
|
||
Comment on attachment 8401897 [details] [diff] [review]
Patch v2.4
Go go go!
Thanks jaws. :)
Attachment #8401897 -
Flags: review?(mconley) → review+
Assignee | ||
Comment 19•11 years ago
|
||
status-firefox29:
--- → affected
status-firefox30:
--- → affected
status-firefox31:
--- → affected
Whiteboard: [Australis:P5] → [Australis:P5][fixed-in-fx-team]
Comment 20•11 years ago
|
||
http://graphs.mozilla.org/graph.html#tests=[[309,132,31]]&sel=1396803860000,1396976660000&displayrange=7&datatype=running and https://groups.google.com/forum/#!topic/mozilla.dev.tree-management/ygFhulxhgl8 suggest that this regressed CART by about 7.6% on Win8. :-\
I've not checked other OSes.
If I had to guess, it'd be about relative-positioning the footer.
Comment 21•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P5][fixed-in-fx-team] → [Australis:P5]
Target Milestone: --- → Firefox 31
Updated•11 years ago
|
Comment 22•11 years ago
|
||
I noticed a problem : Half of the help icon is cut. Should I fill a bug ?
Assignee | ||
Comment 23•11 years ago
|
||
(In reply to Tim Nguyen [:ntim] (Limited internet 14-24 April) from comment #22)
> I noticed a problem : Half of the help icon is cut. Should I fill a bug ?
Half, as in the left half? That is intentional, as you can see with other icons when entering a subview such as the History subview.
Assignee | ||
Comment 24•11 years ago
|
||
Comment on attachment 8401897 [details] [diff] [review]
Patch v2.4
[Approval Request Comment]
Bug caused by (feature/regressing bug #): missing inverted icon for help menu subview
User impact if declined: inconsistent subview appearance
Testing completed (on m-c, etc.): on m-c for a few days now
Risk to taking this patch (and alternatives if risky): none expected, needs to land along with the patch in bug 993421
String or IDL/UUID changes made by this patch: none
Attachment #8401897 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•11 years ago
|
Attachment #8401897 -
Flags: approval-mozilla-beta?
Updated•11 years ago
|
Attachment #8401897 -
Flags: approval-mozilla-beta?
Attachment #8401897 -
Flags: approval-mozilla-beta+
Attachment #8401897 -
Flags: approval-mozilla-aurora?
Attachment #8401897 -
Flags: approval-mozilla-aurora+
Comment 25•11 years ago
|
||
Updated•11 years ago
|
Whiteboard: [Australis:P5] → [Australis:P5] [good first verify]
Comment 26•11 years ago
|
||
[bugday-20140423]
status-firefox29.0 verified
status-firefox30.0a2 verified
status-firefox31.0a1 verified
tested on X86 Mac OSX 10.9.2
Steps
1 From right side of Toolbar, click Menu icon.
2 From bottom of popup menu, click Help icon.
3 From bottom left of the nav menu, click the Help icon and back button.
The main menu should display.
Screenshot was attached for Firefox 29.0 but similar screenshots resulted for Aurora and Nightly builds.
Assignee | ||
Comment 27•11 years ago
|
||
Thanks for verifying this! I'll update the various flags on the bug for you :)
Status: RESOLVED → VERIFIED
Comment 28•11 years ago
|
||
https://bug979499.bugzilla.mozilla.org/attachment.cgi?id=8412565 - arrow in rtl view
https://bug979499.bugzilla.mozilla.org/attachment.cgi?id=8412614 - arrow for "Open Help Menu" in rtl view
Jared, please see the above screenshots found when verifying bug 979499 and let me know if a follow-up bug is needed for the Help arrow in rtl view. Thank you!
Flags: needinfo?(jaws)
Assignee | ||
Comment 29•11 years ago
|
||
(In reply to Petruta Rasa [QA] [:petruta] from comment #28)
> https://bug979499.bugzilla.mozilla.org/attachment.cgi?id=8412565 - arrow in
> rtl view
> https://bug979499.bugzilla.mozilla.org/attachment.cgi?id=8412614 - arrow for
> "Open Help Menu" in rtl view
>
> Jared, please see the above screenshots found when verifying bug 979499 and
> let me know if a follow-up bug is needed for the Help arrow in rtl view.
> Thank you!
Hi Petruta, yeah, a followup bug for RTL is needed. Thanks for catching that.
Flags: needinfo?(jaws)
You need to log in
before you can comment on or make changes to this bug.
Description
•