You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Brady Kelley (JIRA)" <ji...@apache.org> on 2014/07/09 16:25:04 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=14056285#comment-14056285 ] 

Brady Kelley edited comment on FLEX-34402 at 7/9/14 2:24 PM:
-------------------------------------------------------------

I did another test on a Moto X 4.4.2, AIR 13 and I was able to replicate it.  The original test was on a Samsung Galaxy Tab.  Not sure why you are not seeing it.  Going to test with AIR 14 and report my findings.


was (Author: bkelley):
I did another test on a Moto X 4.4.2, AIR 14 and I was able to replicate it.  The original test was on a Samsung Galaxy Tab.  Not sure why you are not seeing it.

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



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