Closed
Bug 976680
Opened 11 years ago
Closed 11 years ago
Promo banner on tablets in squished occasionally on rotation
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox29 verified, firefox30 verified, firefox31 verified, fennec29+)
VERIFIED
FIXED
Firefox 31
People
(Reporter: aaronmt, Assigned: Margaret)
References
Details
(Keywords: reproducible)
Attachments
(2 files)
104.33 KB,
image/png
|
Details | |
1.31 KB,
patch
|
bnicholson
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
See screenshot
Assignee | ||
Updated•11 years ago
|
tracking-fennec: ? → 29+
status-firefox29:
--- → affected
Updated•11 years ago
|
Assignee: nobody → margaret.leibovic
Assignee | ||
Comment 1•11 years ago
|
||
Aaron, which tablet were you using here? I'm not seeing this on my N7.
Reporter | ||
Comment 3•11 years ago
|
||
Was using my Nexus 7 2013 (Android 4.4.2). I believe I hit this scenario occasionally after rotating the device on about:home. As you can see in the screenshot it looks like the logic got confused on the width for some reason and when it was drawn it was all squished.
Flags: needinfo?(aaron.train)
Summary: Promo banner on tablets in squished → Promo banner on tablets in squished occasionally on rotation
Reporter | ||
Comment 4•11 years ago
|
||
I'll hunt for specific steps on Monday
Flags: needinfo?(aaron.train)
Reporter | ||
Comment 5•11 years ago
|
||
Ah steps are trivial to reproduce actually
i) Hold the tablet in landscape and launch Nightly
ii) Rotate to portrait before the banner is shown on about:home
Flags: needinfo?(aaron.train)
Comment 6•11 years ago
|
||
This is tracking Fx29 folks. What's the plan?
Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #6)
> This is tracking Fx29 folks. What's the plan?
The plan is I still need to look into a fix, but I won't be able to get to this until next week.
I think this is enough of an edge case that it's not the end of the world if we ship this bug, but it would be good to fix it.
Updated•11 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 8•11 years ago
|
||
I found that this issue is caused by the fact that we have different padding values for portrait/landscape tablet views, and the padding isn't refreshed when the view is rotated.
An easy fix here would be to just get rid of that padding, or to make it the same value for both portrait and landscape. I've actually found it a bit awkward that the close button isn't all the way on the right in landscape mode on tablets, so maybe this would be a good fix.
Ian, what do you think?
Flags: needinfo?(ibarlow)
Comment 9•11 years ago
|
||
(In reply to :Margaret Leibovic from comment #8)
> I found that this issue is caused by the fact that we have different padding
> values for portrait/landscape tablet views, and the padding isn't refreshed
> when the view is rotated.
>
> An easy fix here would be to just get rid of that padding, or to make it the
> same value for both portrait and landscape. I've actually found it a bit
> awkward that the close button isn't all the way on the right in landscape
> mode on tablets, so maybe this would be a good fix.
>
> Ian, what do you think?
I agree. Let's use the same padding for both :)
Flags: needinfo?(ibarlow)
Assignee | ||
Comment 10•11 years ago
|
||
I kept the Widget.HomeBanner style because we're still using that to set some padding for a non-landscape tablet style.
Attachment #8397492 -
Flags: review?(bnicholson)
Updated•11 years ago
|
Attachment #8397492 -
Flags: review?(bnicholson) → review+
Assignee | ||
Comment 11•11 years ago
|
||
Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 8397492 [details] [diff] [review]
Remove landscape padding from home banner
[Approval Request Comment]
Bug caused by (feature/regressing bug #): enabling snippets/sync promo banner
User impact if declined: banner contents look squished if a tablet is rotated
Testing completed (on m-c, etc.): just landed on fx-team
Risk to taking this patch (and alternatives if risky): low-risk, removes some padding in our landscape tablet UI
String or IDL/UUID changes made by this patch: none
Attachment #8397492 -
Flags: approval-mozilla-beta?
Attachment #8397492 -
Flags: approval-mozilla-aurora?
Comment 13•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 31
Updated•11 years ago
|
Attachment #8397492 -
Flags: approval-mozilla-beta?
Attachment #8397492 -
Flags: approval-mozilla-beta+
Attachment #8397492 -
Flags: approval-mozilla-aurora?
Attachment #8397492 -
Flags: approval-mozilla-aurora+
Updated•11 years ago
|
status-firefox31:
--- → fixed
Comment 14•11 years ago
|
||
Comment 15•11 years ago
|
||
Verified as fixed in builds:
- 31.0a1 (2014-04-07);
- 30.0a2 (2014-04-07);
Device: Google Nexus 7 2013 (Android 4.4.2).
Will retest on beta 6 tomorrow after the build is landed.
Comment 16•11 years ago
|
||
Verified as fixed in build Firefox 29 beta 6;
Device: Google Nexus 7 2013 (Android 4.4.2).
Status: RESOLVED → VERIFIED
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•