Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4019DDE86 for ; Tue, 6 Nov 2012 21:14:14 +0000 (UTC) Received: (qmail 94423 invoked by uid 500); 6 Nov 2012 21:14:13 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 94388 invoked by uid 500); 6 Nov 2012 21:14:13 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 94336 invoked by uid 500); 6 Nov 2012 21:14:13 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 94320 invoked by uid 99); 6 Nov 2012 21:14:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 21:14:13 +0000 Date: Tue, 6 Nov 2012 21:14:13 +0000 (UTC) From: "Matthew M (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1213477139.76738.1352236453847.JavaMail.jiratomcat@arcas> In-Reply-To: <1510253545.7256.1343941502587.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Comment Edited] (CB-1185) When Application is placed in background and resumed, the UI is frozen MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491830#comment-13491830 ] Matthew M edited comment on CB-1185 at 11/6/12 9:13 PM: -------------------------------------------------------- Also reproducible for us on our Android 2.2 and 4.0.3 devices when resuming the app after changing network state - turning off wifi or going from 3G to Edge. Can take minutes to begin responding to touch again. On the 2.2 phone it can even end up crashing android which reboots or hangs until we take the battery out - this is consistent with reports from our users. This is with Cordova 2.2. As others have noted, when the app unfreezes, we get logs like the following: onMessage(onNativeReady,null) onMessage(onPageFinished,url) There can be quite a few of these as though the app is running through a queue of blocked events. was (Author: cfmatt): Also reproducible for us on our Android 2.2 and 4.0.3 devices when resuming the app after changing network state - turning off wifi or going from 3G to Edge. Can take minutes to begin responding to touch again. On the 2.2 phone it can even end up crashing android which reboots or hangs until we take the battery out - this is consistent with reports from our users. This is with Cordova 2.2. > When Application is placed in background and resumed, the UI is frozen > ---------------------------------------------------------------------- > > Key: CB-1185 > URL: https://issues.apache.org/jira/browse/CB-1185 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 2.0.0 > Environment: Jelly Bean 4.1, ICS 4.0.x > Reporter: Greg > Assignee: Filip Maj > Fix For: 2.3.0 > > Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 0002-Uncomment.patch, cordova-2.0.0.jar > > > When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up after you set the app to the background or turn of the screen. After around 3-7 seconds, the application unfreezes and pretty much causes a panic and usually crashes. No error reports have been submitted. > Here is how you re-produce the issue: > 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app) > 2. After logging in stay on the Friends tab > 3. Turn the the screen off and wait about 3-7 minutes > 4. Turn the screen back on, and the interface should be frozen. > Another possible path to re-producing the issue: > 1. Download Untappd - V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app) > 2. After logging in stay on the Friends tab > 3. Go back to the home screen then use other apps for about 3-7 minutes. > 4. Go back into Untappd, and the interface should be frozen. > When the app is frozen, native menu buttons will not nor any options in the UI. > Would love to see if anyone can replicate this. I've tested this on Jelly Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem majority on ICS (4.0.x) > Thanks, > Greg -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira