Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A94B6112F4 for ; Mon, 18 Aug 2014 16:06:18 +0000 (UTC) Received: (qmail 3673 invoked by uid 500); 18 Aug 2014 16:06:18 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 3650 invoked by uid 500); 18 Aug 2014 16:06:18 -0000 Mailing-List: contact issues-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 issues@cordova.apache.org Received: (qmail 3635 invoked by uid 99); 18 Aug 2014 16:06:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2014 16:06:18 +0000 Date: Mon, 18 Aug 2014 16:06:18 +0000 (UTC) From: "Joe Bowser (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-4547) The menubutton event blocks the next event 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-4547?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1410077= 1#comment-14100771 ]=20 Joe Bowser commented on CB-4547: -------------------------------- [~davydm] Actually, Samsung did change their interface. The i9500 doesn't = have a menu button. It has the app switching button, home button and back = button. Patches, as usual, are always welcome, but as I indicated earlier,= this is not a trivial problem, and the effort required may not actually be= worth the trouble. > The menubutton event blocks the next event > ------------------------------------------ > > Key: CB-4547 > URL: https://issues.apache.org/jira/browse/CB-4547 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 2.9.0, 3.0.0 > Environment: Compiled in Fedora 17, tested on Android 4.2 LG Opti= mus G and Galaxy Note 2 > Reporter: Jorge Andr=C3=A9s Mart=C3=ADnez > Assignee: Joe Bowser > Labels: android, event, menu, menubutton > > h3. Steps to reproduce > # Download the latest release of [cordova|https://www.apache.org/dyn/clos= er.cgi/cordova/cordova-3.0.0-src.zip] > # Create a new cordova proyect for android with the create script > # Replace the contents of assets/www/index.html with: > {code:html|title=3Dindex.html}=20 > > > > Cordova Menu Button Example > > > > > > > > {code}=20 > # Build and install to an Android device > # Press menu and press ok on the alert several times > h3. Expected behavior > The alert("menu") should show up every time menu is pressed > h3. Actual Result > The alert shows up like this: > # menu press: {color:green}It is displayed{color} > # menu press: {color:green}It is displayed{color} > # menu press: {color:red}It is not displayed{color} > # menu press: {color:green}It is displayed{color} > # menu press: {color:red}It is not displayed{color} > and so on. > h3. Another way to reproduce: > # Run the previous cordova application on Android > # Press menu and press ok on the alert twice > # swipe the screen > # Press menu ({color:green}the alert is displayed{color}) > # swipe the screen > # Press menu ({color:green}the alert is displayed{color}) > # swipe the screen > # Press menu ({color:green}the alert is displayed{color}) > and so on.... > # Press menu ({color:green}the alert is displayed{color}) > # Tap the screen ({color:red}the alert("click") is not displayed{color}) > # Press menu ({color:green}the alert is displayed{color}) > # Tap the screen ({color:red}the alert("click") is not displayed{color}) > and so on... > h3. Final thoughts > When the menu button is pressed the next event is ignored. > thanks. -- This message was sent by Atlassian JIRA (v6.2#6252)