flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34188) RTE in ToolTipManagerImpl after focus set, grid cleared and then removed from stage.
Date Fri, 18 Apr 2014 17:05:15 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13974254#comment-13974254
] 

Alex Harui commented on FLEX-34188:
-----------------------------------

There is plenty of null checks for systemManager in UIComponent, for example.

The non-null systemManager stuff is going to cause issues in multi-window AIR apps.  I think
it was mainly added so some things can get a SWF context that couldn't otherwise like I think
some globalization and/or mobile stuff, but for things that like tooltips that depend on a
dom tree, there could be issues. 

> RTE in ToolTipManagerImpl after focus set, grid cleared and then removed from stage.
> ------------------------------------------------------------------------------------
>
>                 Key: FLEX-34188
>                 URL: https://issues.apache.org/jira/browse/FLEX-34188
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Focus Manager, Tooltip Manager
>    Affects Versions: Apache Flex 4.11.0
>            Reporter: Mihai Chira
>            Assignee: Alex Harui
>              Labels: easyfix, easytest
>             Fix For: Apache Flex 4.13.0
>
>         Attachments: FLEX-34188.patch, _ToolTipManager1009.fxp
>
>
> 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()



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message