Closed
Bug 1373299
Opened 7 years ago
Closed 7 years ago
Pocket toolbar button icon is still 18x18 pixels
Categories
(Firefox :: Pocket, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox57 | --- | verified |
People
(Reporter: Gijs, Unassigned)
References
Details
(Whiteboard: [reserve-photon-visual][p5] fixed by bug 1387077)
Attachments
(3 files, 1 obsolete file)
I tried to reuse the pocket SVG icon somewhere in the menus (which it turns out we don't want to do anyway, so never mind) but then I noticed it was still 18x18 pixels. I thought we switched everything to 16x16 pixels - does this still need updating?
I don't know to what degree this has consequences in the toolbar (I don't see any off-hand?), though it might have some more in the overflow panel in terms of the icons looking centered when they're aligned vertically.
There's an icon in the icon folder that I'll attach here for completeness.
Reporter | ||
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Flags: needinfo?(nhnt11)
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
Patch was simpler than trying to track down why we originally didn't bother (I remember discussions around pre-processing, pocket button being moved to URL bar anyway, etc).
Assignee: nobody → nhnt11
Status: NEW → ASSIGNED
Flags: needinfo?(nhnt11)
Updated•7 years ago
|
Iteration: --- → 56.1 - Jun 26
Flags: qe-verify+
Priority: -- → P1
QA Contact: brindusa.tot
Whiteboard: [photon-visual][triage] → [photon-visual]
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8880379 [details]
Bug 1373299 - Pocket icon should be 16x16 like the others.
https://reviewboard.mozilla.org/r/151748/#review156718
::: browser/extensions/pocket/skin/linux/pocket.css:7
(Diff revision 1)
>
> #nav-bar #pocket-button > .toolbarbutton-icon {
> %ifndef MOZ_PHOTON_THEME
> padding: 2px 6px;
> %else
> - padding: calc(var(--toolbarbutton-inner-padding) - 1px);
> + padding: var(--toolbarbutton-inner-padding);
toolbarbuttons.inc.css sets the same padding, so this shouldn't be needed.
::: browser/extensions/pocket/skin/linux/pocket.css:12
(Diff revision 1)
> - padding: calc(var(--toolbarbutton-inner-padding) - 1px);
> + padding: var(--toolbarbutton-inner-padding);
> %endif
> }
>
> :-moz-any(#TabsToolbar, .widget-overflow-list) #pocket-button > .toolbarbutton-icon {
> max-width: 18px;
What about this?
Comment hidden (mozreview-request) |
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8880379 [details]
Bug 1373299 - Pocket icon should be 16x16 like the others.
https://reviewboard.mozilla.org/r/151748/#review156728
::: browser/extensions/pocket/skin/linux/pocket.css:5
(Diff revision 2)
> @import url("chrome://pocket-shared/skin/pocket.css");
>
> #nav-bar #pocket-button > .toolbarbutton-icon {
> %ifndef MOZ_PHOTON_THEME
> padding: 2px 6px;
And this can go away too?
::: browser/extensions/pocket/skin/linux/pocket.css:11
(Diff revision 2)
> %endif
> }
>
> :-moz-any(#TabsToolbar, .widget-overflow-list) #pocket-button > .toolbarbutton-icon {
> +%ifndef MOZ_PHOTON_THEME
> max-width: 18px;
The icon size doesn't depend on photon, does it?
::: browser/extensions/pocket/skin/linux/pocket.css:13
(Diff revision 2)
>
> :-moz-any(#TabsToolbar, .widget-overflow-list) #pocket-button > .toolbarbutton-icon {
> +%ifndef MOZ_PHOTON_THEME
> max-width: 18px;
> +%else
> + max-width: 16px;
This shouldn't be needed anymore either.
Attachment #8880379 -
Flags: review?(dao+bmo) → review-
Comment hidden (mozreview-request) |
Comment 8•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8880379 [details]
Bug 1373299 - Pocket icon should be 16x16 like the others.
https://reviewboard.mozilla.org/r/151748/#review156728
> The icon size doesn't depend on photon, does it?
Indeed it does not! Clumsy me!
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8880379 [details]
Bug 1373299 - Pocket icon should be 16x16 like the others.
https://reviewboard.mozilla.org/r/151748/#review156738
::: browser/extensions/pocket/skin/linux/pocket.css:6
(Diff revision 3)
> -}
> -
> :-moz-any(#TabsToolbar, .widget-overflow-list) #pocket-button > .toolbarbutton-icon {
> - max-width: 18px;
> + max-width: 16px;
> padding: 0;
> }
What is this rule still good for? As I understand it, you can just remove it.
Comment hidden (mozreview-request) |
Comment 11•7 years ago
|
||
mozreview-review |
Comment on attachment 8880379 [details]
Bug 1373299 - Pocket icon should be 16x16 like the others.
https://reviewboard.mozilla.org/r/151748/#review156748
::: browser/extensions/pocket/jar.mn:15
(Diff revisions 3 - 4)
> % skin pocket-shared classic/1.0 %skin/shared/
> content/ (content/*)
> skin/shared (skin/shared/*)
> #ifdef XP_WIN
> skin/windows/ (skin/windows/*.png)
> - skin/windows/pocket.css (skin/windows/pocket.css)
> + skin/windows/pocket.css (skin/shared/pocket.css)
Is there a better way to do this?
Comment 12•7 years ago
|
||
mozreview-review |
Comment on attachment 8880379 [details]
Bug 1373299 - Pocket icon should be 16x16 like the others.
https://reviewboard.mozilla.org/r/151748/#review156752
Attachment #8880379 -
Flags: review?(dao+bmo) → review+
Comment 13•7 years ago
|
||
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/91950bf37618
Pocket icon should be 16x16 like the others. r=dao
Comment 14•7 years ago
|
||
This has busted autoland (Windows & Linux) with issues like:
https://treeherder.mozilla.org/logviewer.html#?job_id=109780034&repo=autoland&lineNumber=17175
ERROR: The following duplicated files are not allowed:
browser/features/firefox@getpocket.com/chrome/skin/linux/pocket.css
browser/features/firefox@getpocket.com/chrome/skin/shared/pocket.css
Unfortunately there's no sheriffs around to backout at the moment.
Backed out for the build bustage:
https://hg.mozilla.org/integration/autoland/rev/659451f14ddd
Flags: needinfo?(nhnt11)
Excitingly, it only broke on non-Mac builds.
Updated•7 years ago
|
Iteration: 56.1 - Jun 26 → 56.2 - Jul 10
Updated•7 years ago
|
Whiteboard: [photon-visual] → [photon-visual][p3]
Updated•7 years ago
|
Iteration: 56.2 - Jul 10 → 56.3 - Jul 24
Updated•7 years ago
|
Iteration: 56.3 - Jul 24 → 56.4 - Aug 1
Updated•7 years ago
|
Iteration: 56.4 - Aug 1 → 57.1 - Aug 15
Comment 17•7 years ago
|
||
pocket.svg is now used in the location bar rather than for a toolbar button but the size is still wrong. Nihanth?
Updated•7 years ago
|
Whiteboard: [photon-visual][p3] → [reserve-photon-visual][p5]
Comment 18•7 years ago
|
||
This should be fixed by the patch in bug 1387077.
Updated•7 years ago
|
Attachment #8880379 -
Attachment is obsolete: true
Updated•7 years ago
|
Assignee: nhnt11 → nobody
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [reserve-photon-visual][p5] → [reserve-photon-visual][p5] fixed by bug 1387077
Target Milestone: --- → Firefox 57
Updated•7 years ago
|
Flags: needinfo?(nhnt11)
Updated•7 years ago
|
QA Contact: brindusa.tot → ovidiu.boca
Comment 19•7 years ago
|
||
I tested this on Mac OS X 10.10 with Nightly 57.0a1(2017-09-17) and I have 2 questions:
1. The color from the pocket icon from the attachment is darker than the one from the browser.
2. I don't have 18x18 px dimensions, I have w= 16px and h= 14px, this are the expected dimensions? Please see the attachments.
Comment 20•7 years ago
|
||
Reporter | ||
Comment 21•7 years ago
|
||
(In reply to ovidiu boca[:Ovidiu] from comment #19)
> Created attachment 8909279 [details]
> height - pocket icon.png
>
> I tested this on Mac OS X 10.10 with Nightly 57.0a1(2017-09-17) and I have 2
> questions:
>
> 1. The color from the pocket icon from the attachment is darker than the one
> from the browser.
> 2. I don't have 18x18 px dimensions, I have w= 16px and h= 14px, this are
> the expected dimensions? Please see the attachments.
Yep, that's expected, thanks!
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•