You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Maurice Amsellem (JIRA)" <ji...@apache.org> on 2013/11/07 23:45:18 UTC

[jira] [Comment Edited] (FLEX-33862) Modal Popup doesnt work on Flex 4.11

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

Maurice Amsellem edited comment on FLEX-33862 at 11/7/13 10:45 PM:
-------------------------------------------------------------------

Think I found the bug.

{code}
 ActiveWindowManager  findHighestModalForm():int,
for (var i:int = n - 1; n >= 0; i--)
{code}

I think it should be i > = 0 and not n>=0;



was (Author: mamsellem):
Think I found the bug.

> Modal Popup doesnt work on Flex 4.11
> ------------------------------------
>
>                 Key: FLEX-33862
>                 URL: https://issues.apache.org/jira/browse/FLEX-33862
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: PopUp Manager
>    Affects Versions: Apache Flex 4.11.0
>         Environment: Windows 8, Eclipse, Apache 4.11.0 FP 11.9 AIR 3.9 eb_US
>            Reporter: Thiago Maia
>            Assignee: Maurice Amsellem
>
> Expected behavior:
> Open a modal popup and click in the button, once release the click the button is still working
> Actual behavior: 
> When a open modal popup, if click in the button, it freezes.
> ----------------------------------------------------------------------------------------
> The online example is here:
> http://www.a00s.com/teste2013/teste2013.html
> The eclipse project with the issue example is here:
> http://www.a00s.com/teste2013/teste2013.zip
> -------------------------------------------
>        I have two files
> File A)
> var opopup:Mensagem = Mensagem(PopUpManager.createPopUp(this,Mensagem,true,PopUpManagerChildList.POPUP));
> File B)Mensagem.mxml
> <?xml version="1.0" encoding="utf-8"?>
> <s:HGroup xmlns:fx="http://ns.adobe.com/mxml/2009"
>           xmlns:s="library://ns.adobe.com/flex/spark"
>           xmlns:ns1="com.adobe.flex.extras.controls.*"
> xmlns:components="org.flashcommander.components.*"
>           xmlns:flexlib="http://code.google.com/p/flexlib/"
>           xmlns:mx="library://ns.adobe.com/flex/mx"
>           y="100">
>     <s:Button x="201.8" y="73.1" label="asdf" id="asdfbggg" width="81"/>
> </s:HGroup>
> How you can see in file B I left just a button to be able to check if I still can click on it.
> on (Apache 4.10.0 FP  11.8 AIR 3.8 en_US) no problem
> on (Apache 4.11.0 FP 11.9 AIR 3.9 eb_US) it freezes and eventually the button will work again or will crash the chrome. 
> To stop the problem I can do that
> if I change from true to false it works. Maybe the issue can be in this part
> var opopup:Mensagem = Mensagem(PopUpManager.createPopUp(this,Mensagem,true,PopUpManagerChildList.POPUP));
> var opopup:Mensagem = Mensagem(PopUpManager.createPopUp(this,Mensagem,false,PopUpManagerChildList.POPUP)); 
> thanks



--
This message was sent by Atlassian JIRA
(v6.1#6144)