Closed
Bug 886816
Opened 11 years ago
Closed 11 years ago
share icon for retina display is empty
Categories
(Firefox Graveyard :: SocialAPI, defect)
Tracking
(firefox23 fixed, firefox24 fixed, firefox25 verified)
RESOLVED
FIXED
Firefox 25
People
(Reporter: mixedpuppy, Assigned: florian)
References
Details
Attachments
(3 files, 3 obsolete files)
14.08 KB,
application/zip
|
Details | |
15.01 KB,
image/png
|
Details | |
8.56 KB,
patch
|
mconley
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
I've noticed that the share icon is empty on retina displays, this will need to uplift all the way :(
Reporter | ||
Comment 1•11 years ago
|
||
Boriss, also need @2 images for share
Assignee | ||
Comment 2•11 years ago
|
||
The problem is that: 423 @media (min-resolution: 2dppx) { 424 /* Whitelist built-in buttons, instead of .toolbarbutton-1, 425 to avoid potentially breaking add-on toolbar buttons. */ 426 :-moz-any(@primaryToolbarButtons@):not(#tabview-button) { 427 list-style-image: url("chrome://browser/skin/Toolbar@2x.png"); 428 } at http://mxr.mozilla.org/mozilla-central/source/browser/themes/osx/browser.css#427 overrides: 1693 #social-share-button { 1694 list-style-image: url("chrome://browser/skin/social/share-button.png"); 1695 } from http://mxr.mozilla.org/mozilla-central/source/browser/themes/osx/browser.css#1693 The attached patch is a trivial workaround that we should take if we need something very low-risk very quickly. A better solution would be to include an @2x icon for the Share button. And the real fix is bug 874773.
Comment 4•11 years ago
|
||
Dupe of bug 875212?
(In reply to Matt Wobensmith from comment #4) > Dupe of bug 875212? Looks like, duped it the other way though since this bug has a patch.
Comment 7•11 years ago
|
||
Flags: needinfo?(jboriss)
Assignee | ||
Comment 8•11 years ago
|
||
This new patch includes 2 icons from attachment 780111 [details]. Unfortunately the icons in this attachment are 33x33px and I needed icons at twice the size of the current icons which are at the surprising size of 13x14px. I took the 33x33px icons and scaled them down to 28x28px with GIMP, and finally cut 2 columns of transparent pixels on the right size of the image to obtain 26x28px images that I could use. I assume icons made directly at the right size may look slightly better, but I honestly can't spot any visible issue with the icons I resized, so I'm going to assume they are good enough. The !important in the CSS code are to override the rules at http://hg.mozilla.org/mozilla-central/annotate/2983ca6d4d1a/browser/themes/osx/browser.css#l418 I don't really like putting !important keywords, but the only other solution I see is what I did in attachment 767864 [details] [diff] [review], which IMHO is uglier.
Assignee: nobody → florian
Attachment #767864 -
Attachment is obsolete: true
Attachment #780355 -
Flags: review?(mixedpuppy)
Assignee | ||
Comment 9•11 years ago
|
||
Reporter | ||
Comment 10•11 years ago
|
||
Comment on attachment 780355 [details] [diff] [review] Patch v2 looks ok to me, but get a reviewer to look
Attachment #780355 -
Flags: review?(mixedpuppy) → review?(mconley)
Comment 11•11 years ago
|
||
Comment on attachment 780355 [details] [diff] [review] Patch v2 Review of attachment 780355 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/themes/osx/browser.css @@ +1690,5 @@ > +} > + > +@media (min-resolution: 2dppx) { > + #social-share-button { > + list-style-image: url("chrome://browser/skin/social/share-button@2x.png") !important; So it seems to me that we need these !important overrides because #social-share-button is in primaryToolbarButtons. Why is #social-share-button in primaryToolbarButtons? Does it really need to be there? What advantage does that give us?
Comment 12•11 years ago
|
||
I can't think of a good reason for the social-share-button to be in primaryToolbarButtons. Am I missing something?
Flags: needinfo?(dao)
Reporter | ||
Comment 13•11 years ago
|
||
tested on osx,lin,win but not on retina display. I do not see any problems removing the button from primaryToolbarButton
Attachment #780355 -
Attachment is obsolete: true
Attachment #780355 -
Flags: review?(mconley)
Attachment #781899 -
Flags: review?(mconley)
Reporter | ||
Comment 14•11 years ago
|
||
missed removing 2 other !important
Attachment #781899 -
Attachment is obsolete: true
Attachment #781899 -
Flags: review?(mconley)
Attachment #781902 -
Flags: review?(mconley)
Updated•11 years ago
|
Attachment #781902 -
Flags: review?(mconley) → review+
Reporter | ||
Comment 15•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/7aa74bef708c
Flags: needinfo?(dao)
Reporter | ||
Comment 16•11 years ago
|
||
Comment on attachment 781902 [details] [diff] [review] Patch V3 [Approval Request Comment] Bug caused by (feature/regressing bug #): User impact if declined: Testing completed (on m-c, etc.): Risk to taking this patch (and alternatives if risky): String or IDL/UUID changes made by this patch:
Attachment #781902 -
Flags: approval-mozilla-beta?
Attachment #781902 -
Flags: approval-mozilla-aurora?
Reporter | ||
Comment 17•11 years ago
|
||
sorry, clicked too fast [Approval Request Comment] Bug caused by (feature/regressing bug #): share feature User impact if declined: share button will have no icon on retina display Testing completed (on m-c, etc.): m-c Risk to taking this patch (and alternatives if risky): low String or IDL/UUID changes made by this patch: none
Comment 18•11 years ago
|
||
Comment on attachment 781902 [details] [diff] [review] Patch V3 low risk, needed on branches, approving now to make sure this gets in before Monday's final beta.
Attachment #781902 -
Flags: approval-mozilla-beta?
Attachment #781902 -
Flags: approval-mozilla-beta+
Attachment #781902 -
Flags: approval-mozilla-aurora?
Attachment #781902 -
Flags: approval-mozilla-aurora+
Comment 19•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7aa74bef708c
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
Comment 20•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/6c395ae8c304 https://hg.mozilla.org/releases/mozilla-beta/rev/2949252278a5
Updated•11 years ago
|
QA Contact: mwobensmith
Comment 21•11 years ago
|
||
Verified m-c 2013-08-01
Updated•5 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•