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

Form Item - percentage-based hights in formItems cause the swf to hang indefinately.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Form View
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Internet Explorer 6.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Build an application with the following form code as its only component :

      --------CODE
      <mx:Form xmlns:mx="http://www.adobe.com/2006/mxml" paddingLeft="1"
      width="100%" height="100%" label="Label" fontSize="9"
      verticalGap="1" paddingBottom="1" paddingTop="1" paddingRight="1">

      <mx:FormItem width="100%" height="60%" direction="horizontal" indicatorGap="1">

      </mx:FormItem>

      <mx:FormItem width="100%" height="32%" direction="vertical" indicatorGap="1" verticalGap="2">
      <mx:FormHeading label="Availability/Assignment"/>
      <mx:Canvas width="100%" height="100%" borderThickness="1" borderColor="#000000" cornerRadius="5" borderStyle="solid">
      <mx:Label x="10" y="10" text="Label1:" width="98"/>
      </mx:Canvas>
      </mx:FormItem>

      <mx:FormItem width="100%" height="8%" direction="horizontal">
      <mx:Button label="Button" paddingLeft="1" paddingRight="1"/>
      </mx:FormItem>

      </mx:Form>
      --------CODE

      2. Launch the debug client after it is built.

      Actual Results: After a period of time, the debugger will return the following error:

      Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.

      Expected Results: The form should work as directed and return no error

      Workaround (if any): Replacing the height attributes of all formItem's in the above code with an absolute height (any number will work) will cause the code to run without problems.

      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: