[
https://issues.apache.org/jira/browse/FLEX-33600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Wharmby updated FLEX-33600:
---------------------------------
Attachment: CustomPopUpManager.zip
Hi Justin
Thanks for the reply.
We have spent days trying to reproduce this in a simple example but it's
just not happening - we can only see it in the full application.
It seems there are two separate problems..
1. Crash owing to a null parent.
I have just discovered that I am at fault here by failing to set the pop
up parent to a non null value. I was sort of under the impression that
this would default to the main application as the parent but obviously
not. I allowed the bug in the Flash version of my app but avoided it in
the Air version which confused matters.
2. Crash when opening from a sub menu.
I have attached a custom PopUpManagerImpl that we have been using and
seems to fix the problem which is something to do with the
accessibilityProperties variable being null, so we have replaced lines
such as..
sbRoot.document.accessibilityProperties.silent = false;
with..
if (sbRoot.document.accessibilityProperties)
sbRoot.document.accessibilityProperties.silent = false;
This problem is present in SDK 4.6 and 4.9 but so far we have only seen
it in Windows 7 or Windows 8 64 bit (not all of them).
If you are unable or unwilling to implement our fix then is there a way
of us somehow getting our fix into the Flash version of our application?
I can get this fix into the Air version but the IDE somehow prevents me
getting it into the browser version.
Sorry for the limited amount of info.
Best Regards
Peter
> Creating a pop up from a menubar or from within Firefox crashes
> ---------------------------------------------------------------
>
> Key: FLEX-33600
> URL: https://issues.apache.org/jira/browse/FLEX-33600
> Project: Apache Flex
> Issue Type: Bug
> Components: PopUp Manager
> Affects Versions: Adobe Flex SDK 4.6 (Release)
> Environment: Adobe Air Windows - Flash program within Firefox
> Reporter: Peter Wharmby
> Priority: Critical
> Labels: easyfix
> Attachments: CustomPopUpManager.zip
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> In PopUpManagerImpl line 460 we have
> if (!localRoot)
> localRoot = DisplayObjectContainer(parent.root);
> This crashes if parent is null.
> Happens when trying to open a pop up when a menu is still closing in Air
> (sometimes) or when called from firefox browser (always)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira