Closed Bug 778577 Opened 12 years ago Closed 3 years ago

Tab count number draws on top of the arrow with scaled font sizes

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox14 affected, firefox15 affected, firefox16 affected, firefox17 affected)

RESOLVED INCOMPLETE
Tracking Status
firefox14 --- affected
firefox15 --- affected
firefox16 --- affected
firefox17 --- affected

People

(Reporter: mcomella, Unassigned)

Details

Attachments

(2 files, 1 obsolete file)

Attached image Screenshot
(On ICS)
1) Open Settings
2) Click "Display"
3) Click "Font Size" and select "Huge"
4) Hit the home button
5) Open Firefox

Expected: The tab count number is separated from the arrow
Actual: The tab count number draws on top of the arrow
Assignee: nobody → sriram
Severity: minor → normal
Assignee: sriram → michael.l.comella
Status: NEW → ASSIGNED
Attached patch Patch (obsolete) — Splinter Review
Sorry, probably should have just taken it in the first place.

Not sure why there was an extra values-v11 dimen for this so I removed it.
Attachment #647018 - Flags: review?(sriram)
Attachment #647018 - Attachment is obsolete: true
Attachment #647018 - Flags: review?(sriram)
Comment on attachment 647019 [details] [diff] [review]
Patch v2

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

1. Font sizes should never ever be in "dp". "sp" (scalable) is the recommended unit for font sizes.
2. Huge is not going to be used by people (or atleast it's a new option). We need to do it in a different way -- like textAppearanceSmall, textAppearanceLarge and so on.
This is an overall change, currently in ibarlow's review radar, and will be done for all elements.
We can reopen this bug, if that big change doesn't fix this.
Attachment #647019 - Flags: review?(sriram) → review-
Perhaps we should check this patch in as a short-term fix (for Firefox 15 and 16) and fix the broader issue later?  Until the layout can properly handle scaled text, it seems like a hard-coded dp size is better here.
Hardcoded dp size is disruptive. We shouldn't be doing that with text. The text below thumbnails in about:home are screwed up because we've been using "9dp" instead of "9sp" -- which is so wrong.

This is not going to affect many users. Please.. no "dp" for text.. pleaseee....
Assignee: michael.l.comella → nobody
Status: ASSIGNED → NEW
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
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: