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

RTE in ToolTipManagerImpl after focus set, grid cleared and then removed from stage.

    XMLWordPrintableJSON

Details

    Description

      Steps to reproduce:
      1. Run the attached AIR project
      2. Move your mouse over one of the item renderers in the second row (and don't move it for a bit)

      Current behaviour: the RTE below.
      Expected behaviour: a tooltip should appear next to the renderer.

      NOTES:
      -this is most likely caused by FLEX-34187.
      -just like in FLEX-34187, we can reproduce this no matter to whom we give focus before removing the grid.
      -in our application this is causing many similar runtime errors when transitioning from complex views which contain DataGrids.
      -UIFTETextField (the default renderer) seems to be the only component left whose systemManager value depends on whether it's on stage or not. If the effects range beyond interfering with ToolTipManager, maybe we can make it implement a caching method similar to UIComponent?

      RTE:
      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::createTip()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as:947]
      at mx.managers::ToolTipManagerImpl/http://www.adobe.com/2006/flex/mx/internal::showTimer_timerHandler()[/Users/justinmclean/Documents/ApacheFlex4.11.0/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as:1634]
      at flash.utils::Timer/_timerDispatch()
      at flash.utils::Timer/tick()

      Attachments

        1. FLEX-34188.patch
          2 kB
          Mihai Chira
        2. _ToolTipManager1009.fxp
          11 kB
          Mihai Chira

        Issue Links

          Activity

            People

              aharui Alex Harui
              evolverine Mihai Chira
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: