Closed
Bug 1089829
Opened 12 years ago
Closed 12 years ago
[Usage] Incorrect characters display when setting a data limit that exceeds 17 characters
Categories
(Firefox OS Graveyard :: Gaia::Cost Control, defect)
Tracking
(b2g-v2.1 affected, b2g-v2.2 verified)
RESOLVED
FIXED
People
(Reporter: smiko, Assigned: mai)
References
()
Details
(Whiteboard: [2.2-Daily-Testing])
Attachments
(2 files, 1 external file)
Description: After 17 digits, the characters displayed do not match the characters entered.
Repro Steps:
1: Update a Flame to
2: Open Usage > Settings (Gear Icon) > Toggle on "Data use alert"
3: Set a Data usage limit by continuously tapping on any number more than 17 times.
Actual: Incorrect characters are displayed.
Expected: The characters displayed match the ones entered.
Device: Flame 2.2 (319mb/full flash)
BuildID: 20141027040237
Gaia: e91d99e4d96954f06383c00bb9d79598a697e310
Gecko: 8230834302c9
Gonk: 6e51d9216901d39d192d9e6dd86a5e15b0641a89
Version: 36.0a1 (2.2)
Firmware: V188
User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0
Repro frequency: 5/5
See attached: logcat
Video clip: https://www.youtube.com/watch?v=yMdQo5Oh0WA&edit=vd
| Reporter | ||
Comment 1•12 years ago
|
||
This issue DOES repro on Flame 2.1 (319mb/full flash) and Flame 2.2 (319mb/full flash/20141024040202)
Actual result: The characters displayed do not match the characters entered.
Device: Flame 2.1 (319mb/full flash)
BuildID: 20141027001201
Gaia: c97463d61f45513a2123b19610386ddbfc916819
Gecko: 4f8c0c021128
Gonk: 6e51d9216901d39d192d9e6dd86a5e15b0641a89
Version: 34.0 (2.1)
Firmware: V188
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
Device: Flame 2.2 (319mb/full flash)P
BuildID: 20141027040237
Gaia: e91d99e4d96954f06383c00bb9d79598a697e310
Gecko: 8230834302c9
Gonk: 6e51d9216901d39d192d9e6dd86a5e15b0641a89
Version: 36.0a1 (2.2)
Firmware: V188
User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0
QA Whiteboard: [QAnalyst-Triage?]
status-b2g-v2.1:
--- → affected
status-b2g-v2.2:
--- → affected
Flags: needinfo?(onelson)
Whiteboard: [2.2-Daily-Testing]
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → marina.rodrigueziglesias
| Assignee | ||
Comment 2•12 years ago
|
||
Hi Salva,
would you mind to review the patch?
Regards
Attachment #8512770 -
Flags: review?(salva)
Updated•12 years ago
|
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(onelson)
Comment 3•12 years ago
|
||
Comment on attachment 8512770 [details] [review]
patch v1.0
Though it's true our regexp to check the input allows to introduce up to 6 characters (three digit integer part + decimal separator + two digit decimal part), it is weird to allow 6 digit integers while not validating the input.
Anyway, I think we need some UX input here but it looks great to me.
Attachment #8512770 -
Flags: review?(salva) → review+
| Assignee | ||
Updated•12 years ago
|
Attachment #8512770 -
Flags: ui-review?(amlee)
Comment 4•12 years ago
|
||
Comment on attachment 8512770 [details] [review]
patch v1.0
Setting UI review for Juwei since she's the UX designer for usage.
Attachment #8512770 -
Flags: ui-review?(amlee) → ui-review?(jhuang)
Comment 5•12 years ago
|
||
Comment on attachment 8512770 [details] [review]
patch v1.0
Hi,
Overall I think it's okay to show a red hint to tell users that the value is not available.
Yet it would be better to show a note to notice user what's the limitation.
It can be a string " Please do not input the value over 999"
Attachment #8512770 -
Flags: ui-review?(jhuang) → ui-review+
| Assignee | ||
Comment 6•12 years ago
|
||
Master: 4b7a96e08cbbfef0f52ca05929c5e0f539644d71
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
| Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 8512770 [details] [review]
patch v1.0
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Feature
[User impact] if declined: The data limit input is not limitated, for this reason the user can introduce a infinite number of digits, although the max number of characteres valid are 6
[Testing completed]: Yes
[Risk to taking this patch] (and alternatives if risky): Low risk
[String changes made]: No
Attachment #8512770 -
Flags: approval-gaia-v2.1?(release-mgmt)
| Assignee | ||
Updated•12 years ago
|
Attachment #8512770 -
Flags: approval-gaia-v2.0?(release-mgmt)
Comment 8•12 years ago
|
||
Comment on attachment 8512770 [details] [review]
patch v1.0
Not bad enough.
Attachment #8512770 -
Flags: approval-gaia-v2.1?(release-mgmt) → approval-gaia-v2.1-
| Assignee | ||
Updated•12 years ago
|
Attachment #8512770 -
Flags: approval-gaia-v2.0?(release-mgmt)
This bug has been verified as pass on latest build of Flame v2.2 by STR in comment 0.
Actual result:You can enter 6 characteres at most in Data usage limit bar and the characters displayed match the ones entered.
See attachment:verified_2.2.3gp
Repreduce rate:0/5
Device Flame 2.2:(pass)
Build ID 20150702162501
Gaia Revision 2d6cbec3a4004bb770ecbadbba83f86b95365e56
Gaia Date 2015-07-02 13:40:55
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/b465f8d7254f
Gecko Version 37.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150702.195016
Firmware Date Thu Jul 2 19:50:27 EDT 2015
Bootloader L1TC000118D0
You need to log in
before you can comment on or make changes to this bug.
Description
•