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

flashx.textLayout.events.TextFlow crashes when the text contains soft hyphens ("\u00AD")

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Adobe Flex SDK Previous
    • None
    • Layout - General
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Safari
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a flashx.textLayout.events.TextFlow from TextLayout Framework with text "Weit hin\u00ADten, hin\u00ADter den Wort\u00ADber\u00ADgen, fern der Län\u00ADder Vo\u00ADka\u00ADli\u00ADen und Kon\u00ADso\u00ADnan\u00ADti\u00ADen le\u00ADben die Blind\u00ADtex\u00ADte. Ab\u00ADge\u00ADschie\u00ADden woh\u00ADnen Sie in Buch\u00ADstab\u00ADhau\u00ADsen an der Küs\u00ADte des Se\u00ADman\u00ADtik, ei\u00ADnes gro\u00ADßen Spra\u00ADch\u00ADozeans. Ein klei\u00ADnes Bäch\u00ADlein na\u00ADmens Du\u00ADden fließt durch ih\u00ADren Ort und ver\u00ADsorgt sie mit den nö\u00ADti\u00ADgen Re\u00ADge\u00ADlia\u00ADli\u00ADen. Es ist ein pa\u00ADra\u00ADdies\u00ADma\u00ADti\u00ADsches Land, in dem ei\u00ADnem ge\u00ADbra\u00ADte\u00ADne Satz\u00ADtei\u00ADle in den Mund flie\u00ADgen."
      2. Add edit manager: textFlow.interactionManager = new EditManager();
      2. Add a var sprite = new Sprite() to the application's container
      3. create a var cc = ContainerController(sprite) and add it to the textFlow.flowComposer
      4. Set appropriate compositionSize on the cc.
      5. The text will be correctly displayed in the sprite.
      6. Start deleting words from the first line of the text.

      Actual Results:
      Application crashes after deleting a few characters.
      It crashes always when a word that is hyphenated should move to an upper line as a result of characters being deleted in that upper line.
      Sometimes Flash Builder debugger shows the stacktrace, but sometimes application "Quits Unexpectedly" and the Flash Builder's cannot display any information.

      Expected Results:
      Application shouldn't crash

      Workaround (if any):
      After removing the soft hyphens text editing is possible.

      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: