flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mihai Chira (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLEX-34339) Components don't focusOut when removed from stage
Date Thu, 26 Jun 2014 15:48:25 GMT

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

Mihai Chira edited comment on FLEX-34339 at 6/26/14 3:48 PM:
-------------------------------------------------------------

Hmm. In other words, it's neither a feature, nor a bug, but more like an omission. I feel
strongly that the SDK shouldn't allow this high potential for bugs. In applications we remove
components from stage very often, and all it takes is the user pressing ENTER on their keyboard
or rolling the mouse scroller to trigger the action of a button, NumericStepper or other focusable
component that's not on stage anymore. I would not expect this of a component framework.


was (Author: evolverine):
Hmm. In other words, it's neither a feature, nor a bug, but more like an omission. I feel
strongly that the SDK shouldn't allow this high potential for bugs. In applications we remove
components from stage very often, and all it takes is the user pressing ENTER on their keyboard
to trigger the action of a button or other focusable component that's not on stage anymore.
I would not expect this of a component framework.

> Components don't focusOut when removed from stage
> -------------------------------------------------
>
>                 Key: FLEX-34339
>                 URL: https://issues.apache.org/jira/browse/FLEX-34339
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: .Unspecified - Framework
>    Affects Versions: Apache Flex 4.12.0
>            Reporter: Mihai Chira
>              Labels: easytest
>             Fix For: Apache Flex 4.13.0
>
>         Attachments: _focusOutNotDispatchedOnRemove.fxp
>
>
> *Steps to reproduce*:
> 1. Import and run attached project.
> 2. Click on numeric stepper and then on button. Notice that focusIn and focusOut events
are dispatched by numeric stepper as expected.
> 3. Shift+Click on the numeric stepper (this will remove it from stage in 600ms).
> *Actual behaviour*: focusOut is not dispatched by numeric stepper when it's removed from
stage.
> *Desired behaviour*: I expect that a focused component should be de-focused when removed
from stage.
> *NOTES*:
> -This causes at least one other bug: FLEX-34340.
> -Not sure if this is a flash player bug or SDK bug. Or it could be a feature, but definitely
not an intuitive one.
> -I have a feeling this is related to FLEX-20416 (couldn't check, since the attachment
is not on the ticket).



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

Mime
View raw message