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

SlideViewTransition doesn't properly restore the includeInLayout property of the initial view [aka View stops responding to orientation changes when destructionPolicy="never"] c

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1.Run the attached project in ADL
      2.Press the button to advance to the next view
      3.Rotate the stage
      4.Press the button to return to the previous view

      Actual Results:
      The previous view doesn't properly size itself to fit the new stage width and height. This is because the first view had destructionPolicy set to "never", and the SlideViewTransition didn't properly restore its includeInLayout flag.

      Expected Results:
      The previous view should properly size itself to the stage. The button will span the width and height of the view.

      Workaround (if any):
      Listen for an "add" event on the initial view and set includeInLayout to true.
      Don't use destructionPolicy.

      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: