Closed
Bug 892076
Opened 11 years ago
Closed 11 years ago
Use finalized assets for customize and help button in panel UI
Categories
(Firefox :: Theme, defect)
Firefox
Theme
Tracking
()
RESOLVED
FIXED
Firefox 28
People
(Reporter: Gijs, Assigned: jaws)
References
Details
(Keywords: icon, Whiteboard: [Australis:P1][Australis:M9])
Attachments
(2 files, 1 obsolete file)
(deleted),
application/zip
|
Details | |
(deleted),
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
Right now we're using the dummy icon for the customize button, and another help icon for the help menu. We should definitely update the customize button, and probably just include the help menu in the sprite as well. Stephen, I'm assigning this to you as we wait for new sprites. :-)
Updated•11 years ago
|
Status: NEW → ASSIGNED
Comment 2•11 years ago
|
||
I suspect this will actually end up being fixed by the implementation of bug 871203, but just marking it as a dependency for the moment.
Depends on: 871203
Assignee | ||
Updated•11 years ago
|
Whiteboard: [Australis:P1] → [Australis:P1][Australis:M?]
Comment 4•11 years ago
|
||
Flags: needinfo?(shorlander)
Assignee | ||
Comment 5•11 years ago
|
||
Thanks Stephen. I'll carry this forward.
Assignee: shorlander → jaws
Assignee | ||
Updated•11 years ago
|
Whiteboard: [Australis:P1][Australis:M?] → [Australis:P1][Australis:M9]
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #803926 -
Flags: review?(mnoorenberghe+bmo)
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 803926 [details] [diff] [review]
Patch
Review of attachment 803926 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/themes/shared/customizableui/panelUIOverlay.inc.css
@@ +223,5 @@
> +
> +#PanelUI-customize,
> +#PanelUI-help,
> +#PanelUI-quit {
> + -moz-image-region: rect(0, 16px, 16px, 0);
I should probably move this block lower so it is directly above the *:hover rules.
Comment 8•11 years ago
|
||
Comment on attachment 803926 [details] [diff] [review]
Patch
Review of attachment 803926 [details] [diff] [review]:
-----------------------------------------------------------------
I gave two ideas to remove rulesets from the OS X stylesheet which would be nice but don't block.
I also agree with your own note. I didn't test the patches but I have fresh builds on all platforms if you want me to do so when I get to the office.
::: browser/themes/osx/customizableui/panelUIOverlay.css
@@ +9,5 @@
>
> +#PanelUI-customize:hover,
> +#PanelUI-help:hover,
> +#PanelUI-quit:hover {
> + -moz-image-region: rect(0, 16px, 16px, 0);
Notes describing what's happening: This prevents the :hover state on OS X.
I personally would prefer an #ifndef XP_MAC around the relevant style in panelUIOverlay.inc.css to reduce duplication.
@@ +15,5 @@
> +
> +#PanelUI-customize:hover:active,
> +#PanelUI-help:hover:active,
> +#PanelUI-quit:hover:active {
> + -moz-image-region: rect(0, 32px, 16px, 16px);
…and the default :hover state is used for :hover:active on OS X or is it that the images have a different layout? If the OS X image is already different than the others, I would prefer just changing the image to have a consistent position for the :hover:active state. That would avoid this block.
Attachment #803926 -
Flags: review?(mnoorenberghe+bmo) → review+
Assignee | ||
Comment 9•11 years ago
|
||
I didn't notice that the OS X images already had the same layout as the Windows/Linux images. I was able to remove the two blocks from the osx specialization and will now test it on osx and linux.
Attachment #803926 -
Attachment is obsolete: true
Attachment #804594 -
Flags: review+
Assignee | ||
Comment 10•11 years ago
|
||
https://hg.mozilla.org/projects/ux/rev/809acf2d41bc
I talked with Stephen and he wants to use the hover states on OSX. I removed the %ifndef guards and added the HiDPI ruleset for :hover. Tested on linux, windows, and osx.
Whiteboard: [Australis:P1][Australis:M9] → [Australis:P1][Australis:M9][fixed-in-ux]
Assignee | ||
Comment 11•11 years ago
|
||
<jaws> shorlander: you included three states for the help/quit/customize icons on osx. does that mean you want a hover state? or was that just an oversight?
<shorlander> jaws: yeah, all the actions are pretty grey. want to try and add some color on hover.
Reporter | ||
Comment 12•11 years ago
|
||
The quit icon is too big on OS X hidpi. :-(
(the other two seem fine)
Assignee | ||
Comment 13•11 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #12)
> The quit icon is too big on OS X hidpi. :-(
>
> (the other two seem fine)
I don't see anything within this patch to cause this issue. Perhaps there is some other CSS style that is being applied specifically to the quit icon that is making it larger? Can you file a separate bug on this issue when you find more details?
Flags: needinfo?(gijskruitbosch+bugs)
Reporter | ||
Comment 14•11 years ago
|
||
(In reply to Jared Wein [:jaws] from comment #13)
> (In reply to :Gijs Kruitbosch from comment #12)
> > The quit icon is too big on OS X hidpi. :-(
> >
> > (the other two seem fine)
>
> I don't see anything within this patch to cause this issue. Perhaps there is
> some other CSS style that is being applied specifically to the quit icon
> that is making it larger? Can you file a separate bug on this issue when you
> find more details?
Filed bug 916873. I also just noticed that the customize button still has the old icon. I clobbered and rebuilt, and it still looks like this. Will probably have to delay investigating until tomorrow, so if anyone feels like picking it up before then, please be my guest.
Flags: needinfo?(gijskruitbosch+bugs)
Reporter | ||
Comment 15•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P1][Australis:M9][fixed-in-ux] → [Australis:P1][Australis:M9]
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•