Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-28233

[#2806873] RTE in TextLyout updateGraphics() removeInlineGraphicElement()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.5.1 (Release)
    • Adobe Flex SDK Next
    • Spark: TextArea
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows 7
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:

      Click on the button "Add text" several times until the igame goes out from viewport,

      Actual Results:
      The application throws a TypeError.

      Workaround (if any):
      I found this problem and its partial solution in tlf framework 2.1 (http://sourceforge.net/projects/tlf.adobe/files/2.1/6/):

      • Fix 2819924, Error #1009 in flashx.textLayout.container::ContainerController::updateGraphics()

      However, sometimes the problem still repeats (but on removeInlineGraphicElement() method). Try to clicks on the buttons ("Add text", "Add image") a long time.

      Solution - monkeypath fix (for tlf 2.1):
      File: flashx/textLayout/container/TextContainerManager.as
      String 2424. Logic to verify whether parent==null added.
      old string: if (inlineGraphicElement.parent == parent)
      new string: if (parent && inlineGraphicElement.parent == parent)

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: