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

Custom tooltip created in a popup stays on screen if popup is closed while custom tooltip is still showing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • PopUp Manager
    • None
    • Affected OS(s): Mac
      Affected OS(s): Mac OS 10.6
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Created a custom TextInput component to show a custom tooltip upon receiving focus.
      2. Pleace custom TextInput component in a popup using the PopUpManager.
      3. Give custom TextInput component focus to custom tooltip displays.
      4. Close popup with custom tooltip still showing.

      Actual Results:
      Custom tooltip is left displaying on screen after popup closes.

      Expected Results:
      Custom tooltip should be removed by listening for Event.REMOVED or Event.REMOVED_FROM_STAGE on the custom component.

      Workaround (if any):
      The parent or dialog can close the custom tips on the Event.CLOSE handler, but this means that the parent / dialog needs to maintain a reference to the custom inputs or tips to destroy them. I would still expect vent.REMOVED or Event.REMOVED_FROM_STAGE to clean up the tips from within the custom component.

      Notes:
      This could very well be a "developer error", and if it is, I am completely fine admiting my shortcomings for a solution! In trying to track down what could be the issue, it appears that the "removeChild" method in SystemChlidrenList.as does not account for a custom tooltip (which is really a popup) in a popup dialog window, thus not finding the child to remove it.

      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: