flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34988) Number of characters with images is wrong
Date Tue, 15 Dec 2015 17:08:47 GMT

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

Harbs commented on FLEX-34988:

I have no idea what gets picked up by the nightly, but yes, it's just some tests which fail.
(FWIW, those tests pass for me locally.) It's also only currently running less than 2/3 of
the tests that are supposed to run (563 instead of 1033), so I'm really not sure what's up

> Number of characters with images is wrong
> -----------------------------------------
>                 Key: FLEX-34988
>                 URL: https://issues.apache.org/jira/browse/FLEX-34988
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: TLF
>    Affects Versions: Apache Flex 4.14.0
>            Reporter: goratz
>         Attachments: Image.png, TLF_Bench_Images.as, TLF_Bench_Images.fla
> Hi, I have a problem when I insert images in the text. When I get the text of the TLF
the number of characters is wrong. It only counts the images that are displayed. 
> I build a test code to see the problem.
> -----------------------------------------------------------------------------------------------
> I added 3 images, but getText() function only returns the last one.
> NOTE_1: 	If you uncomment [oController.verticalScrollPosition	= 0;] line after adding
the 3rd image, it returns the first two images.
> 		So, it seems getText() function only returns the images that have appeared on screen.
> NOTE_2:	On the other hand, as you can see in the example, the [textLength] attribute
returns one more character than [getText().length].

This message was sent by Atlassian JIRA

View raw message