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

Scaling a DateChooser inside a Canvas causes RTE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.0 (Release)
    • Adobe Flex SDK Previous
    • Spark: Effects
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run:

      <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/mx">

      <fx:Declarations>
      <s:Parallel id="scale">
      <s:Scale scaleXFrom="0" scaleXBy="1" scaleYFrom="0" scaleYBy="1" />
      </s:Parallel>
      </fx:Declarations>

      <s:VGroup>
      <s:Button label="run effect" click="scale.play([target])" />
      <mx:Canvas>
      <mx:DateChooser id="target" />
      </mx:Canvas>
      </s:VGroup>

      </s:Application>

      2. Click the first button
      3.

      Actual Results:

      RTE:

      Main Thread (Suspended: ArgumentError: Error #2004: One of the parameters is invalid.)
      flash.display::Graphics/drawRoundRect [no source]
      mx.controls::DateChooser/updateDisplayList
      mx.core::UIComponent/validateDisplayList
      mx.managers::LayoutManager/validateDisplayList
      mx.managers::LayoutManager/doPhasedInstantiation
      mx.managers::LayoutManager/doPhasedInstantiationCallback

      Expected Results:

      No RTE and the DateChooser scales

      Workaround (if any):

      Use a spark container instead of mx:Canvas

      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: