Closed Bug 875899 Opened 12 years ago Closed 12 years ago

Cannot kill FB or twitter from task-switcher, after launching offline

Categories

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

x86_64
Windows 7
defect

Tracking

(blocking-b2g:tef+, b2g18 wontfix, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 verified)

VERIFIED FIXED
blocking-b2g tef+
Tracking Status
b2g18 --- wontfix
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- verified

People

(Reporter: dpalomino, Assigned: alive)

References

Details

(Keywords: regression, Whiteboard: [required_last_cert_round] [ikura])

Attachments

(3 files, 1 obsolete file)

Ikura, AU116, 24/05 vendor build This is always reproducible. This is a blocking issue, and we think it's the root cause for some of the inestabilities that we're seeing with FB and twitter. Steps to reproduce: 1. Offline mode (no mobile data, no wifi) 2. Launch either facebook or twitter 3. Message "ok, you need a connection is shown" (ok) 4. Try to kill the apps from the task-switche, it seems that everything is ok, but if going to task-switcher again, both FB and twitter are there We think this issue could be related with other extrange behaviors observed, for instance: - Some infrequent facebook locks - Seen only once, launching twitter being offline, white screen appears We do not consider this two issues as blockers, just commenting in case it could help.
Adding qawanted in order to reproduce this.
blocking-b2g: tef? → tef+
Keywords: qawanted
I wasn't able to reproduce this with the production build from the vendor. Did you pan a lot at some point in facebook/twitter? I think this might have something to do with the other twitter bug that was closed out.
Attached video Video
An easy way to reproduce it for me is to disable Cellular Data and WiFi and reboot device. Open FB and Twitter apps, 1-2-3 times, go to task switcher, kill one of them. it seems it has been killed but it is not. I have enclosed a video. I have not been able to reproduce it with Tuenti, that is the same kind of app :(
Askeing, can you help to do the testing as well? Alan, can you check this issue now? Thanks.
Flags: needinfo?(fyen)
Flags: needinfo?(ahuang)
Question for QA testing: 1. Can you reproduce this on a non-ZTE device (e.g. Buri, Unagi)?
Inari, 20130526, vender user build I can reproduce follow comment 4. 1. Disable Wifi and Cell-Data then reboot first, it will be more easy to reproduce this issue. 2. Open FB or twitter 3. Click "close" to close it 4. Long-press Home button to check is it killed, if the app was killed then goto step 2
Flags: needinfo?(fyen)
(In reply to Jason Smith [:jsmith] from comment #6) > Question for QA testing: > > 1. Can you reproduce this on a non-ZTE device (e.g. Buri, Unagi)? Unagi v1.0.1 Gaia: 26d9430df4cd670e46a208a6e4b6d77e4b27ed75 Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/9ce68012f9da BuildID 20130525230202 Version 18.0 Can reproduce it.
Keywords: qawanted
Assignee: nobody → timdream
Askeing, I cannot reproduce this with my makeshift Gaia set-up. On step 3 of your comment 7, did you hit close while there is a "Network Error" overlay on the Facebook card, or, there is only Gecko light-blue error page?
Flags: needinfo?(fyen)
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) from comment #9) > Askeing, > > I cannot reproduce this with my makeshift Gaia set-up. > > On step 3 of your comment 7, did you hit close while there is a "Network > Error" overlay on the Facebook card, or, there is only Gecko light-blue > error page? Never mind, Alive and I find your close button and is able to reproduce this bug.
Flags: needinfo?(fyen)
I'm also investigating this for gaia part
Attached patch Tentative patch (obsolete) — Splinter Review
Alive and I have identified the cause of this bug: in kill() of window_manager.js, somehow the transition never completes and we have never call removeFrame(). If we couldn't identify a proper fix, there is a fail safe that we should probably do.
Attached file Tentative patch v2
syntax error on previous patch
Attachment #754324 - Attachment is obsolete: true
The root cause is the transition never happens when we close the appWindow. I am working on identifying the problem why transform: scale(0.6) rule doesn't apply to appWindow. If I couldn't solve this in time, we could consider to take comment 13.
Patch proposal: Keep the loading state on iframe.
Attachment #754339 - Flags: review?(timdream)
Assignee: timdream → alive
Attachment #754339 - Flags: review?(timdream) → review+
Let recode the investigation here: * The is another regression of bug 842627. * Because the mozbrowloadend event is faster than the opening transition(0.3s) in app page error case, the windowReady() function is never called. * Because the active class is set in windowOpened(), the opened app doesn't have active class. * When we close/kill the app, the app is immediately goto 0.6 without transition because it's never active. * The closing transition never happens so the removeFrame never being called. * So the app couldn't be killed.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(ahuang)
Resolution: --- → FIXED
I wonder why the regression of bug 842627 went undetected for a month :-/
Depends on: 842627
Inari Gaia: 460bd2dbe44b5d9d6f497f5944e1b6c69db82c81 Verified.
Status: RESOLVED → VERIFIED
status missing due to the network problem, recover it.
(In reply to Askeing Yen[:askeing] from comment #20) > status missing due to the network problem, recover it. For verifications on 1.01, you'll want to set the status flag to verified. When you verify on trunk, you set RESOLVED --> VERIFIED in the workflow.
Status: VERIFIED → RESOLVED
Closed: 12 years ago12 years ago
Is this applicable to v1-train?
Flags: needinfo?(alive)
Exactly -- no idea because there's big change between v1-train and v1.0.1 Keep watching.
Flags: needinfo?(alive)
(In reply to Alive Kuo [:alive] from comment #23) > Exactly -- no idea because there's big change between v1-train and v1.0.1 > Keep watching. Could you please uplift to v1-train then? I'm not sure which commit should be uplifted.
Flags: needinfo?(alive)
The code in v1-train and v1.0.1 has significant change, so I don't think this needs uplift.
Flags: needinfo?(alive)
change status base on comment 25.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: