Closed
Bug 984535
Opened 11 years ago
Closed 11 years ago
different padding on buttons when social buttons enabled
Categories
(Firefox Graveyard :: SocialAPI, defect)
Tracking
(firefox28 unaffected, firefox29+ verified, firefox30+ verified, firefox31 verified)
VERIFIED
FIXED
Firefox 31
People
(Reporter: mixedpuppy, Assigned: mixedpuppy)
References
Details
(Whiteboard: [Australis:P3+])
Attachments
(4 files, 3 obsolete files)
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
patch
|
Gijs
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
It seems button padding changed again? Now there is different padding depending on whether social buttons are enabled. Images to follow.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Assignee | ||
Comment 4•11 years ago
|
||
I'm able to reproduce on completely clean profile with a build of fx-team just an hour or so ago.
str:
- create new profile with -ProfileManager
- start fx
- notice size of hover outlines and toolbar
- modify social.directories pref with value http://mixedpuppy.github.io/socialapi-directory
- go to above url, install G+ demo
- notice during install the toolbar increases size
- notice some buttons now have larger padding around image
Comment 5•11 years ago
|
||
I've tracked this down to too much margin-top and margin-bottom on badge-type toolbarbutton icons. There's 4px of padding on the top and bottom, and I think there should be 2px instead.
I believe this is simply fallout from bug 980374.
Blocks: 980374
Assignee | ||
Comment 6•11 years ago
|
||
appears to only be an osx issue, verified correct appearance on win/lin baring a couple new bugs I discovered, including bug 984630
Assignee | ||
Comment 7•11 years ago
|
||
Assignee: nobody → mixedpuppy
Attachment #8392559 -
Flags: review?(mconley)
Assignee | ||
Updated•11 years ago
|
status-firefox28:
--- → unaffected
status-firefox29:
--- → unaffected
status-firefox30:
--- → affected
tracking-firefox30:
--- → ?
Assignee | ||
Updated•11 years ago
|
tracking-firefox29:
--- → ?
Comment 8•11 years ago
|
||
Shane, why do you think we should track it? It seems a bit minor to me and we would not block the release on this. Thanks :)
Maybe related to bug 968388.
Comment 10•11 years ago
|
||
Shane, I r+ your changes, but I also noticed that the updated toolbar styles also doesn't apply the hover & active states to social API buttons.
That's because you use `disabled=false` instead of removing the attribute. This is completely legal, so I changed the CSS to have `[disabled=true]` checks instead of `[disabled]`.
Assignee: mixedpuppy → mdeboer
Attachment #8392559 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8392559 -
Flags: review?(mconley)
Attachment #8392811 -
Flags: review?(mixedpuppy)
Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 8392811 [details] [diff] [review]
Patch v2: fix padding and toolbar button states
if we fix the disabled state here, we should do it for all platforms since I've seen this issue happen on linux and windows as well in bug 984628.
I think it might be simpler to just fix the socialapi use of the disabled attribute, but also like this css change better.
Attachment #8392811 -
Flags: review?(mixedpuppy) → feedback+
Comment 12•11 years ago
|
||
Would call this P2 except for it being SocialAPI specific.
That said, it would be worth looking at what we historically did for this attribute. If it's one of those oddball attributes that just depend on presence but not value, 'twould be better to fix Social.
Whiteboard: [Australis:P3+]
Assignee | ||
Comment 13•11 years ago
|
||
fyi I have a fix coming separately for bug 984628 that addresses the disabled/hidden state. It's a bit more involved than just a css change, there is a bug here in the share button code. I'd prefer to do the smaller fix here.
Comment 14•11 years ago
|
||
Shane, r=me for the smaller fix (as mentioned in comment 10). You can check that in to resolve this bug.
Comment 15•11 years ago
|
||
(In reply to Shane Caraveo (:mixedpuppy) from comment #11)
> Comment on attachment 8392811 [details] [diff] [review]
> Patch v2: fix padding and toolbar button states
>
> if we fix the disabled state here, we should do it for all platforms since
> I've seen this issue happen on linux and windows as well in bug 984628.
>
> I think it might be simpler to just fix the socialapi use of the disabled
> attribute, but also like this css change better.
That is strange, because this was meant to be fixed by bug 973704. If bug 980374 regressed OS X, fine, but what regressed Windows/Linux? :|
Assignee | ||
Comment 16•11 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #15)
> (In reply to Shane Caraveo (:mixedpuppy) from comment #11)
> > Comment on attachment 8392811 [details] [diff] [review]
> > Patch v2: fix padding and toolbar button states
> >
> > if we fix the disabled state here, we should do it for all platforms since
> > I've seen this issue happen on linux and windows as well in bug 984628.
> >
> > I think it might be simpler to just fix the socialapi use of the disabled
> > attribute, but also like this css change better.
>
> That is strange, because this was meant to be fixed by bug 973704. If bug
> 980374 regressed OS X, fine, but what regressed Windows/Linux? :|
I have another fix coming for bug 984630 and bug 984628 that addresses this.
Assignee | ||
Comment 17•11 years ago
|
||
This fix should make it easier to keep the buttons consistent.
Assignee: mdeboer → mixedpuppy
Attachment #8392811 -
Attachment is obsolete: true
Attachment #8393721 -
Flags: review?(mdeboer)
Assignee | ||
Comment 18•11 years ago
|
||
Comment on attachment 8393721 [details] [diff] [review]
osx padding fix
@Gijs can r? in place of mdeboer (who I think may be laptopless)
Attachment #8393721 -
Flags: review?(gijskruitbosch+bugs)
Comment 19•11 years ago
|
||
Comment on attachment 8393721 [details] [diff] [review]
osx padding fix
Review of attachment 8393721 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/themes/osx/browser.css
@@ +1234,5 @@
> min-width: 28px;
> }
>
> /* Help 16px icons fit: */
> +.toolbarbutton-1[cui-areatype="toolbar"]:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container > .toolbarbutton-icon,
Are these 16px icons? I mean, if so, r+, but the comment should continue applying, otherwise it'd make sense to keep this as a separate rule.
Attachment #8393721 -
Flags: review?(mdeboer)
Attachment #8393721 -
Flags: review?(gijskruitbosch+bugs)
Attachment #8393721 -
Flags: review+
Assignee | ||
Comment 20•11 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #19)
> Comment on attachment 8393721 [details] [diff] [review]
> Are these 16px icons? I mean, if so, r+, but the comment should continue
> applying, otherwise it'd make sense to keep this as a separate rule.
Well, they are typically 16px but we don't necessarily control that. Pocket is using 32px. However, while looking into this, I discovered I don't need any rule specific to the button here, simply removing the old css fixes the padding issue. New patch coming.
Assignee | ||
Comment 21•11 years ago
|
||
Attachment #8393809 -
Flags: review?(gijskruitbosch+bugs)
Updated•11 years ago
|
Attachment #8393809 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 22•11 years ago
|
||
Updated•11 years ago
|
Comment 23•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 31
Updated•11 years ago
|
Attachment #8393721 -
Attachment is obsolete: true
Assignee | ||
Comment 24•11 years ago
|
||
Comment on attachment 8393809 [details] [diff] [review]
osx padding fix
[Approval Request Comment]
Bug caused by (feature/regressing bug #): australis styling
User impact if declined: minor visual glitches when social providers are installed
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
Attachment #8393809 -
Flags: approval-mozilla-beta?
Attachment #8393809 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #8393809 -
Flags: approval-mozilla-beta?
Attachment #8393809 -
Flags: approval-mozilla-beta+
Attachment #8393809 -
Flags: approval-mozilla-aurora?
Attachment #8393809 -
Flags: approval-mozilla-aurora+
Comment 25•11 years ago
|
||
Comment 26•11 years ago
|
||
Verified as fixed using Firefox 29 beta 3, latest Aurora and latest Nightly on Mac OS X 10.8.5.
Status: RESOLVED → VERIFIED
Keywords: verifyme
Updated•6 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•