You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "OmPrakash Muppirala (JIRA)" <ji...@apache.org> on 2014/07/10 19:52:05 UTC

[jira] [Assigned] (FLEX-34402) Hardware back button closes app when stage text has focus

     [ https://issues.apache.org/jira/browse/FLEX-34402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

OmPrakash Muppirala reassigned FLEX-34402:
------------------------------------------

    Assignee: OmPrakash Muppirala

> 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
>            Assignee: OmPrakash Muppirala
>              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 stack).
> Note: I am using AIR 13 when seeing this issue.



--
This message was sent by Atlassian JIRA
(v6.2#6252)