flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34339) Components don't focusOut when removed from stage
Date Thu, 26 Jun 2014 16:20:26 GMT

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

Alex Harui commented on FLEX-34339:
-----------------------------------

I try not to add just-in-case code to the SDK.  Again, folks who have permanently removed
a focused widget from the UI should set focus somewhere, so code that removes focus runs the
risk of overriding where they set the focus to, and I have concerns about certain operations
in the player like changing child indexes that I think actually do a remove/add under the
covers.  Some of our effects may also do remove/add under the covers.

If you want to do the legwork of proving that a change will survive remove/adds  or that none
of our effects or player behavior does remove/add under the cover, I will not object to those
changes.

> 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