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

Line breaks can be pasted to s:TextInput in AIR app.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK 4.5 (Release)
    • Adobe Flex SDK Next
    • Spark: TextInput
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Line breaks can be pasted to s:TextInput in AIR app. This does not occur in Flash web app.
      I can reproduce this with Flex SDK 4.5.0 (AIR SDK 2.6) or Flex SDK 4.5.1 (AIR SDK 2.6) on AIR runtime 2.7.0.19530.
      I cannot reproduce this with Flex SDK 4.1 + AIR SDK 2.6 on AIR runtime 2.7.0.19530.
      From the results, it seems this is a regression of Flex SDK.

      Steps to reproduce:
      1. Install and run the attached app (Main.air), which was compiled with Flex SDK 4.5.0 (AIR SDK 2.6).
      2. Open the attached text file (test.txt) with notepad. And then, select all and copy it.
      3. Paste it to s:TextInput in the app.

      Actual Results:
      You can see a line break in s:TextInput.

      Expected Results:
      No line breaks should be pasted.

      Workaround (if any):

      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: