Closed Bug 1026890 Opened 11 years ago Closed 7 years ago

[dolphin]occasionally returned to settings page when browsing STK menu

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED WONTFIX
tracking-b2g backlog

People

(Reporter: aiguo.shi, Unassigned)

Details

(Whiteboard: [sprd314084][sprd344248])

Attachments

(2 files)

No description provided.
Steps to reproduce ------------------------------------------------------------------------ 1.enter settings->STK 2.traversal STK menu 3.occasionally returned to settings page when browsing STK menu
Backlog for now
blocking-b2g: 1.4? → backlog
(In reply to Preeti Raghunath(:Preeti) from comment #2) > Backlog for now Please help review the patch,thanks
When we click the ‘back’ button, gaia send a back command to gecko and set a timer. If no message returned in 4000ms, we will return to the main settings menu; if gecko returns a message,the timer will be cleared and return to the previous menu successfully. However, sometimes, gecko returns message to go back to the previous menu, before the timer was set up, so the timer can not be cleared properly, caused the exiting to the main menu.
Dear Edgar: Can you help me review this patch? Thank you.
Attachment #8501633 - Flags: review?(echen)
Comment on attachment 8501633 [details] [diff] [review] fix the exiting to main menu in STK Hi jinghua.xing, thanks for this patch, but I am not the proper one to review this, forward r? to frsela.
Attachment #8501633 - Flags: review?(echen) → review?(frsela)
Hi frsela: In China Mobile's STK applications,one can search the contacts in the SIM according to the letter which is input by user. In this case, when we click the 'back' button, it will popup a window. The gecko will not return any message until we input a letter to search contacts or select to go back or close the application. Once we stay on the window over 4000ms, the settings app will reset to the main menu like the video below shows: https://mega.co.nz/#!8VEGBRhB!rp4OdhHgIHdYDJBYfmpY8t0_KLffVY6yd0-EolIYkSs Is there any way to solve this problem? Thank you.
Flags: needinfo?(frsela)
Whiteboard: [sprd314084] → [sprd314084][sprd344248]
I think When we click the back button and popup the window let us to input, we also should stop the timer of going back to settings main menu. This issue showed in comment7 can also reproduced in flame and v2.0.
Comment on attachment 8501633 [details] [diff] [review] fix the exiting to main menu in STK Review of attachment 8501633 [details] [diff] [review]: ----------------------------------------------------------------- Looks good
Attachment #8501633 - Flags: review?(frsela) → review+
Hi frsela: Thank you for your review. Do you have some idea about the issue mentioned in comment7? Thank you.
(In reply to jinghua.xing from comment #7) > Hi frsela: > > In China Mobile's STK applications,one can search the contacts in the SIM > according to the letter which is input by user. In this case, when we click > the 'back' button, it will popup a window. The gecko will not return any > message until we input a letter to search contacts or select to go back or > close the application. Once we stay on the window over 4000ms, the settings > app will reset to the main menu like the video below shows: > https://mega.co.nz/#!8VEGBRhB!rp4OdhHgIHdYDJBYfmpY8t0_KLffVY6yd0-EolIYkSs > > Is there any way to solve this problem? Thank you. Hi, There's a timer[1] which returns to the Main settings menu if after back button is pressed no more STK commands are received from the SIM card. Anyway, if you receive the INPUT STK command (as the video shows) this timer should be cancelled [2]. stkCancelGoBack is called for any STK received command. If you can provide (Better in a new bug) some traces (better adding new ones in these parts of the code) to assure the correct application flow and to get the exact STK commands received... [1] https://github.com/mozilla-b2g/gaia/blob/master/build/config/common-settings.json#L93 (4 secs by default) [2] https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/js/icc.js#L113
Flags: needinfo?(frsela)
Hi Jinghua - Could you follow Fernando's suggestion on Comment#1 to modify your code to see if that can solve the problem? Also if the problem still exist, please submit a new bugzilla id to track Thanks Vance
Flags: needinfo?(Jinghua.Xing)
I have tried and this issue still exist. I have submit bug1081882 to track this issue. Thank you
Flags: needinfo?(Jinghua.Xing)
blocking-b2g: backlog → ---
Firefox OS is not being worked on
Status: NEW → 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: