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

window isn't resized when it is minimized.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • 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="openAWindow()"
      close="myWin.close()">
      <fx:Script>
      <![CDATA[
      import spark.layouts.BasicLayout;
      import spark.components.Button;
      import spark.components.Window;
      public var myWin:Window=new Window();
      public function openAWindow():void

      { myWin.systemChrome="standard"; myWin.title="test window1"; myWin.layout=new BasicLayout(); myWin.open(true); }

      public function resizeWindow():void

      { myWin.width=400;//Math.round(500*Math.random()); myWin.height=500;//Math.round(450*Math.random()); }

      ]]
      >
      </fx:Script>
      <s:Button y="150" label="resizeWindow" click="resizeWindow()"/>
      </s:WindowedApplication>

      2. when the app is launched, minimize the window.
      3. in WindowedApplication, click "resizeWindow" button
      4. restore the window
      ->window size isn't changed.
      5. maximize the window, then minimize it, then click "resizeWindow" button, click the task icon on the toolbar
      ->window size is still maximized.

      Expected Results:
      window size should be updated.

      Workaround (if any):
      restore the window, then updating window works as expected.

      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: