Closed
Bug 1107862
Opened 10 years ago
Closed 10 years ago
[Loop] Impossible to kill the app when the sms app used for the fallback mechanism is open in background
Categories
(Firefox OS Graveyard :: Gaia::Loop, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mbarone976, Assigned: jaoo)
References
Details
(Whiteboard: [mobile app][blocking][regression-1.1][loop in v1.1])
Attachments
(2 files, 1 obsolete file)
Device: Fire E (Build Fire_E_user_SW_03001) Loop: 4212078 STR 1. Log into Loop app 2. Open Contact app and create a new contact (no Loop user) with a phone number, only. 3. Make a loop call to the contact created on step 2 from the Contact app 4. Once the fallback mechanism is shown, send the sms. Don't close the sms app. 5. Click on home button and open again Contact app 5. Make a loop call to the same contact ACTUAL RESULT The fallback is not displayed and is not possible to kill the loop app EXPECTED RESULT The fallback mechanism should be displayed
Comment 1•10 years ago
|
||
Just adding that this bug was also happening in the 1.1 version delivered to the OEM, so it's not a regression due to the new bugs uplifted to 1.1 branch for the next update.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → josea.olivera
Assignee | ||
Comment 2•10 years ago
|
||
This is mostly an issue with the 'websms/sms' activity as the `onsuccess` callback of the activity doesn't get called unless the user hits the close button in the Messaging app. Either way I ended up with a patch that fixes the issue. Borja, may I have some feedback about the patch and what to do please? I mean, take this patch as a workaround or discuss this issue with the Messaging app folks.
Attachment #8532603 -
Flags: feedback?(borja.bugzilla)
Comment 3•10 years ago
|
||
This is not a problem with the messaging app. We should not call the activity from the attention screen. As such, closing the attention screen earlier is the right thing to do, IMHO.
Assignee | ||
Comment 4•10 years ago
|
||
(In reply to Antonio Manuel Amaya Calvo (:amac) from comment #3) > This is not a problem with the messaging app. We should not call the > activity from the attention screen. As such, closing the attention screen > earlier is the right thing to do, IMHO. Actually we are not calling the activity from the attention screen context. Current patch closes the attention screen (call screen) earlier so it solves the issue somehow.
Comment 5•10 years ago
|
||
I don't think it matters wether the activity is called from inside what we consider to be the attention screen or not. What it matter is that it's called from the same process that has an attention opened. That's why it cannot be killed and that's why closing it earlier fixes it and it's the right thing to do :)
Comment 6•10 years ago
|
||
The bug is not related with the Attention screen itself, it's a tricky bug to find, but simple to fix (and actually Jose Antonio found the solution :) ). The problem is that 'Share' screen is shown until the SMS is successfully sent (when the SMS App returns this, and it happens when we close the SMS App). If we are not closing the SMS App, when the second outgoing call fallback happens, it executes [1]. However, as the Share panel was shown, there is no transition and, therefore, no callback executed (so the attention screen is not closed, and this is the bug). Just moving the line to [2] the bug is solved. Jose Antonio, could you create the patch for master, and then apply to 1.1? Thanks! [1] https://github.com/mozilla-b2g/firefoxos-loop-client/pull/367/files#diff-faab1f116ac973e06a91f9b94ad99ca8R355 [2] https://github.com/mozilla-b2g/firefoxos-loop-client/pull/367/files#diff-a9d792224bd7e9c0cec35ca110b79972R46
Flags: needinfo?(josea.olivera)
Comment 7•10 years ago
|
||
Comment on attachment 8532603 [details] [review] Pointer to Github PR https://github.com/mozilla-b2g/firefoxos-loop-client/pull/367 Great job! This is a really tough to find bug! Could you create a patch for master, and then apply to v1.1 as well? Please fix the comment I left in the PR before merging!
Attachment #8532603 -
Flags: feedback?(borja.bugzilla) → review+
Assignee | ||
Comment 8•10 years ago
|
||
Patch for master branch. Carrying out r=borjasalguero
Attachment #8532603 -
Attachment is obsolete: true
Flags: needinfo?(josea.olivera)
Assignee | ||
Comment 9•10 years ago
|
||
Patch for 1.1 branch. Carrying out r=borjasalguero
Updated•10 years ago
|
Whiteboard: [mobile app][blocking][regression-1.1] → [mobile app][blocking][regression-1.1][loop not in v1.1][loop approved for 1.1]
Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8533563 [details] [review] [master] Pointer to Github PR https://github.com/mozilla-b2g/firefoxos-loop-client/pull/370 As several changes has been added I think that a new review is the right thing to do. Would you mind Borja? Thanks!
Attachment #8533563 -
Flags: review?(borja.bugzilla)
Updated•10 years ago
|
Attachment #8533563 -
Flags: review?(borja.bugzilla) → review+
Updated•10 years ago
|
Attachment #8533566 -
Flags: review+
Assignee | ||
Comment 11•10 years ago
|
||
Landed on master branch at: https://github.com/mozilla-b2g/firefoxos-loop-client/commit/5e5404c9a35b3fe72a0847c1e55d98f8f3da2263 Landed on 1.1 branch at: https://github.com/mozilla-b2g/firefoxos-loop-client/commit/6900ad7e47bb49a5acc8ac6463aea66da36daa4d
Whiteboard: [mobile app][blocking][regression-1.1][loop not in v1.1][loop approved for 1.1] → [mobile app][blocking][regression-1.1][loop in v1.1]
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 12•10 years ago
|
||
Tested and not working correctly. Now The fallback is displayed in background and *only* when SMS application is closed, user can see it. See video http://youtu.be/O8yb1IB4Fao Env: V1.1 v6900ad7 FireE comercial build
Assignee | ||
Comment 13•10 years ago
|
||
(In reply to Loli (:lolimartinezcr) from comment #12) > Tested and not working correctly. Now The fallback is displayed in > background and *only* when SMS application is closed, user can see it. Loop uses the 'websms/sms' activity and once the message is sent Loop doesn't have control over the Messaging app. Sadly once the message is sent the app is not closed automatically (and sadly Loop cannot do it programmatically either). The feedback screen is shown always and Loop doesn't get stuck on the call screen so I would say the solution landed works for me. Thoughts?
Comment 14•10 years ago
|
||
(In reply to José Antonio Olivera Ortega [:jaoo] from comment #13) > (In reply to Loli (:lolimartinezcr) from comment #12) > > Tested and not working correctly. Now The fallback is displayed in > > background and *only* when SMS application is closed, user can see it. > > Loop uses the 'websms/sms' activity and once the message is sent Loop > doesn't have control over the Messaging app. Sadly once the message is sent > the app is not closed automatically (and sadly Loop cannot do it > programmatically either). The feedback screen is shown always and Loop > doesn't get stuck on the call screen so I would say the solution landed > works for me. Thoughts? Agree, the bug is fixed, it's not a perfect solución but good enough and for the time being we can not do too much to improve it.
Comment 15•10 years ago
|
||
(In reply to Maria Angeles Oteo (:oteo) from comment #14) > (In reply to José Antonio Olivera Ortega [:jaoo] from comment #13) > > (In reply to Loli (:lolimartinezcr) from comment #12) > > > Tested and not working correctly. Now The fallback is displayed in > > > background and *only* when SMS application is closed, user can see it. > > > > Loop uses the 'websms/sms' activity and once the message is sent Loop > > doesn't have control over the Messaging app. Sadly once the message is sent > > the app is not closed automatically (and sadly Loop cannot do it > > programmatically either). The feedback screen is shown always and Loop > > doesn't get stuck on the call screen so I would say the solution landed > > works for me. Thoughts? > > Agree, the bug is fixed, it's not a perfect solución but good enough and for > the time being we can not do too much to improve it. Ok, I change status to Verified
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•