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

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

Serhiy Solonko created CB-1960:
----------------------------------

             Summary: Application exits if back button is pressed after soft keyboard is hidden by pressing back button
                 Key: CB-1960
                 URL: https://issues.apache.org/jira/browse/CB-1960
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 2.2.0
         Environment: Android 2.2.* - 2.3.*
            Reporter: Serhiy Solonko
            Assignee: Joe Bowser
            Priority: Critical


https://issues.apache.org/jira/browse/CB-1146
https://issues.apache.org/jira/browse/CB-1620

This issues not fixed.
I've succeeded to reproduce this bug
Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) Application exits if back button is pressed after soft keyboard is hidden by pressing back button

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

Simon MacDonald commented on CB-1960:
-------------------------------------

It's from the edge code so you'd need to build it from source or wait for RC2.
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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] [Updated] (CB-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Serhiy Solonko updated CB-1960:
-------------------------------

    Attachment: TestFailure.zip

I've downloaded new sources, and this bug still present.

New project attached.

Sources downloaded from https://github.com/apache/cordova-android

Your commit: CB-1938: Regression, Android back button event is no longer fired

is present
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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] [Updated] (CB-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Serhiy Solonko updated CB-1960:
-------------------------------

    Attachment:     (was: TestFailure.zip)
    
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) Application exits if focus is put on a native Widget that gets overlayed on top of the WebView excluding the Textfield

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

Simon MacDonald commented on CB-1960:
-------------------------------------

[~bowserj] Hey Joe, that fix takes care of the app closing problem but now when you are in a text field the back key event is no longer fired.
                
> Application exits if focus is put on a native Widget that gets overlayed on top of the WebView excluding the Textfield
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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] [Updated] (CB-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Serhiy Solonko updated CB-1960:
-------------------------------

    Attachment: TestFailure.zip

Test Android project. With Cordova 2.3.0rc1 
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508822#comment-13508822 ] 

Serhiy Solonko commented on CB-1960:
------------------------------------

Could you tell me where i can get this jar file? Previous jar file was from github.
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509095#comment-13509095 ] 

Joe Bowser commented on CB-1960:
--------------------------------

If we can't reproduce it, we can't fix it.  I don't think a video will help.
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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] [Updated] (CB-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Serhiy Solonko updated CB-1960:
-------------------------------

    Priority: Critical  (was: Major)
    
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509800#comment-13509800 ] 

Serhiy Solonko commented on CB-1960:
------------------------------------

No problem, i guess this issue very important, so, i just want to help with solving this problem 
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) Application exits if back button is pressed after soft keyboard is hidden by pressing back button

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

Simon MacDonald commented on CB-1960:
-------------------------------------

[~bowserj]

Actually I can play the video and it does show a reproducible scenario that I've been able to duplicate. If you take his test program which is attached to the issue you click in the text field, the soft keyboard comes up and you click the back button. The keyboard goes away, then you click the "REQUEST" button and then the back button again and the app closes.

If you look in DroidGap around line 1020 that else clause where it calls super.onKeyUp is what is closing the app. For some reason once we are in the text view and then leave the text view it messes stuff up.

[~zzeepo] Thanks for being persistent on this issue.
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509790#comment-13509790 ] 

Joe Bowser commented on CB-1960:
--------------------------------

The video that you provided does not play.  I've tried it in VLC, and it's empty.  Please provide us with an updated example, since we can't fix the issue is we can't reproduce it on our end, and a video does not help us reproduce this issue.
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) Application exits if back button is pressed after soft keyboard is hidden by pressing back button

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

Simon MacDonald commented on CB-1960:
-------------------------------------

Your jar file does not include this fix:

https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=48f58110fec31a6cf8dd4e39962682d21513adaa

which I checked in after the 2.3.0rc1 tag. Once I pull in that fix I can't reproduce your issue in the edge stream.
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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] [Updated] (CB-1960) Application exits if focus is put on a native Widget that gets overlayed on top of the WebView excluding the Textfield

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

Joe Bowser updated CB-1960:
---------------------------

    Summary: Application exits if focus is put on a native Widget that gets overlayed on top of the WebView excluding the Textfield  (was: Application exits if back button is pressed after soft keyboard is hidden by pressing back button)
    
> Application exits if focus is put on a native Widget that gets overlayed on top of the WebView excluding the Textfield
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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] [Updated] (CB-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-1960:
---------------------------

    Priority: Major  (was: Critical)
    
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509879#comment-13509879 ] 

Joe Bowser commented on CB-1960:
--------------------------------

The reason it's hitting DroidGap's super.onKeyUp is because the BUTTON is a native component and not a part of the WebView.  You can get around this by using an image and registering an ontouchstart or ontouchstop event on it.  In fact, there's no reason to use a button element in Cordova or in most web apps, since they're hideously ugly.

We should probably do a test with focus on all the native UI widgets, since we only really compensate for text fields.

Short term fix: Don't use a button!
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) Application exits if focus is put on a native Widget that gets overlayed on top of the WebView excluding the Textfield

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

Joe Bowser commented on CB-1960:
--------------------------------

On mine, it fires but only after you dismiss the keyboard.  I'm OK with that, since I don't necessarily want to go back AND dismiss a keyboard.
                
> Application exits if focus is put on a native Widget that gets overlayed on top of the WebView excluding the Textfield
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509040#comment-13509040 ] 

Serhiy Solonko commented on CB-1960:
------------------------------------

i will make some video tomorrow, and attach it.
Reproduced on:
Samsung Galaxy S 2.2.1 Android
Motorola Attrix 4g 2.3.4 Android
Motorola Droid X
(i have access to this devices)
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508805#comment-13508805 ] 

Serhiy Solonko commented on CB-1960:
------------------------------------

I've just reproduce on Cordova 2.3.0rc1 from GitHub. Android 2.2.1
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508968#comment-13508968 ] 

Joe Bowser commented on CB-1960:
--------------------------------

I can't reproduce this on the LG Optimus 3D running Android 2.2.2.  I suspect that this may be device specific.  Can you provide more information as to what device this is being tested on?
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508806#comment-13508806 ] 

Serhiy Solonko edited comment on CB-1960 at 12/3/12 3:42 PM:
-------------------------------------------------------------

Android Test project. With Cordova 2.3.0rc1 
                
      was (Author: zzeepo):
    Test Android project. With Cordova 2.3.0rc1 
                  
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) Application exits if focus is put on a native Widget that gets overlayed on top of the WebView excluding the Textfield

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

Serhiy Solonko commented on CB-1960:
------------------------------------

Great, it seems to be working. Thank Joe
                
> Application exits if focus is put on a native Widget that gets overlayed on top of the WebView excluding the Textfield
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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] [Updated] (CB-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Serhiy Solonko updated CB-1960:
-------------------------------

    Comment: was deleted

(was: i will wait for new build and resolve it, if it will be done)
    
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509620#comment-13509620 ] 

Serhiy Solonko commented on CB-1960:
------------------------------------

This issue is critical. Cause devices with that platform more than others.

I've attached video
http://dl.dropbox.com/u/60805474/IMG_0234.MOV
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) Application exits if back button is pressed after soft keyboard is hidden by pressing back button

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

Simon MacDonald commented on CB-1960:
-------------------------------------

Sorry, I downloaded your test project and couldn't reproduce the bug.
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) Application exits if focus is put on a native Widget that gets overlayed on top of the WebView excluding the Textfield

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

Joe Bowser resolved CB-1960.
----------------------------

    Resolution: Fixed

This checks for any view, not just the text field.  Note: If you have a plugin that screws with the WebView by adding views on the AbsoluteLayout, this will screw with it.  That being said, putting custom views on the AbsoluteLayout is like eating out of the toilet.  Even if it's clean, it's never a good idea.

https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=8a19769a473bc1ae267caac3f5e0781432b33c89
                
> Application exits if focus is put on a native Widget that gets overlayed on top of the WebView excluding the Textfield
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) Application exits if back button is pressed after soft keyboard is hidden by pressing back button

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

Simon MacDonald commented on CB-1960:
-------------------------------------

I've tested this on my Samsung Galaxy S running Android 2.3.5 using 2.3.0rc1. Unless someone else can reproduce this bug we should mark it resolved in 2.3.0.
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

--
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-1960) 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-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508829#comment-13508829 ] 

Serhiy Solonko commented on CB-1960:
------------------------------------

i will wait for new build and resolve it, if it will be done
                
> Application exits if back button is pressed after soft keyboard is hidden by pressing back button
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-1960
>                 URL: https://issues.apache.org/jira/browse/CB-1960
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.2.* - 2.3.*
>            Reporter: Serhiy Solonko
>            Assignee: Joe Bowser
>            Priority: Critical
>              Labels: android, back-button, cordova, crash
>         Attachments: TestFailure.zip
>
>
> https://issues.apache.org/jira/browse/CB-1146
> https://issues.apache.org/jira/browse/CB-1620
> This issues not fixed.
> I've succeeded to reproduce this bug
> Create project with input, button. Press on input -> type anything -> press backbutton (close softkeyboard) -> then press button -> and again quickly press backbutton -> application will be closed unexpectedly

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