Closed
Bug 715272
Opened 13 years ago
Closed 12 years ago
[ICS] On about:home, add padding to thumbnail selection highlight
Categories
(Firefox for Android Graveyard :: General, defect, P3)
Tracking
(firefox15 verified, blocking-fennec1.0 soft, fennec11+)
VERIFIED
FIXED
Firefox 14
People
(Reporter: ibarlow, Assigned: sriram)
References
Details
(Keywords: polish, uiwanted)
Attachments
(2 files, 3 obsolete files)
3.24 KB,
patch
|
mfinkle
:
review+
mfinkle
:
approval-mozilla-central+
|
Details | Diff | Splinter Review |
289.28 KB,
image/png
|
Details |
There should be a wider selection highlight around the thumbnail and text in Top Sites. Gingerbread phones show this correctly, but the Galaxy Nexus only shows a tiny border right now.
Updated•12 years ago
|
tracking-firefox11:
--- → +
Priority: -- → P3
Updated•12 years ago
|
tracking-fennec: --- → 11+
tracking-firefox11:
+ → ---
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → sriram
Assignee | ||
Comment 1•12 years ago
|
||
Ian, Could you please share spec for this?
Reporter | ||
Comment 2•12 years ago
|
||
Sriram, the correct selection border around the thumbnail should be Top 5dip Right 5dip Bottom 20dip (to include title) Left 5dip
Assignee | ||
Comment 3•12 years ago
|
||
I changed it to RelativeLayout to reduce the number of draws. I reused resources from tabs-tray. If the shadow is fine in this, we can remove abouthome_topsite_shadow resources.
Attachment #593648 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 4•12 years ago
|
||
Is the padding in this fine? I am still not happy with the font-size of the thumbnail. It's currently 9dip (which is less than "sp"). And the recommended small size is 12sp I guess.
Comment 5•12 years ago
|
||
Comment on attachment 593648 [details] [diff] [review] WIP Did you do some testing on different devices and portrait/landscape rotations? I just want to make sure the relative layout is robust enough to handle different layout changes.
Reporter | ||
Comment 6•12 years ago
|
||
Hi Sriram, couple things: 1. You need some padding on the top of your selection, it's getting cut off right now 2. I agree that font is too small, it seems like this might be related to bug 715259, where type and graphics aren't being scaled up appropriately based on their screen density. Ping me in IRC today if you'd like to chat about it some more.
Comment 8•12 years ago
|
||
Comment on attachment 593648 [details] [diff] [review] WIP This r+ is given as long as you tested this patch on multiple devices and portrait/landscape. Also, if this patch was bitrotted a lot, post a new patch for a quick review.
Attachment #593648 -
Flags: review?(mark.finkle) → review+
Comment 9•12 years ago
|
||
Comment on attachment 593648 [details] [diff] [review] WIP I just saw Ian's feedback on the screenshot. Please address that as well and post a new patch and screenshot.
Attachment #593648 -
Flags: review+ → review-
Reporter | ||
Comment 10•12 years ago
|
||
Soft blocking nom? I think we're almost done here, so let's tie this off.
blocking-fennec1.0: --- → ?
Updated•12 years ago
|
blocking-fennec1.0: ? → soft
Assignee | ||
Comment 11•12 years ago
|
||
This patch has the required changes (and is "bit-trolled" ;) ) It's pretty much the same as in tabs_row.xml. The only thing that is still confusing me that there is a 1px padding around the edges of thumbnails. I couldn't figure out why the thumbnail is different between tabs and in db. By "grep" for "136" failed me. :(
Attachment #593648 -
Attachment is obsolete: true
Attachment #615449 -
Flags: review?(mark.finkle)
Assignee | ||
Comment 12•12 years ago
|
||
Screenshot of the padding after the patch is applied.
Attachment #593650 -
Attachment is obsolete: true
Assignee | ||
Comment 13•12 years ago
|
||
Attachment #615450 -
Attachment is obsolete: true
Comment 14•12 years ago
|
||
Comment on attachment 615449 [details] [diff] [review] Patch What affect does this have on non-ICS phones. Test it out and report back please.
Attachment #615449 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 15•12 years ago
|
||
As the changes are common for both ICS and non-ICS versions, the padding fix applies there too. This works fine on Galaxy SII running Gingerbread.
Comment 16•12 years ago
|
||
Comment on attachment 615449 [details] [diff] [review] Patch Thank you for checking. Clear to land.
Attachment #615449 -
Flags: approval-mozilla-central+
Assignee | ||
Comment 17•12 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/d585de9a3103
Comment 18•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d585de9a3103
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 14
Comment 19•12 years ago
|
||
Verified fixed on: Firefox 15.0a1 (2012-05-22) Device: Galaxy Nexus OS: Android 4.0.2
Status: RESOLVED → VERIFIED
status-firefox15:
--- → verified
Updated•3 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
•