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] [Commented] (FLEX-33409) TLF crashes when hypens are shown in a multi span textFlow
Date Wed, 21 Aug 2013 09:22:51 GMT

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

Maurice Mullens commented on FLEX-33409:
----------------------------------------

It seems to have worsened the issue.

Two strange things that happen as well:1. When i double click to select a word in a paragraph,
it selects a word in the next paragraph (this happens sometimes)2. When i use the up/down/left/right
arrow keys, the cursor jumps to a entirely different location
These two things happened before this patch as well. 
This is the error i get after pressing enter or backspace in hyphened text(fyi i use multiple
containercontrollers with large textflows).








TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at flashx.textLayout.compose::TextFlowLine/http://ns.adobe.com/textLayout/internal/2008::recreateTextLine()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/compose/TextFlowLine.as:922]
	at flashx.textLayout.compose::TextFlowLine/getTextLineInternal()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/compose/TextFlowLine.as:876]
	at flashx.textLayout.compose::TextFlowLine/getTextLine()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/compose/TextFlowLine.as:846]
	at flashx.textLayout.compose::ComposeState/composeNextLine()[/Users/aharui/git/flex/master/flex-tlf/textLayout/src/flashx/textLayout/compose/ComposeState.as:414]
	at flashx.textLayout.compose::BaseCompose/composeParagraphElementIntoLines()[/Users/aharui/git/flex/master/flex-tlf/textLayout/src/flashx/textLayout/compose/BaseCompose.as:1307]
	at flashx.textLayout.compose::BaseCompose/composeParagraphElement()[/Users/aharui/git/flex/master/flex-tlf/textLayout/src/flashx/textLayout/compose/BaseCompose.as:1197]
	at flashx.textLayout.compose::ComposeState/composeParagraphElement()[/Users/aharui/git/flex/master/flex-tlf/textLayout/src/flashx/textLayout/compose/ComposeState.as:324]
	at flashx.textLayout.compose::BaseCompose/composeBlockElement()[/Users/aharui/git/flex/master/flex-tlf/textLayout/src/flashx/textLayout/compose/BaseCompose.as:453]
	at flashx.textLayout.compose::BaseCompose/composeInternal()[/Users/aharui/git/flex/master/flex-tlf/textLayout/src/flashx/textLayout/compose/BaseCompose.as:1177]
	at flashx.textLayout.compose::ComposeState/composeInternal()[/Users/aharui/git/flex/master/flex-tlf/textLayout/src/flashx/textLayout/compose/ComposeState.as:151]
	at flashx.textLayout.compose::BaseCompose/composeTextFlow()[/Users/aharui/git/flex/master/flex-tlf/textLayout/src/flashx/textLayout/compose/BaseCompose.as:955]
	at flashx.textLayout.compose::ComposeState/composeTextFlow()[/Users/aharui/git/flex/master/flex-tlf/textLayout/src/flashx/textLayout/compose/ComposeState.as:114]
	at flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/compose/StandardFlowComposer.as:684]
	at flashx.textLayout.compose::StandardFlowComposer/internalCompose()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/compose/StandardFlowComposer.as:768]
	at flashx.textLayout.compose::StandardFlowComposer/updateToController()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/compose/StandardFlowComposer.as:564]
	at flashx.textLayout.compose::StandardFlowComposer/updateAllControllers()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/compose/StandardFlowComposer.as:525]
	at flashx.textLayout.edit::EditManager/updateAllControllers()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/edit/EditManager.as:820]
	at flashx.textLayout.edit::EditManager/handleUpdate()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/edit/EditManager.as:856]
	at flashx.textLayout.edit::EditManager/finalizeDo()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/edit/EditManager.as:676]
	at flashx.textLayout.edit::EditManager/doOperation()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/edit/EditManager.as:625]
	at flashx.textLayout.edit::EditManager/deletePreviousCharacter()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/edit/EditManager.as:1400]
	at flashx.textLayout.edit::EditManager/keyDownHandler()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/edit/EditManager.as:374]
	at flashx.textLayout.container::ContainerController/keyDownHandler()[/Users/justinmclean/Documents/ApacheFlexTLFGit/textLayout/src/flashx/textLayout/container/ContainerController.as:2529]
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, FLEX33409.patch, 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