Closed Bug 896354 Opened 12 years ago Closed 12 years ago

[STK] cannot operate timer for get_input, get_inkey

Categories

(Firefox OS Graveyard :: Gaia::System, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:-)

RESOLVED FIXED
1.1 QE5
blocking-b2g -

People

(Reporter: leo.bugzilla.gaia, Unassigned)

References

Details

Attachments

(3 files)

When we take a test for STK, we found some problem. As you know, inputtimeout value is defined in icc.js(system app). But, input function do not operate for input timer. Although this function receive timer value as parameter(timeout), it does not use that and only initialize timeoutId value. Therefore I add some code for timer. when I take a test, timer is operated very well. However, there is some side effect. 1. keyboroard does not disappear, although timer finish.(40 seconds) 2. If user push soft key,inputbox is located in foreground and idle screen is located in background. So, plz reveiw my code and fix this problem. (it already attached before & after file)
blocking-b2g: --- → leo?
Summary: [STK] cannot operator timer for get_input, get_inkey → [STK] cannot operate timer for get_input, get_inkey
blocking-b2g: leo? → leo+
needsinfo, fernando here to help with some investigation here to understand if this is a fallout from 1.1 STK refactoring
Flags: needinfo?(buscandomidestino)
Switching the needinfo to the right Fernando :|
Flags: needinfo?(buscandomidestino) → needinfo?(frsela)
Could be, I'll study it
Flags: needinfo?(frsela)
hi, Any inputs on the STK refactoring fall outs?
Flags: needinfo?(frsela)
Attachment #787339 - Flags: feedback?(leo.bugzilla.gaia)
Flags: needinfo?(frsela)
(In reply to Preeti Raghunath(:Preeti) from comment #4) > hi, > > Any inputs on the STK refactoring fall outs? I just uploaded a PR. Check if this fixes the issue.
Today,I have confirmed by adding your code. It is operated properly. But, I think that it cannot operated completely. 1. go to stk menu -> execute get input 2. display input box -> enter some character --> when user didn't enter character or string, get input pop-up is disappear and go to stk root menu. but user enter some character or string, get input pop-up is not disppear. plz refer attached log file.
Flags: needinfo?(frsela)
Attached file log file
(In reply to Leo from comment #7) > Today,I have confirmed by adding your code. > It is operated properly. But, I think that it cannot operated completely. > > 1. go to stk menu -> execute get input > 2. display input box -> enter some character > > --> when user didn't enter character or string, get input pop-up is > disappear and go to stk root menu. but user enter some character or string, > get input pop-up is not disppear. > plz refer attached log file. Nice to hear is working now :) Regarding the second use case, I implemented in this way since if no user interaction the dialog will be closed but if the user starts an interaction with the dialog and it's closed is not a normal behaviour. The other alternative is to restart the timer each time the user press a key but I don't think this should be the correct way of working. WDYT?
Flags: needinfo?(frsela) → needinfo?(leo.bugzilla.gaia)
Dear, Fernando When I compared with android model by using same usim card, get inkey, get input timer timer is operated. And It is closed, when timer is finished. Therefore, I agree with your second alternative. (restart timer, when each time the user user press a key.) If It is possible to change source, plz do that.
Flags: needinfo?(leo.bugzilla.gaia) → needinfo?(frsela)
blocking-b2g: leo+ → -
When I confirmed android model by using same usim card, get inkey, get input timer is operated normally, although user enter the key. Therefore I agree with your second opinion(restarting the timer each time the user press a key) If it is possible to change the way which start get input, get input timer, please do that. Thank you
(In reply to Leo from comment #10) > If It is possible to change source, plz do that. Done !
Flags: needinfo?(frsela)
Comment on attachment 787339 [details] Added timeout on STK input boxes Thanks for fixing the logical error.
Attachment #787339 - Flags: review?(timdream) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attachment #787339 - Flags: feedback?(leo.bugzilla.gaia)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: