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

DataGroup with virtual layout is inefficient when renderers are reused

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Create a DataGroup with any layout having useVirtualLayout=true
      2. Do something that will change the number of renderers, for example reduce then expand again the width of the dataGroup

      Actual Results:
      layout.updateDisplayList is invoked twice per atomic operation

      Expected Results:
      layout.updateDisplayList is invoked once

      Workaround :
      None

      Reason:
      Everytime a renderer is reused, its includeInLayout property is reset to true, invalidating the parent. Because GroupBase override invalidateDisplayList, the safeguard in UIComponent normally preventing invalidation occuring from updateDisplayList is not used.

      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: