Closed Bug 1108853 Opened 5 years ago Closed 2 years ago

[Contacts] Truncation behavior is inconsistent when veiwing a contact


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

Gonk (Firefox OS)
Not set


(b2g-v2.0 affected, b2g-v2.1 affected, b2g-v2.2 affected)

Tracking Status
b2g-v2.0 --- affected
b2g-v2.1 --- affected
b2g-v2.2 --- affected


(Reporter: AdamA, Unassigned)


(Whiteboard: [2.2-Daily-Testing])


(3 files)

When a user is viewing a contact and the "Carrier", "City", "Country", and "Zip code" fields are filled more than the screen will allow these feilds are not truncated. This is inconsistent with every with feild in the contacts page.

Repro Steps:
1) Update a Flame to 20141208040202
2) Create a new contact
3) Fill the "Carrier", "City", "Country", and "Zip code" fields with at least 50 characters
4) Save contact
5) Observe the filled fields in the contacts page.

These fields are not truncated when too large to fit on the screen

It is expected that all fields are truncated when text is too large to fit on the screen

Environmental Variables:
Device: Flame 2.2 (319mb)(Full Flash)
Build ID: 20141208040202
Gaia: 0e429d970c160e580e19e61ad8ff5612de159f00
Gecko: c4c7442e9113
Gonk: 48835395daa6a49b281db62c50805bd6ca24077e
Version: 37.0a1 (2.2)
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0

Repro frequency: 5/5
See attached: screenshot, logcat
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
qawanted for branch checks.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
Keywords: qawanted
QA Contact: ckreinbring
The bug repros on Flame 2.2, 2.1 and 2.0 engineering with shallow flash.
Actual result: Some of the fields, particularly the address fields, run off the right edge of the screen with no truncation elipses shown.

Flame 2.2
BuildID: 20141208124704
Gaia: bd4dcc8c4582e2368b47b0e62506d3031fb2fc09
Gecko: f1f48ccb2d4e
Platform Version: 37.0a1
Firmware Version: V188-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0

Flame 2.1
BuildID: 20141208070634
Gaia: e81d3e7590ad63113baaffd154fcfa73fc297499
Gecko: 199d127fbeae
Platform Version: 34.0
Firmware Version: V188-1
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0

Flame 2.0
BuildID: 20141208061237
Gaia: 856863962362030174bae4e03d59c3ebbc182473
Gecko: 2d0860bd0225
Platform Version: 32.0
Firmware Version: V188-1
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(jmitchell)
Keywords: qawanted
NI  contact owner for blocking call
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmitchell) → needinfo?(jlorenzo)
QA Contact: ckreinbring
I wouldn't block on it as the data is not lost and if a space is present in the string, each of the field in comment 0 are on 2 lines. This is a nice to have to me.
Flags: needinfo?(jlorenzo)
Good catch, asking for UX input for specifying the strategy for each field
Flags: needinfo?(cawang)
I may need visual input from Fang on truncation rules. Thanks!
Flags: needinfo?(cawang) → needinfo?(fshih)
Attached the spec of contact detail truncation rules, Thanks!
Flags: needinfo?(fshih)
Firefox OS is not being worked on
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.