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

Modal Popup with Group or subclass root freezes the app

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Apache Flex 4.11.0
    • Apache Flex 4.12.0
    • PopUp Manager
    • None
    • Windows 8, Eclipse, Apache 4.11.0 FP 11.9 AIR 3.9 eb_US

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thiagomaia Thiago Maia
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: