You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Matthew Windwer (JIRA)" <ji...@apache.org> on 2012/10/12 00:41:03 UTC

[jira] [Created] (CB-1620) Application exits if back button is pressed after soft keyboard is hidden by pressing back button

Matthew Windwer created CB-1620:
-----------------------------------

             Summary: Application exits if back button is pressed after soft keyboard is hidden by pressing back button
                 Key: CB-1620
                 URL: https://issues.apache.org/jira/browse/CB-1620
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 2.1.0
         Environment: PhoneGap 2.1 on Android < 4.1
(Tested on Android 4.0.3 & Android 2.3.3)
Not an issue for Android 4.1
            Reporter: Matthew Windwer
            Assignee: Joe Bowser


This was previously issue #1146 however it is still broken for me.

Steps to reproduce on Android < 4.1:
1) Focus on an input or text field to bring up soft keyboard.
2) Press the back button to hide the soft keyboard.
3) Press the back button again.

Expected behavior: "backbutton" event is fired.
Actual behavior: App exists.

Note that if the keyboard is hidden by other means (e.g. after submitting a form) and the back button is subsequently pressed we get the expected behavior.

I am currently building using SDK version 16.

--
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

[jira] [Resolved] (CB-1620) Application exits if back button is pressed after soft keyboard is hidden by pressing back button

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-1620.
----------------------------

    Resolution: Fixed

Android 2.x uses keyDown, Android 4.x uses key up.  I wasn't able to reproduce on 4.0.3.
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1620
>                 URL: https://issues.apache.org/jira/browse/CB-1620
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.1.0
>         Environment: PhoneGap 2.1 on Android < 4.1
> (Tested on Android 4.0.3 & Android 2.3.3)
> Not an issue for Android 4.1
>            Reporter: Matthew Windwer
>            Assignee: Joe Bowser
>
> This was previously issue #1146 however it is still broken for me.
> Steps to reproduce on Android < 4.1:
> 1) Focus on an input or text field to bring up soft keyboard.
> 2) Press the back button to hide the soft keyboard.
> 3) Press the back button again.
> Expected behavior: "backbutton" event is fired.
> Actual behavior: App exists.
> Note that if the keyboard is hidden by other means (e.g. after submitting a form) and the back button is subsequently pressed we get the expected behavior.
> I am currently building using SDK version 16.

--
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

[jira] [Comment Edited] (CB-1620) Application exits if back button is pressed after soft keyboard is hidden by pressing back button

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13475387#comment-13475387 ] 

Joe Bowser edited comment on CB-1620 at 10/12/12 9:44 PM:
----------------------------------------------------------

Android 2.x uses keyDown, Android 4.x uses key up.  I wasn't able to reproduce on 4.0.3, but added code to handle Android 2.x.
                
      was (Author: bowserj):
    Android 2.x uses keyDown, Android 4.x uses key up.  I wasn't able to reproduce on 4.0.3.
                  
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1620
>                 URL: https://issues.apache.org/jira/browse/CB-1620
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.1.0
>         Environment: PhoneGap 2.1 on Android < 4.1
> (Tested on Android 4.0.3 & Android 2.3.3)
> Not an issue for Android 4.1
>            Reporter: Matthew Windwer
>            Assignee: Joe Bowser
>
> This was previously issue #1146 however it is still broken for me.
> Steps to reproduce on Android < 4.1:
> 1) Focus on an input or text field to bring up soft keyboard.
> 2) Press the back button to hide the soft keyboard.
> 3) Press the back button again.
> Expected behavior: "backbutton" event is fired.
> Actual behavior: App exists.
> Note that if the keyboard is hidden by other means (e.g. after submitting a form) and the back button is subsequently pressed we get the expected behavior.
> I am currently building using SDK version 16.

--
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

[jira] [Commented] (CB-1620) Application exits if back button is pressed after soft keyboard is hidden by pressing back button

Posted by "Serhiy Solonko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508669#comment-13508669 ] 

Serhiy Solonko commented on CB-1620:
------------------------------------

this issue wasn't solved. Can be reproduce in Cordova 2.2
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1620
>                 URL: https://issues.apache.org/jira/browse/CB-1620
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.1.0
>         Environment: PhoneGap 2.1 on Android < 4.1
> (Tested on Android 4.0.3 & Android 2.3.3)
> Not an issue for Android 4.1
>            Reporter: Matthew Windwer
>            Assignee: Joe Bowser
>
> This was previously issue #1146 however it is still broken for me.
> Steps to reproduce on Android < 4.1:
> 1) Focus on an input or text field to bring up soft keyboard.
> 2) Press the back button to hide the soft keyboard.
> 3) Press the back button again.
> Expected behavior: "backbutton" event is fired.
> Actual behavior: App exists.
> Note that if the keyboard is hidden by other means (e.g. after submitting a form) and the back button is subsequently pressed we get the expected behavior.
> I am currently building using SDK version 16.

--
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