flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maurice Mullens (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-33409) TLF crashes when hypens are shown in a multi span textFlow
Date Tue, 27 Aug 2013 09:38:51 GMT

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

Maurice Mullens updated FLEX-33409:
-----------------------------------

    Attachment: ExampleDebug.fxp

Dear Alex,
attached please find an example project, which demonstrates the issues.
There are 2 problems:
1. Put your cursor somewhere in the middle of the text, and keep your backspace button pressed.
You will see that the cursor freezes, and nothing happens anymore. Any further editing creates
a big mess to the flowlines!
2. Start the app and put your cursor at the end of the text in the second container. Just
press backspace there and the following error appears:







TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at flashx.textLayout.compose::FlowComposerBase/addLine()[/Users/aharui/git/flex/master/flex-tlf/textLayout/src/flashx/textLayout/compose/FlowComposerBase.as:503]
Hope you can fix it?
ThxMaurice
 		 	   		  

                
> TLF crashes when hypens are shown in a multi span textFlow
> ----------------------------------------------------------
>
>                 Key: FLEX-33409
>                 URL: https://issues.apache.org/jira/browse/FLEX-33409
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Adobe Flex SDK 4.6 (Release)
>         Environment: TLF editing
>            Reporter: Woodwing Developer
>            Assignee: Alex Harui
>            Priority: Blocker
>              Labels: TLF, crash, editing, hyphen, span, textflow
>         Attachments: BaseCompose.as, ComposeState.as, ExampleDebug.fxp, FLEX33409.patch,
FlowLeafElement.as, Test.fxp, textLayout.swc
>
>
> When soft hyphens are used and shown, in a textFlow with 2 or more spans, TLF crashes
when typing.
> Import the underlying text flow xml. Resize the text area until the hyphen is visible.
Then start typing AFTER the hypened word, also pressing the enter key. TLF crashes.
> Sample textFLow (if the soft hyphen is not show, insert a new one in the appropriate
word):
>   <TextFlow color="#000000" fontSize="12" lineHeight="14" paddingBottom="0" paddingLeft="10"
paddingRight="10" paddingTop="0" whiteSpaceCollapse="preserve" version="2.0.0" xmlns="http://ns.adobe.com/textLayout/2008">
>     <p>
>       <span backgroundColor="#ffffff" textDecoration="underline">First Span</span>
>       <span backgroundColor="#ffffff" textDecoration="none"> Second span. This
text has a hypen in the next long word LongWord­WithAHyphen. Make sure the hypen is shown!
Then start typing and pressing enter till TLF crashes (should happen fast enough)</span>
>   </p>
>   </TextFlow>
> It seems that the textLine is damaged but the text engine fails to recompose the line
properly.

--
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

Mime
View raw message