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

Several RTEs when setting focusSkin to null, opening ColorPicker, and then focusing on Halo TextArea

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • mx: TextArea
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Found in 4.0.0.10172.

      Steps to reproduce:
      1. Compile and run attached MXML file.
      2. Focus on each the Spark and Halo TextArea controls and type some text (note no focus skin is visible - yay!)
      3. Chance the Flex application background color using the ComboBox.
      4. Focus on each the Spark and Halo TextArea controsl and type some more text.

      Actual Results:
      NINE RTEs:

      Expected Results:
      Like, zero RTEs.

      Workaround (if any):
      Dont set the focusSkin to null.


      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/halo">

      <fx:Script>
      <![CDATA[
      import mx.core.FlexGlobals;
      ]]
      >
      </fx:Script>

      <s:VGroup x="20" y="20">
      <mx:ColorPicker id="cp"
      selectedColor="white"
      change="FlexGlobals.topLevelApplication.setStyle('backgroundColor', event.color);" />

      <mx:HRule />

      <mx:TextArea id="ta1"
      text="Halo TextArea"
      focusSkin="

      {null}" />
      <s:TextArea id="ta2"
      text="Spark TextArea"
      focusSkin="{null}

      " />

      <s:Label id="sdkVer" fontWeight="bold" initialize="sdkVer.text = mx_internal::VERSION;" />
      </s:VGroup>

      </s:Application>

      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: