Closed Bug 1150251 Opened 9 years ago Closed 9 years ago

Tapping +/- buttons makes Aa move slightly side to side

Categories

(Firefox for Android Graveyard :: Reader View, defect)

35 Branch
All
Android
defect
Not set
normal

Tracking

(firefox38 unaffected, firefox39 unaffected, firefox40 verified, fennec40+)

RESOLVED FIXED
Firefox 40
Tracking Status
firefox38 --- unaffected
firefox39 --- unaffected
firefox40 --- verified
fennec 40+ ---

People

(Reporter: Margaret, Assigned: vivek)

References

Details

(Keywords: regression)

Attachments

(1 file, 2 obsolete files)

I wonder if this is a regression. Teodora, have you seen this?
Flags: needinfo?(teodora.vermesan)
Yes, this is a regression. I don't see the bounce on the 31-03 build. But I can reproduce on the 01-04 build. 

pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=8af276ab8636&tochange=0b88606f8fe7
It's Bug 1142528 - Tappable area is larger than the +/- buttons, overlaping "Aa" button
Flags: needinfo?(teodora.vermesan)
Vivek, I'm hoping you can take this :)

I can also look into this if you're too busy with other things, let me know if you'd prefer that I take it.
Assignee: nobody → vivekb.balakrishnan
tracking-fennec: --- → ?
Blocks: 1142528
Attached patch 1150251.patch (obsolete) — Splinter Review
It seems there is a slight decrease in width when a button is in the pressed state. This is the reason why Aa button side to side when +/- button is pressed. Added padding to +/- button to solve this.
Attachment #8587645 - Flags: review?(margaret.leibovic)
Comment on attachment 8587645 [details] [diff] [review]
1150251.patch

Review of attachment 8587645 [details] [diff] [review]:
-----------------------------------------------------------------

Testing locally, when I tap on the "Aa", it now moves, so I don't think this is an acceptable fix.
Attachment #8587645 - Flags: review?(margaret.leibovic) → review-
Let's backout bug 1142528 from Fx38 and Fx39. Then we can fix this on Nightly.
Assignee: vivekb.balakrishnan → margaret.leibovic
tracking-fennec: ? → 38+
Backed out bug 1142528 from aurora/beta, so this is less time sensitive now.

Handing this back to Vivek.
Assignee: margaret.leibovic → vivekb.balakrishnan
tracking-fennec: 38+ → 40+
Attached patch 1150251.patch (obsolete) — Splinter Review
Added padding for Aa sample to avoid shake effect.
Attachment #8587645 - Attachment is obsolete: true
Attachment #8590501 - Flags: review?(margaret.leibovic)
Comment on attachment 8590501 [details] [diff] [review]
1150251.patch

Review of attachment 8590501 [details] [diff] [review]:
-----------------------------------------------------------------

This works well with my testing. However, I still don't totally understand what these padding changes are doing to change the behavior. Do you understand what's going on?

::: mobile/android/themes/core/aboutReader.css
@@ +400,5 @@
>    color: #000000;
> +  margin-left: 30px;
> +  margin-right: 30px;
> +  padding-left: 10px;
> +  padding-right: 10px;

Nit: Could you format these on one line each?

margin: 0 30px;
padding: 0 10px;
Attachment #8590501 - Flags: review?(margaret.leibovic) → review+
Attached patch 1150251.patchSplinter Review
Review nit corrected.
@Margaret: As I mention in irc, I don't clearly understand the reasons. I suspect it is due to some browser style for hover state for the buttons.
Attachment #8590501 - Attachment is obsolete: true
Attachment #8591051 - Flags: review?(margaret.leibovic)
Attachment #8591051 - Flags: review?(margaret.leibovic) → review+
Let's let this land on Nightly, and if there are no regressions, we can think about re-uplifting bug 1142528 along with this patch.
Keywords: checkin-needed
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/165ef2e74b13
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
Verified as fixed using:
Device: Nexus 7 (Android 5.0)
Build: Firefox for Android 40.0a1 (2015-04-15)
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: