Closed
Bug 988782
Opened 11 years ago
Closed 11 years ago
[tarako] it directly returns to Settings when backward from Keyboard Settings
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(blocking-b2g:1.3T+, b2g-v1.3 unaffected, b2g-v1.3T verified, b2g-v1.4 fixed, b2g-v2.0 fixed)
Tracking | Status | |
---|---|---|
b2g-v1.3 | --- | unaffected |
b2g-v1.3T | --- | verified |
b2g-v1.4 | --- | fixed |
b2g-v2.0 | --- | fixed |
People
(Reporter: angelc04, Assigned: timdream)
References
Details
(Whiteboard: [sprd294279])
Attachments
(3 files, 2 obsolete files)
* Setps to reproduce
1. Kill Settings
2. Launch Settings
3. go to Settings->Keyboards->Built-in Keyboard
4. Tap on backward button "<"
--> A black screen and a white screen will appears first and then it directly goes back to Settings.
[Expected] It should return to Keyboards.
Please see attached video for details.
* Build info:
Gaia d8ff994bd96c37ba9a93c343932a5441a78a0eec
Gecko 6db37b3f76b4fe2aa6f8fb5ae9e036ed99344772
BuildID 20140327060053
Version 28.1
ro.build.version.incremental=69
ro.build.date=Thu Mar 27 06:07:07 CST 2014
This does not happen on the Buri:
Gaia 812838ad0fabf51fa14435af562ddac6d26fa936
Gecko https://hg.mozilla.org/releases/mozilla-b2g28_v1_3/rev/ba97efb0da4b
BuildID 20140326004002
Version 28.0
ro.build.version.incremental=324
ro.build.date=Thu Dec 19 14:04:55 CST 2013
Buri
This is a regression.
blocking-b2g: --- → 1.3T?
status-b2g-v1.3:
--- → unaffected
status-b2g-v1.3T:
--- → affected
Keywords: regression
Comment 3•11 years ago
|
||
do we lose all the settings that were made to the keyboard?
if the user can go back to keyboard settings by clicking again without losing any settings, this seem like a minor issue
thanks
Flags: needinfo?(pcheng)
Assignee | ||
Comment 4•11 years ago
|
||
I think the Settings app is correctly OOM'd, so this behavior is expected. Is this really a bug?
Flags: needinfo?(arthur.chen)
Reporter | ||
Comment 5•11 years ago
|
||
(In reply to Joe Cheng [:jcheng] from comment #3)
> do we lose all the settings that were made to the keyboard?
No. The settings change was saved.
> if the user can go back to keyboard settings by clicking again without
> losing any settings, this seem like a minor issue
After reproducing this issue, if user follow step 3~4 again, they can see the changes and go back to keyboards successfully.
I agree that this is a minor issue.
> thanks
Flags: needinfo?(pcheng)
Updated•11 years ago
|
Keywords: regression
Comment 7•11 years ago
|
||
Fabrice, can we group keyboard apps to setting apps, this bug has 100% reproduce rate.
blocking-b2g: - → 1.3T?
Flags: needinfo?(fabrice)
Comment 8•11 years ago
|
||
The built-in keyboard app is too big. We should group it into setting apps.
APPLICATION PID Vss Rss Pss Uss cmdline
b2g 83 42712K 38632K 33713K 31124K /system/b2g/b2g
Built-in Keyboa 1426 18564K 17988K 11451K 7516K /system/b2g/plugin-container
(Preallocated a 1447 14768K 14764K 9055K 5900K /system/b2g/plugin-container
(Nuwa) 337 3092K 3092K 987K 224K /system/b2g/plugin-container
Assignee | ||
Comment 9•11 years ago
|
||
The keyboard settings is launched with launch(), not activity. We cannot group that.
I think we can make keyboard settings page in-process to save some memory. Fabrice, is this a good idea?
Assignee | ||
Comment 10•11 years ago
|
||
Attachment #8407487 -
Flags: feedback?(fabrice)
Comment 11•11 years ago
|
||
That's a minor user annoyance as it's not an action that happens often.
I'm not comfortable taking Tim's patch because it increases the risk of OOMing the parent process, which would be even worse.
blocking-b2g: 1.3T? → ---
Flags: needinfo?(fabrice)
Comment 12•11 years ago
|
||
Comment on attachment 8407487 [details]
Run keyboard config frame in-inprocess
scary!
Attachment #8407487 -
Flags: feedback?(fabrice)
Comment 13•11 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #12)
> Comment on attachment 8407487 [details]
> Run keyboard config frame in-inprocess
>
> scary!
If we save more memory, can we land this patch.
Comment 14•11 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #12)
> Comment on attachment 8407487 [details]
> Run keyboard config frame in-inprocess
>
> scary!
If we save more memory, can we land this patch?
Comment 15•11 years ago
|
||
Where will these savings come from?
Comment 16•11 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #15)
> Where will these savings come from?
1.modem can save about 100~200KB RAM, but there is some risk.
2.move ramdisk from boot.img to nand flash partition, save about 300KB RAM.
Can you save any memory on your side?
Flags: needinfo?(fabrice)
Updated•11 years ago
|
blocking-b2g: --- → 1.3T?
Comment 17•11 years ago
|
||
(In reply to James Zhang from comment #16)
> (In reply to Fabrice Desré [:fabrice] from comment #15)
> > Where will these savings come from?
>
> 1.modem can save about 100~200KB RAM, but there is some risk.
> 2.move ramdisk from boot.img to nand flash partition, save about 300KB RAM.
Let's do 2. as soon as possible
> Can you save any memory on your side?
We'll get some win from bug 993282
Flags: needinfo?(fabrice)
Assignee | ||
Comment 18•11 years ago
|
||
Fabrice, the keyboard setting frame will close itself when the user leaves it. It doesn't consume more memory persistently in the b2g process.
Comment 19•11 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #17)
> (In reply to James Zhang from comment #16)
> > (In reply to Fabrice Desré [:fabrice] from comment #15)
> > > Where will these savings come from?
> >
> > 1.modem can save about 100~200KB RAM, but there is some risk.
> > 2.move ramdisk from boot.img to nand flash partition, save about 300KB RAM.
>
> Let's do 2. as soon as possible
>
> > Can you save any memory on your side?
>
> We'll get some win from bug 993282
We open our download tool source to you, we'll wait for you finishing download tool on Mac, then I'll submit the 300KB patch, it will add new partition and you should flash u-boot.bin.
Comment 20•11 years ago
|
||
If we can pass the test case, please group it.
It has 100% reproduce rate, so it's spreadtrum blocker MP issue.
Whiteboard: [sprd294279]
Comment 21•11 years ago
|
||
We think the user impact will be less, should not be a blocker. thanks!
Comment 22•11 years ago
|
||
triage: not blocking, please discuss with Steven if partner is still concerned, thanks
blocking-b2g: 1.3T? → backlog
Comment 23•11 years ago
|
||
(In reply to Joe Cheng [:jcheng] from comment #22)
> triage: not blocking, please discuss with Steven if partner is still
> concerned, thanks
Our product PM is still concerned.
Comment 24•11 years ago
|
||
Jesse, can you provide patch here?
Assignee | ||
Comment 25•11 years ago
|
||
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #18)
> Fabrice, the keyboard setting frame will close itself when the user leaves
> it. It doesn't consume more memory persistently in the b2g process.
Fabrice, what's your opinion on this?
Flags: needinfo?(fabrice)
Comment 26•11 years ago
|
||
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #25)
> (In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from
> comment #18)
> > Fabrice, the keyboard setting frame will close itself when the user leaves
> > it. It doesn't consume more memory persistently in the b2g process.
>
> Fabrice, what's your opinion on this?
What if the user hit "home" while in the keyboard config? At least we'll need to remove this in-process iframe when it's not active and there's memory pressure.
Flags: needinfo?(fabrice)
Assignee | ||
Comment 27•11 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #26)
> What if the user hit "home" while in the keyboard config? At least we'll
> need to remove this in-process iframe when it's not active and there's
> memory pressure.
I can patch keyboard/settings.html to do just that.
Comment 28•11 years ago
|
||
I create a patch to make keyboard to be grouped in to current process.
may be it is not the best solutions. because of i can not pass a parameter when it is not a MozActivity
I suggest:
1. app.launch can pass a parameter to indicate that it is a subprocess.
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):988782
[User impact] if declined:
[Testing completed]:
[Risk to taking this patch] (and alternatives if risky):
[String changes made]:
Updated•11 years ago
|
Flags: needinfo?(ttsai)
Flags: needinfo?(styang)
Flags: needinfo?(kkuo)
Comment 30•11 years ago
|
||
Comment on attachment 8411663 [details] [diff] [review]
group.keyboard.from.settings.patch
Review of attachment 8411663 [details] [diff] [review]:
-----------------------------------------------------------------
This patch does not observe the memory-pressure event as asked in comment 26.
Attachment #8411663 -
Flags: review-
Updated•11 years ago
|
Flags: needinfo?(fabrice)
Assignee | ||
Comment 31•11 years ago
|
||
Let me provide a fix instead.
Assignee: nobody → timdream
Status: NEW → ASSIGNED
Flags: needinfo?(ttsai)
Flags: needinfo?(styang)
Flags: needinfo?(kkuo)
Assignee | ||
Comment 32•11 years ago
|
||
I will send another patch on master branch (w/o the inproc bit of course)
Attachment #8407487 -
Attachment is obsolete: true
Attachment #8411663 -
Attachment is obsolete: true
Attachment #8412358 -
Flags: review?(rlu)
Attachment #8412358 -
Flags: feedback?(fabrice)
Comment 33•11 years ago
|
||
Comment on attachment 8412358 [details]
Github: https://github.com/mozilla-b2g/gaia/pull/18661
Ideally we should the 3rd party keyboard setting to decide whether to add the keyboard app to the outOfProcessBlackList.
Attachment #8412358 -
Flags: feedback?(fabrice) → feedback+
Comment 34•11 years ago
|
||
Comment on attachment 8412358 [details]
Github: https://github.com/mozilla-b2g/gaia/pull/18661
Looks good to me, r+.
Thanks.
Attachment #8412358 -
Flags: review?(rlu) → review+
Assignee | ||
Comment 35•11 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/edb4c79b740434de1bf07f34d6dad3718f9ec0f8
1.3t only accepts blockers, flagging 1.3t? first.
Status: ASSIGNED → RESOLVED
blocking-b2g: backlog → 1.3T?
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Target Milestone: --- → 1.4 S6 (25apr)
Updated•11 years ago
|
blocking-b2g: 1.3T? → 1.3T+
Updated•11 years ago
|
Flags: needinfo?(yang.zhao)
Assignee | ||
Comment 36•11 years ago
|
||
Flags: needinfo?(yang.zhao)
This issue still occurs for me on today's Tarako build. The repro rate is about 4/10
1.3t Environmental Variables:
Device: Tarako 1.3t
BuildID: 20140429014002
Gaia: b5adc5a943d3abbd6ab070a47c847f2c24891cc5
Gecko: e9890f5d4709
Version: 28.1
Firmware Version: sp6821
Comment 38•10 years ago
|
||
Triage: No need in v1.4 since it is LMK issue.
Comment 39•10 years ago
|
||
Verified the issue reported in Comment 0 does not occur on latest 1.3T build following STR. Attempted 15 times without reproducing. Return to Keyboards happened each time.
1.3T Environmental Variables:
Device: Tarako 1.3T
BuildID: 20140604014021
Gaia: 41a763154fbac34bef6baf17a201e50f52f2b72a
Gecko: fed0b4e6da6c
Version: 28.1
Firmware Version: sp6821a-gonk-4.0-5-12
User Agent: Mozilla/5.0 (Mobile; rv:28.1) Gecko/28.1 Firefox/28.1
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 40•10 years ago
|
||
We need this master patch uplifted to v1.4 otherwise I cannot fix bug 1009368
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): See bug 1009368
[User impact] if declined: Unable to uplift and fix bug 1009368
[Testing completed]: No know regression on master since Apr 25 (comment 36)
[Risk to taking this patch] (and alternatives if risky): Unable to uplift and fix bug 1009368
[String changes made]: None
Attachment #8435586 -
Flags: review+
Attachment #8435586 -
Flags: approval-gaia-v1.4?
Assignee | ||
Comment 41•10 years ago
|
||
(In reply to Ivan Tsay (:ITsay) from comment #38)
> Triage: No need in v1.4 since it is LMK issue.
This is correct for the system part only. We still need the master patch for 1.4 so the keyboard settings page manages it's life cycle correctly there.
Updated•10 years ago
|
status-b2g-v1.4:
--- → affected
status-b2g-v2.0:
--- → fixed
Target Milestone: 1.4 S6 (25apr) → 2.0 S1 (9may)
Updated•10 years ago
|
Attachment #8435586 -
Flags: approval-gaia-v1.4? → approval-gaia-v1.4+
Assignee | ||
Comment 42•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•