Closed
Bug 802115
Opened 12 years ago
Closed 12 years ago
The top sites section thumbnails in about:home are cut off
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: paul.feher, Unassigned)
References
Details
(Keywords: regression)
Attachments
(3 files)
Firefox 19.0a1 (2012-10-16)
Device: Samsung Galaxy R
OS: Android 2.3.4
Steps to reproduce:
1. Go about:home
2. Tap the sync button from the page
3. Rotate the device in landscape mode
4. Select cancel to return to about:home page
5. Look at the thumbnails
Expected result:
The thumbnails should be properly displayed.
Actual result:
The thumbnails are cut off like in the attached screenshot.
Updated•12 years ago
|
Blocks: 786380
Keywords: regression
Comment 1•12 years ago
|
||
Strange. I saw this on some of my devices and intentionally added some code [1] to invalidate the crop when the device was rotated. It looks like the version of Android running on the Galaxy R? must not correctly call onConfigurationChanged.
[1]http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/AboutHomeContent.java.in#609
Comment 2•12 years ago
|
||
I'll have to get a GalaxyR to test this. I have noticed that just drawing thumbs on my Gingerbread phone seems slightly slower. So the idea here is that maybe we just disable the rounded corners on those devices. I'll post a screenshot.
Comment 3•12 years ago
|
||
Attachment #671924 -
Flags: review?(mark.finkle)
Comment 4•12 years ago
|
||
Comment on attachment 671923 [details] [diff] [review]
Patch
I bet you'll enjoy reviewing this more.
Attachment #671923 -
Flags: review?(mark.finkle)
Updated•12 years ago
|
Attachment #671924 -
Attachment is patch: false
Attachment #671924 -
Attachment mime type: text/plain → image/png
Attachment #671924 -
Flags: review?(mark.finkle)
Comment 5•12 years ago
|
||
Comment on attachment 671923 [details] [diff] [review]
Patch
>I'll have to get a GalaxyR to test this. I have noticed that just drawing thumbs on my
>Gingerbread phone seems slightly slower. So the idea here is that maybe we just disable
>the rounded corners on those devices. I'll post a screenshot.
Slower before or after the patch?
> protected boolean drawChild(Canvas canvas, View child, long drawingTime) {
>+ if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.HONEYCOMB) {
>+ return super.drawChild(canvas, child, drawingTime);
>+ }
> // draw a shadow behind the thumbnail
nit: add a blank line after the new if block
Also, given the performance regressions from the initial landing, should we be considering turning off rounded corners for all devices?
Attachment #671923 -
Flags: review?(mark.finkle) → review+
Comment 6•12 years ago
|
||
Aaron, you made this blocking the wrong bug, it seems.
Updated•12 years ago
|
Comment 7•12 years ago
|
||
We turned these off for all devices in bug 793721.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Assignee | ||
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
•