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

minimized window can't be restored through restore().

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: Window
    • None
    • Affected OS(s): Windows
      Language Found: English

    Description

      Steps to reproduce:
      1. compile/run following code:
      <?xml version="1.0" encoding="utf-8"?>
      <s:WindowedApplication
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/halo"
      creationComplete="resetWindow()" close="aw.close()" >
      <fx:Script>
      <![CDATA[
      import spark.components.Window;
      public var aw:Window;
      public function resetWindow():void

      { aw = new Window(); aw.open(); }

      ]]
      >
      </fx:Script>
      <s:Button y="30" label="minimize window" click="aw.minimize()"/>
      <s:Button y="50" label="restore window" click="aw.restore()"/>
      </s:WindowedApplication>

      2. when app is launched, click button "minimize window"
      ->window is minimized

      3. click button "restore window"
      ->nothing happens, the window isn't back to early size. right click the minimized icon on window task bar, "restore" menu is disabled.

      Expected Results:
      window should be restored back to the default size.

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: