flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Kessler (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FLEX-34954) SkinnableTextBase steals focus by callLater(textDisplay.setFocus)
Date Wed, 18 Nov 2015 11:06:10 GMT

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

Mark Kessler reassigned FLEX-34954:
-----------------------------------

    Assignee: Mark Kessler

> SkinnableTextBase steals focus by callLater(textDisplay.setFocus)
> -----------------------------------------------------------------
>
>                 Key: FLEX-34954
>                 URL: https://issues.apache.org/jira/browse/FLEX-34954
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: TextArea
>    Affects Versions: Apache Flex 4.14.1
>            Reporter: Konstantin Elstner
>            Assignee: Mark Kessler
>            Priority: Critical
>
> The support class:
> spark.components.supportClasses.SkinnableTextBase
> has a critical issue in line 1879:
> callLater(textDisplay.setFocus)
> The usage of call later will lead to possible focus losses in case of environments with
out mouse usage.
> Examples:
> - TextBox added to stage, afterwards a popup / alter is added
> - TextBox is added and removed to / from stage
> - Alert is opened over textbox, alert close will trigger switch to other component, but
text box will be reactivated for a short moment.
> All this cases will have a critical focus loss.
> Please change in spark.components.supportClasses.SkinnableTextBase
> line 1879 to:
> textDisplay.setFocus();
> By the way:
> A callLater workaround is a bad practice to fix some skin state issues, especially only
slow computers with possible dropped frames.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message