You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Chuck Mastrandrea (JIRA)" <ji...@apache.org> on 2013/03/13 18:28:12 UTC

[jira] [Commented] (FLEX-33428) CLONE - mx:Text with htmlText attribute compiled for FTETextField displays no text

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

Chuck Mastrandrea commented on FLEX-33428:
------------------------------------------

This problem was originally reported in FLEX-22589, and it is marked fixed there (Confirmed in 4.0.0 (build 13467)), but I don't see the fix in FTETextField.composeHTMLText in any of the subsequent Flex releases, and the problem still persists in Apache Flex 4.9.1.

I applied a fix as described in the original bug report (see attached file). This consists of adding:
            textField.clearFlag(FTETextField.FLAG_HTML_TEXT_SET);
when htmlText = null (in composeHTMLText), which also requires opening up access to function clearFlag and static property FLAG_HTML_TEXT_SET. This fixes the problem from my testing.

                
> CLONE - mx:Text with htmlText attribute compiled for FTETextField displays no text
> ----------------------------------------------------------------------------------
>
>                 Key: FLEX-33428
>                 URL: https://issues.apache.org/jira/browse/FLEX-33428
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: FTETextField
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Chuck Mastrandrea
>            Assignee: Adobe JIRA
>             Fix For: Adobe Flex SDK Previous
>
>         Attachments: FTETextField.as
>
>
> Steps to reproduce:
> 1. Compile app (bugfile from SDK-15246) with "Use FTE in MX Components" checked in FlashBuilder Compiler Options panel
> 2.
> 3.
>  
>  Actual Results:
>  
> no text is displayed
>  
>  Expected Results:
>  
> text displayed - it should look roughly like it does when the "Use FTE" option isn't being used
>  
>  Workaround (if any):

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira