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

Callout does not reposition when the owner's bounds change

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Next
    • None
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Other (specify version)
      Language Found: English

    Description

      Callout establishes it's position based on the owner bounds at the time the Callout is opened. However, if the owner's bounds change, the Callout does not re-position. Callout only repositions while open (A) when the systemManager is resized or (B) if horizontalPosition/verticalPosition values change.

      This proposal is to add a public API to call under any circumstance (owner or ancestor bounds change) to re-position a Callout. It would be similar to PopUpAnchor.updatePopUpTransform() which is used for the same purpose.

      Dev Estimate: Trivial. < 1 day.

      Attachments

        Activity

          adobejira Adobe JIRA added a comment -

          Adobe Bug URL: http://bugs.adobe.com/jira/browse/SDK-31190
          Original Reporter: jasonsj
          Original Resolution: Not a Bug
          Confirmed Version: 11364
          Confirmed Version: Next Build
          Discoverability: Medium
          Number of votes: 0
          Regression: No
          Reproducibility: Every Time
          Resolved by: jasonsj
          Severity: Enhancement/Task
          reporter: jasonsj

          adobejira Adobe JIRA added a comment - Adobe Bug URL: http://bugs.adobe.com/jira/browse/SDK-31190 Original Reporter: jasonsj Original Resolution: Not a Bug Confirmed Version: 11364 Confirmed Version: Next Build Discoverability: Medium Number of votes: 0 Regression: No Reproducibility: Every Time Resolved by: jasonsj Severity: Enhancement/Task reporter: jasonsj
          adobejira Adobe JIRA added a comment -

          created: 2011-08-15 14:24:01.000
          resolved: 2011-08-22 16:01:38.256
          updated: 2011-08-22 17:40:49.000

          adobejira Adobe JIRA added a comment - created: 2011-08-15 14:24:01.000 resolved: 2011-08-22 16:01:38.256 updated: 2011-08-22 17:40:49.000
          adobejira Adobe JIRA added a comment -

          On 2011-08-15 14:35:49.061 kawatana commented:
          to irb.
          On 2011-08-16 14:17:19.163 kawatana commented:
          to Jason.
          On 2011-08-17 00:07:28.170 laupark commented:
          Setting to Under Investigation.
          On 2011-08-17 09:30:28.731 jasonsj commented:
          Move and resize events will not fire on the owner if the change is up the ancestor chain. Per Szeto, this is one reason why updatePopUpTransform() was added.
          On 2011-08-17 09:30:40.323 jasonsj commented:
          Back to IRB with info.
          On 2011-08-17 11:05:32.582 jsaracin commented:
          IRB – opening to JasonSJ. Setting i4 milestone.
          On 2011-08-22 14:56:59.315 lmcliste commented:
          IRB pulled into i3
          On 2011-08-22 16:01:38.458 jasonsj commented:
          Rev 22141
          On 2011-08-22 16:02:43.874 jasonsj commented:
          SkinnablePopUpContainer (and Callout) now has a new public method: updatePopUpPosition(). See ASDoc for details. This method should be called if the owner's position or size changes while the pop-up is open.
          On 2011-08-22 17:40:49.840 kawatana commented:
          confirmed. regression test.

          adobejira Adobe JIRA added a comment - On 2011-08-15 14:35:49.061 kawatana commented: to irb. On 2011-08-16 14:17:19.163 kawatana commented: to Jason. On 2011-08-17 00:07:28.170 laupark commented: Setting to Under Investigation. On 2011-08-17 09:30:28.731 jasonsj commented: Move and resize events will not fire on the owner if the change is up the ancestor chain. Per Szeto, this is one reason why updatePopUpTransform() was added. On 2011-08-17 09:30:40.323 jasonsj commented: Back to IRB with info. On 2011-08-17 11:05:32.582 jsaracin commented: IRB – opening to JasonSJ. Setting i4 milestone. On 2011-08-22 14:56:59.315 lmcliste commented: IRB pulled into i3 On 2011-08-22 16:01:38.458 jasonsj commented: Rev 22141 On 2011-08-22 16:02:43.874 jasonsj commented: SkinnablePopUpContainer (and Callout) now has a new public method: updatePopUpPosition(). See ASDoc for details. This method should be called if the owner's position or size changes while the pop-up is open. On 2011-08-22 17:40:49.840 kawatana commented: confirmed. regression test.

          People

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

            Dates

              Created:
              Updated:
              Resolved: