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 019C2D74E for ; Wed, 5 Dec 2012 22:35:59 +0000 (UTC) Received: (qmail 46664 invoked by uid 500); 5 Dec 2012 22:35:58 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 46576 invoked by uid 500); 5 Dec 2012 22:35:58 -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 46568 invoked by uid 500); 5 Dec 2012 22:35:58 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 46564 invoked by uid 99); 5 Dec 2012 22:35:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2012 22:35:58 +0000 Date: Wed, 5 Dec 2012 22:35:58 +0000 (UTC) From: "Joe Bowser (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <107653951.65446.1354746958698.JavaMail.jiratomcat@arcas> In-Reply-To: <1623677343.63186.1354712218458.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (CB-1965) backHistory() closes the application after an ajax request with the soft keyboard MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-1965?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-1965. ---------------------------- Resolution: Duplicate This is a duplicate of the bug I fixed yesterday, CB-1960. =20 =20 > backHistory() closes the application after an ajax request with the soft = keyboard > -------------------------------------------------------------------------= -------- > > Key: CB-1965 > URL: https://issues.apache.org/jira/browse/CB-1965 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 2.1.0, 2.2.0 > Environment: On android 2.3.4, seen on Sony Xperia Ray and ArcS > Reporter: Ali Bugdayci > Assignee: Joe Bowser > Priority: Critical > Original Estimate: 168h > Remaining Estimate: 168h > > Checked the bug list first, might be similar but not the same as the foll= owing bug: https://issues.apache.org/jira/browse/CB-1146 > 1) Sending an ajax request with typing on soft keyboard,=20 > 2) after the request ends, pressing the back button closes the applicatio= n.=20 > If I lock the screen before pressing the back button it works fine.=20 > If I trigger another local javascript on the page, and the press back but= ton it works fine. > Hence I believe this has nothing to do with request being an ajax one. Lo= gCat gives keycharmap file warnings, but not getting any exceptions, so it = might have something to do with the history? > my event listener: > function onBackKeyDown(event) { > var href =3D window.location.href; > if (href.search("ui-state=3Ddialog")=3D=3D(-1)){ > showLoading(); > } > //window.history.back(); > navigator.app.backHistory(); > } > My log cat: > 12-05 14:41:41.636: W/KeyCharacterMap(4412): Can't open keycharmap file > 12-05 14:41:41.636: W/KeyCharacterMap(4412): Error loading keycharmap fil= e '/system/usr/keychars/clearpad.kcm.bin'. hw.keyboards.196610.devname=3D'c= learpad' > 12-05 14:41:41.636: W/KeyCharacterMap(4412): Using default keymap: /syste= m/usr/keychars/qwerty.kcm.bin > 12-05 14:41:41.766: D/DroidGap(4412): Paused the application! > 12-05 14:41:41.766: D/CordovaWebView(4412): Handle the pause > 12-05 14:41:41.836: D/SoftKeyboardDetect(4412): Ignore this event > Sample request: > Started PUT "/yorumlar/41" for 192.168.43.8 at 2012-12-05 14:34:38 +0200 > Processing by YorumlarController#update as JS > Parameters: {"utf8"=3D>"=E2=9C=93", "authenticity_token"=3D>"DdT4Wm3Nxn= CbUkoODfCXKBu2Bs0rmiKN/iBXrGGcFCU=3D", "yorum"=3D>{"id"=3D>"41", "icerik"= =3D>"Gmdwtjjm"}, "commit"=3D>"G=C3=BCncelle", "id"=3D>"41"} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira