Closed
Bug 1009254
Opened 11 years ago
Closed 11 years ago
[STK] No option on UI to terminate/abort the proactive session
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(blocking-b2g:1.4+, b2g-v1.4 fixed, b2g-v2.0 fixed)
People
(Reporter: cyang, Assigned: frsela)
References
Details
(Keywords: regression, Whiteboard: [caf priority: p2][cr 660825], )
Attachments
(11 files, 1 obsolete file)
46 bytes,
text/x-github-pull-request
|
vingtetun
:
review+
|
Details | Review |
46 bytes,
text/x-github-pull-request
|
vingtetun
:
review+
cyang
:
feedback+
|
Details | Review |
91.08 KB,
image/png
|
Details | |
99.28 KB,
image/png
|
jelee
:
ui-review-
|
Details |
413.78 KB,
application/pdf
|
Details | |
12.68 KB,
image/png
|
Details | |
15.31 KB,
image/png
|
Details | |
15.31 KB,
image/png
|
Details | |
15.64 KB,
image/png
|
Details | |
15.67 KB,
image/png
|
Details | |
12.58 KB,
patch
|
Details | Diff | Splinter Review |
Currently, for a GET_INKEY command, the options of 'Help', 'Back', and 'OK' are available on the UI. This looks like a regression as there used to be a 'Close' button for GET_INKEY to indicate that the proactive session is to be terminated.
Reporter | ||
Comment 1•11 years ago
|
||
Hey Fernando, thought you were the best person to look at this.
Flags: needinfo?(frsela)
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(frsela)
Assignee | ||
Comment 2•11 years ago
|
||
Hi Carol, I'll check this
So it's supposed to show only a close button for INKEY operations
Hi Fernando,
No it should show all other buttons along with close button.
The spec says a user can
1. terminate the session (Close button)
2. Go back (back button)
3. Enter a digit/text that will be passed by a terminal response (on clicking OK button)
4. Help button should be displayed and enabled if help is requested. Right now, if help is not requested, the UI shows the help button but greys it out. I am not very sure about this behavior. We could either show the Help button or not show it at all. Maybe Carol can add to this.
Thanks,
Nivi.
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Nivi from comment #3)
> Hi Fernando,
>
> No it should show all other buttons along with close button.
>
> The spec says a user can
>
> 1. terminate the session (Close button)
> 2. Go back (back button)
> 3. Enter a digit/text that will be passed by a terminal response (on
> clicking OK button)
Agree with Nivi here. These buttons should all be made available for a GET_INKEY proactive command.
> 4. Help button should be displayed and enabled if help is requested. Right
> now, if help is not requested, the UI shows the help button but greys it
> out. I am not very sure about this behavior. We could either show the Help
> button or not show it at all. Maybe Carol can add to this.
The Help button depends on the command details byte. If specified by the command details byte, "isHelpAvailable:true" will be sent. When this is not sent, the 'Help' button can either be removed completely or grayed out. IMO, that's a Gaia decision.
>
> Thanks,
> Nivi.
Comment 5•11 years ago
|
||
Carol - Has this present on past releases? What's the partner-specific need for 1.4?
Flags: needinfo?(cyang)
Reporter | ||
Comment 6•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #5)
> Carol - Has this present on past releases? What's the partner-specific need
> for 1.4?
This is to the tech spec and was added since v1 release. It has since regressed. For your reference, bug 826508 added the 'Close' button in the first place.
Flags: needinfo?(cyang)
Comment 7•11 years ago
|
||
(In reply to Carol Yang [:cyang] from comment #6)
> (In reply to Jason Smith [:jsmith] from comment #5)
> > Carol - Has this present on past releases? What's the partner-specific need
> > for 1.4?
>
> This is to the tech spec and was added since v1 release. It has since
> regressed. For your reference, bug 826508 added the 'Close' button in the
> first place.
Carol,
Can we please have the regression window?
Keywords: regression
Whiteboard: [cr 660825] → [cr 660825],
Updated•11 years ago
|
blocking-b2g: 1.4? → 1.4+
Assignee | ||
Comment 9•11 years ago
|
||
Before implement the path I want to be sure we are on same page:
Currently, INKEY can show 3 or 4 buttons as codec here:
https://github.com/mozilla-b2g/gaia/blob/master/apps/system/index.html#L1142
https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/icc.js#L397
HELP, BACK and OK
or if the option isYesNoRequired is received
HELP, BACK, NO and YES
So what we want is to add a new CLOSE bottom leaving it as:
HELP, CLOSE, BACK and OK
or if isYesNoRequired:
HELP, CLOSE, BACK, NO and YES
Is this correct? Should we put 5 buttons?
Flags: needinfo?(cyang)
Updated•11 years ago
|
status-b2g-v1.4:
--- → affected
status-b2g-v2.0:
--- → affected
Reporter | ||
Comment 10•11 years ago
|
||
(In reply to Fernando R. Sela (no CC, needinfo please) [:frsela] from comment #9)
> Before implement the path I want to be sure we are on same page:
>
> Currently, INKEY can show 3 or 4 buttons as codec here:
> https://github.com/mozilla-b2g/gaia/blob/master/apps/system/index.html#L1142
> https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/icc.js#L397
>
> HELP, BACK and OK
>
> or if the option isYesNoRequired is received
>
> HELP, BACK, NO and YES
>
> So what we want is to add a new CLOSE bottom leaving it as:
>
> HELP, CLOSE, BACK and OK
>
> or if isYesNoRequired:
>
> HELP, CLOSE, BACK, NO and YES
>
> Is this correct? Should we put 5 buttons?
Thanks for explicitly listing out the options! At the minimum, the CLOSE and BACK button will be displayed as these are options always available to the user during a GET_INKEY proactive session.
To answer your question on 5 buttons, yes, it does look like there could be a scenario in which all 5 buttons need to be displayed (when command details byte is 0x0C). This is based on info from section 12.6 of 3GPP2 TS 11.14
GET INKEY
bit 1: 0 = digits (0 9, *, # and +) only
1 = alphabet set;
bit 2: 0 = SMS default alphabet
1 = UCS2 alphabet
bit 3: 0 = character sets defined by bit 1 and bit 2 are enabled
1 = character sets defined by bit 1 and bit 2 are disabled and the "Yes/No" response is requested
bits 4-7: = RFU
bit 8: 0 = no help information available
1 = help information available
I'm not quite sure how you'll want to fit 5 buttons on the screen but it does look like there is a use case for that.
Flags: needinfo?(cyang)
Assignee | ||
Comment 12•11 years ago
|
||
(In reply to Preeti Raghunath(:Preeti) from comment #11)
> Fernando,
>
> Can you provide next steps?
Working on it today. I've a patch which I'm testing and adjusting CSS for 4 and 5 buttons.
As soon as I tested all use cases I'll upload it :)
Flags: needinfo?(frsela)
Assignee | ||
Comment 13•11 years ago
|
||
Attachment #8424698 -
Flags: feedback?(cyang)
Assignee | ||
Comment 14•11 years ago
|
||
Attachment #8424699 -
Flags: feedback?(cyang)
Assignee | ||
Comment 15•11 years ago
|
||
New STK INPUT dialog with 4 buttons
Assignee | ||
Comment 16•11 years ago
|
||
New STK INPUT dialog with 5 buttons
Comment 18•11 years ago
|
||
Hi Fernando, could you put ETA on this CS blocker? thanks.
Flags: needinfo?(frsela)
Assignee | ||
Updated•11 years ago
|
Attachment #8424698 -
Flags: review?(21)
Flags: needinfo?(frsela)
Assignee | ||
Updated•11 years ago
|
Attachment #8424699 -
Flags: review?(21)
Reporter | ||
Comment 19•11 years ago
|
||
Comment on attachment 8424699 [details] [review]
Patch for 1.4 branch
Hi Fernando,
Everything looks good except that pressing the Help button does nothing. Like the other buttons, it should send the corresponding terminal response down. In this case, it should send '13' for Help information required by the user.
Thanks,
Carol
Attachment #8424699 -
Flags: feedback?(cyang) → feedback-
Comment 20•11 years ago
|
||
Comment on attachment 8424699 [details] [review]
Patch for 1.4 branch
I guess I will do the review when the patch fix the issue mentioned :)
Attachment #8424699 -
Flags: review?(21)
Comment 21•11 years ago
|
||
Comment on attachment 8424698 [details] [review]
Patch for master branch
Same comment as the 1.4 version.
Attachment #8424698 -
Flags: review?(21)
Assignee | ||
Comment 22•11 years ago
|
||
(In reply to Carol Yang [:cyang] from comment #19)
> Comment on attachment 8424699 [details] [review]
> Patch for 1.4 branch
>
> Hi Fernando,
>
> Everything looks good except that pressing the Help button does nothing.
> Like the other buttons, it should send the corresponding terminal response
> down. In this case, it should send '13' for Help information required by the
> user.
>
> Thanks,
> Carol
Hi Carol,
I tested into my device and it's working well:
I/GeckoDump( 622): [system] STK sendStkResponse -- # response = {"resultCode":19}
The call is made here:
https://github.com/mozilla-b2g/gaia/blob/v1.4/apps/system/js/icc.js#L509
Can you provide some log traces?
Flags: needinfo?(cyang)
Reporter | ||
Comment 23•11 years ago
|
||
> Hi Carol,
>
> I tested into my device and it's working well:
>
> I/GeckoDump( 622): [system] STK sendStkResponse -- # response =
> {"resultCode":19}
>
> The call is made here:
> https://github.com/mozilla-b2g/gaia/blob/v1.4/apps/system/js/icc.js#L509
>
> Can you provide some log traces?
You're right, looks like I was missing bug 1009188 in my build. The help info button now generates the correct TR. This patch looks good!
Flags: needinfo?(cyang)
Reporter | ||
Updated•11 years ago
|
Attachment #8424699 -
Flags: feedback- → feedback+
Reporter | ||
Updated•11 years ago
|
Attachment #8424698 -
Flags: feedback?(cyang)
Assignee | ||
Comment 24•11 years ago
|
||
(In reply to Carol Yang [:cyang] from comment #23)
>
> You're right, looks like I was missing bug 1009188 in my build. The help
> info button now generates the correct TR. This patch looks good!
Ok, good :) - Thank you
Adding 1009188 as a dependency to avoid this error in the future ;)
Depends on: 1009188
Assignee | ||
Updated•11 years ago
|
Attachment #8424698 -
Flags: review?(21)
Assignee | ||
Updated•11 years ago
|
Attachment #8424699 -
Flags: review?(21)
Comment 26•11 years ago
|
||
Comment on attachment 8424701 [details]
INPUT_5_BTN.png
I suspect the labels will not fit for some locales. Flagging UX for comment.
Attachment #8424701 -
Flags: ui-review?(firefoxos-ux-bugzilla)
Comment 27•11 years ago
|
||
Preeti, could you please get this patch reviewed; we need this fix soon.
Flags: needinfo?(praghunath)
Comment 30•11 years ago
|
||
Comment on attachment 8424701 [details]
INPUT_5_BTN.png
Flagging Omega on ui-review?. Omega, I do not have Jenny's name or email; please flag her as needed here as well.
Attachment #8424701 -
Flags: ui-review?(firefoxos-ux-bugzilla) → ui-review?(ofeng)
Comment 31•11 years ago
|
||
Hi Vance,
As you know this is PTCRB blocker, would you please push landing patch to 1.3.
Thanks.
Flags: needinfo?(vchen)
Updated•11 years ago
|
Flags: needinfo?(jelee)
Updated•11 years ago
|
Attachment #8424701 -
Flags: ui-review?(ofeng) → ui-review?(jelee)
Flags: needinfo?(jelee)
Comment 32•11 years ago
|
||
Comment on attachment 8424701 [details]
INPUT_5_BTN.png
Hello all,
Fitting 5 buttons on footer is not very ideal. It could cause truncation (for other languages) and it requires more effort for user to read through the options.
Attachment #8424701 -
Flags: ui-review?(jelee) → ui-review-
Comment 33•11 years ago
|
||
See attachment for proposed layout redesign. We moved "back" to upper left and "help" to upper right (as how we positioned "back" and "action" in our apps), this gives our users a more familiar layout that is easier to find what they want actions to take next. Header text and page content shown in the document varies as the context changes, the ones you see are only for demonstration purpose. Thanks =) !!
Attachment #8424699 -
Flags: review?(21) → review+
Attachment #8424698 -
Flags: review?(21) → review+
Assignee | ||
Comment 34•11 years ago
|
||
Thank you Vivien.
I'll upload a new commit with the new layout.
Should I add to this patch? or you consider that is better to open a new bug for the new layout ...
Flags: needinfo?(21)
Assignee | ||
Comment 35•11 years ago
|
||
Assignee | ||
Comment 36•11 years ago
|
||
Assignee | ||
Comment 37•11 years ago
|
||
Assignee | ||
Comment 38•11 years ago
|
||
Assignee | ||
Comment 39•11 years ago
|
||
Assignee | ||
Comment 40•11 years ago
|
||
Attachment #8429268 -
Flags: feedback?(21)
Assignee | ||
Comment 41•11 years ago
|
||
Attachment #8429268 -
Attachment is obsolete: true
Attachment #8429268 -
Flags: feedback?(21)
Attachment #8429271 -
Flags: feedback?(21)
Comment 42•11 years ago
|
||
This patch solve the issue. The other patch is to make it looks better, which makes sense.
But I would prefer to have a separate bug for the other, this way if we need to back out the new layout the underlying issue is still fixed.
Flags: needinfo?(21)
Comment 43•11 years ago
|
||
Comment on attachment 8429271 [details] [diff] [review]
icc_newlayout.patch
Let's discuss that into a separate bug.
Attachment #8429271 -
Flags: feedback?(21)
Assignee | ||
Comment 44•11 years ago
|
||
(In reply to Vivien Nicolas (:vingtetun) (:21) (NOT reading bugmails, needinfo? please) from comment #43)
> Comment on attachment 8429271 [details] [diff] [review]
> icc_newlayout.patch
>
> Let's discuss that into a separate bug.
Fully agree !
Thanks Vivien
Assignee | ||
Comment 45•11 years ago
|
||
New layout will be tracked here: https://bugzilla.mozilla.org/show_bug.cgi?id=1016368
Assignee | ||
Comment 46•11 years ago
|
||
Landed in master: https://github.com/mozilla-b2g/gaia/commit/eee24fa282be8e652b37369b30d55fea0a24c691
Landed in v1.4: https://github.com/mozilla-b2g/gaia/commit/6d415460490c8b8aca8f42460bb37b251ece2a47
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Target Milestone: --- → 2.0 S3 (6june)
Updated•11 years ago
|
Flags: needinfo?(vchen)
Updated•11 years ago
|
Whiteboard: [cr 660825], → [caf priority: p2][cr 660825],
Updated•11 years ago
|
Flags: in-moztrap?(ychung)
Comment 47•11 years ago
|
||
Unable to create a test case. This bug involves STK query.
Flags: needinfo?(ktucker)
Updated•11 years ago
|
QA Whiteboard: [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
Flags: in-moztrap?(ychung)
Flags: in-moztrap-
You need to log in
before you can comment on or make changes to this bug.
Description
•