flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brady Kelley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34402) Hardware back button closes app when stage text has focus
Date Wed, 09 Jul 2014 14:56:05 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056306#comment-14056306

Brady Kelley commented on FLEX-34402:

Ok I just tested on the Moto X 4.4.2 and Samsung Galaxy S 2.3.5 with Flex 4.12.1 and AIR 14
beta.  I am still seeing the app closure issues on both.

> Hardware back button closes app when stage text has focus
> ---------------------------------------------------------
>                 Key: FLEX-34402
>                 URL: https://issues.apache.org/jira/browse/FLEX-34402
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Apache Flex 4.12.1
>         Environment: Android
>            Reporter: Brady Kelley
>              Labels: easytest
>         Attachments: TextAreaTest.fxp
> Application is closed (moved to background) when user presses the back button while stage
text field has focus.  This happens regardless of how many views are currently on the view
stack.  This currently affects android only as it is specific to using the back hardware button.
> To replicate on Android (note: this does not work on the air simulator):
> 1. go to a view (not the first view) that contains a text field (using stage text).
> 2. tap on the text field as if you were going to input text.
> 3. press the hardware back button -> the keyboard should collapse, however the stage
text component still maintains focus.
> 4. press the hardware back button again.
> Notice how the app immediately closes (pushed to the background).  Also note that there
may be a stack trace that is thrown from the stage text input, due to the premature closing
of the app.  The stack trace is not the issue, it is the closing of the app that causes the
stack trace (putting a stage.focus = null in the back key pressed handler will prevent the
> Note: I am using AIR 13 when seeing this issue.

This message was sent by Atlassian JIRA

View raw message