Closed Bug 1023012 Opened 11 years ago Closed 7 years ago

[Flatfish][Settings] Text at header is not show properly

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: raniere, Assigned: heycam)

References

Details

(Keywords: regression, Whiteboard: [Flatfish][TCP=polish])

Attachments

(2 files)

Attached image settings.png
Environment Information: OS version: 2.0.0.0-prerelease Firmware revision: flatfish_20140519-1653 Hardware revision: flatfish Platform version: 32.0a1 Build Identifier: 20140519171236 Gaia revision: a2d8629 Steps to Reproduce: 1. Open Settings App 2. Select one item from the list Actual Results: The text at the header has '...' (view attachment). Expected Results: No '...' at the text.
Seems strictly a 2.0+ issue.
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Whiteboard: [Flatfish][TCP]
I was able reproduce this bug on OS version: 2.1.0.0-prerelease Firmware revision: flatfish_20140613-2011 Hardware revision: flatfish Platform version: 32.0a1 Build Identifier: 20140613213830 Gaia revision: aa125bd4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Regression from Bug 908300
Keywords: regression
See Also: → 908300
Note, every header in Settings are truncated as on attached screenshot, all locales (en-US included) are affected.
Blocks: 908300
I think the issue is that font_size_utils.js is assuming that the maximum space available for the header is the screen width, when really it should be using the width of the right column of the Settings app's tablet view. On phones each settings panel takes up the whole width of the screen, so the problem doesn't appear there.
Attached file pr
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #8463054 - Flags: review?(mhenretty)
Comment on attachment 8463054 [details] [review] pr This is a good solution. We just need to fix the unit and linting tests. For the unit tests, previously we used to shim that function getWindowWidth to fake a width, but now we will just need to set the parent container to that same width [1]. I want to see the updated tests before giving it the r+. 1.) https://github.com/mozilla-b2g/gaia/blob/b2c9d27b01a6bb04c81ca47d36d55dc5c3c6788e/apps/sharedtest/test/unit/font_size_utils_test.js#L534
Attachment #8463054 - Flags: review?(mhenretty)
Whiteboard: [Flatfish][TCP] → [Flatfish][TCP=polish]
This seems mostly fixed with the latest 20140912 build from the vendor. Only thing that pops out if "Themes:
I don't have time right now to follow up on this bug, so anyone should feel free to revise the patch with the tests requested to help bring it over the line.
to WFM? In the recent build not see the ellipsis.
(In reply to YF (Yang) from comment #15) > to WFM? In the recent build not see the ellipsis. I'll look into this. If anybody does so, please comment and remove ni? from me. Thanks.
Flags: needinfo?(feer56)
Flags: needinfo?(feer56)
Firefox OS is not being worked on
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: