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

Callout bounds do not resize during orientation change, but the Callout's content area resizes, causing clipping of content.

Details

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

    Description

      During orientation changes, the Callout bounds (including the Callout and its arrow) do not change size, but the content inside the Callout does change size. This causes content inside the Callout to be clipped after an orientation change.

      Note that this behavior is different on each form factor. The Callout will resize differently based on screen size/DPI, but the general problem is the same. I ran the following test case on a Motorola XOOM (Android 3.2).

      Steps to reproduce:
      1. Create a default Flex mobile project in Flash Builder (The default is based on a ViewNavigatorApplication).
      2. Copy the following code into the home View:

      <?xml version="1.0" encoding="utf-8"?>
      <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      title="HomeView">

      <s:CalloutButton>
      <s:Group width="300" height="300">
      <s:TextInput left="20" right="20" top="20" bottom="20"/>
      </s:Group>
      </s:CalloutButton>

      </s:View>

      3. Run it on a Motorola XOOM (Android 3.2). Make sure the device is in landscape orientation when you start the app.
      4. Tap the button.
      5. Tap the TextInput in the Callout that comes up.
      6. Rotate the device into portrait orientation.

      Actual Results:
      7. The Group with the TextInput will be clipped at the bottom.

      Expected Results:
      8. The Callout content area should not have changed in size.

      Other Information:
      This seems like a layout issue, perhaps in Callout's updateDisplayList.

      Workaround (if any):
      None identified yet.

      Attachments

        Activity

          adobejira Adobe JIRA added a comment -

          Adobe Bug URL: http://bugs.adobe.com/jira/browse/SDK-31644
          Original Reporter: mvujovic
          Original Resolution: External
          Confirmed Version: 11392
          Confirmed Version: Next Build
          Discoverability: High
          Number of votes: 0
          Reproducibility: Every Time
          Resolved by: mvujovic
          Severity: Incorrectly Functioning
          reporter: mvujovic

          adobejira Adobe JIRA added a comment - Adobe Bug URL: http://bugs.adobe.com/jira/browse/SDK-31644 Original Reporter: mvujovic Original Resolution: External Confirmed Version: 11392 Confirmed Version: Next Build Discoverability: High Number of votes: 0 Reproducibility: Every Time Resolved by: mvujovic Severity: Incorrectly Functioning reporter: mvujovic
          adobejira Adobe JIRA added a comment -

          created: 2011-09-23 15:19:23.000
          resolved: 2011-09-23 17:03:54.919
          updated: 2011-11-15 16:10:58.000

          adobejira Adobe JIRA added a comment - created: 2011-09-23 15:19:23.000 resolved: 2011-09-23 17:03:54.919 updated: 2011-11-15 16:10:58.000
          adobejira Adobe JIRA added a comment -

          On 2011-09-23 15:39:47.448 mvujovic commented:
          Updated the bug with more information, and a more obvious test case that reveals that the Callout content is being clipped, not resized.
          On 2011-09-23 16:30:11.651 mvujovic commented:
          This is fixed in r22724. Seems to have been the same cause and solution as SDK-31528.
          On 2011-09-29 15:47:23.682 kawatana commented:
          confirmed fixed in 22084. closed.

          adobejira Adobe JIRA added a comment - On 2011-09-23 15:39:47.448 mvujovic commented: Updated the bug with more information, and a more obvious test case that reveals that the Callout content is being clipped, not resized. On 2011-09-23 16:30:11.651 mvujovic commented: This is fixed in r22724. Seems to have been the same cause and solution as SDK-31528. On 2011-09-29 15:47:23.682 kawatana commented: confirmed fixed in 22084. closed.

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: