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

BusyIndicator should listen for INITIALIZE event and check visible property to determine if it should be animating

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Mobile: BusyIndicator
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Run the attached project (Found bug in SDK build 20015)
      2. Press the button on the first view to see the next

      Actual Results:
      The BusyIndicator is displayed but isn't animating

      Expected Results:
      An animating busy indicator

      Workaround (if any):
      In UIComponent, if the component is not initialized, visibility effects are not dispatched. So the problem seems to be that since BusyIndicator relies on show and hide effects, if visible is set to true before a component is initialized, busy indicator will not start its animation because the event is lost. This only seems to happen with components that require multiple validation passes to initialize. In this case, if the list is removed from the view, everything is fine (because in this build Scroller requires two validation passes to layout). To fix this, I think busy indicator should listen for INITIALIZE or something on its parents to capture the initial visibility state.

      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: