Closed Bug 1022405 Opened 10 years ago Closed 10 years ago

Not enough padding on OSX translation infobar

Categories

(Firefox :: Translations, defect)

x86
macOS
defect
Not set
normal
Points:
1

Tracking

()

VERIFIED FIXED
Firefox 33
Iteration:
33.2
Tracking Status
firefox32 --- verified
firefox33 --- verified

People

(Reporter: Felipe, Assigned: smacleod)

References

Details

Attachments

(5 files, 1 obsolete file)

Attached image Current infobar
The padding on the infobar is supposed to be larger than it currently is. See attached screenshot for details. I was testing the WIP patches from bug 988480 and they had the correct padding, so I think it's something that regressed in the last versions of the patch.
Flags: firefox-backlog+
Attached image Intended padding
The info bar should have a height of 40px and the buttons 26px. These measurements should provide ample padding.
Depends on: 951627
No longer depends on: 951627
Assignee: nobody → smacleod
Status: NEW → ASSIGNED
Iteration: --- → 33.2
Points: --- → 1
QA Whiteboard: [qa+]
QA Contact: bogdan.maris
Attached image Padding After Patch
Comment on attachment 8448413 [details] [diff] [review] Patch - Adjust infobar and button height to increase padding Sending it over to Florian, as I won't be able to look at this this week
Attachment #8448413 - Flags: review?(florian)
Comment on attachment 8448413 [details] [diff] [review] Patch - Adjust infobar and button height to increase padding Review of attachment 8448413 [details] [diff] [review]: ----------------------------------------------------------------- After some UX discussions in #translation with Sevaan, I think the values given in comment 2 aren't the best we can do. ::: browser/themes/osx/browser.css @@ +3617,5 @@ > border-top: none; > border-bottom: 1px solid #c4c4c4; > padding-top: 1px; > padding-bottom: 1px; > + min-height: 40px; Let's make this 35px so that the padding at the top and bottom of the buttons is the same as the padding between the 2 buttons. @@ +3632,5 @@ > border-color: rgba(23, 51, 78, 0.15) rgba(23, 51, 78, 0.17) rgba(23, 51, 78, 0.2); > box-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5) inset, 0px 1px 0px rgba(255, 255, 255, 0.2); > transition-property: background-color, border-color, box-shadow; > transition-duration: 150ms; > + min-height: 26px; Let's revert this to 22px so that the buttons and the menulist have the same height.
Attachment #8448413 - Flags: review?(florian)
Attachment #8448413 - Flags: review?(felipc)
Attachment #8448413 - Flags: review-
For future reference, this is what the infobar looked like when I tried the values I gave in comment 6. Sevaan looked at this screenshot on IRC and said "35 looks great. That height feels nicely balanced to me. [...] I like it. That feels good."
Updated patch. Confirmed that it looks just like the screenshot Florian provided.
Attachment #8448413 - Attachment is obsolete: true
Attachment #8450481 - Flags: review?(florian)
Comment on attachment 8450481 [details] [diff] [review] Patch - Adjust infobar height to increase padding. v2 Review of attachment 8450481 [details] [diff] [review]: ----------------------------------------------------------------- Thanks! We also want this on aurora.
Attachment #8450481 - Flags: review?(florian) → review+
Comment on attachment 8450481 [details] [diff] [review] Patch - Adjust infobar height to increase padding. v2 Approval Request Comment [Feature/regressing bug #]: This bug is part of the automatic translation feature, which we want to A/B with a subset of Aurora 32 users, and later Beta 32 users. [User impact if declined]: The translation infobar will be short and cluttered on Mac. [Describe test coverage new/current, TBPL]: none. [Risks and why]: almost none, trivial CSS-only change. [String/UUID change made/needed]: none.
Attachment #8450481 - Flags: approval-mozilla-aurora?
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Comment on attachment 8450481 [details] [diff] [review] Patch - Adjust infobar height to increase padding. v2 This is a trivial fix so Aurora+. However, my understanding is that the translation trial is already live and that translation will not ship with 32 so I don't know that users will get much benefit from this fix.
Attachment #8450481 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
(In reply to Lawrence Mandel [:lmandel] from comment #13) > However, my understanding is that the > translation trial is already live and that translation will not ship with 32 > so I don't know that users will get much benefit from this fix. The pre-trial with German users on 32 aurora is live, but the real trial is expected to happen on 32 beta.
Verified as fixed on Mac OS X 10.9.4 and Mac OS X 10.8.5 using latest Nightly. Leaving [qa+] until this fix lands in Aurora as well.
Confirmed that this is verified on latest Aurora as well.
Status: RESOLVED → VERIFIED
QA Whiteboard: [qa+] → [qa!]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: