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

VBox scrolled up when window is minimized and maximized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.3 (Release)
    • None
    • mx: Window
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Take this code.

      <?xml version="1.0" encoding="utf-8"?>
      <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="addChildren()" width="600" height="500">
      <mx:Script>
      <![CDATA[
      import mx.controls.Label;
      private function addChildren():void {
      for (var i:int = 0; i < 100; i++)

      { var l:Label = new Label(); l.text = "line"; l.width = 50; this.content_vbox.addChild(l); }

      }
      ]]
      >
      </mx:Script>
      <mx:Canvas borderColor="#FFFFFF" backgroundAlpha="1.0" backgroundColor="#FFFFFF" left="10" top="10" right="150" bottom="10">
      <mx:VBox height="100%" left="0" top="0" right="0" id="content_vbox">
      </mx:VBox>
      </mx:Canvas>

      </mx:WindowedApplication>

      2. Generate an air app
      3. Install it on winxp (air 1.5.1)
      4. Run the app and scroll down the list
      5. minimize the app
      6. maximize the app

      Actual Results:
      The scroll bar is reset to the top.

      Expected Results:

      The scroll bar appears in the same position when I minimized the app.

      Workaround (if any):

      Not know. Probably catching the windowActivate event.

      Bug detected on air's forum: http://forums.adobe.com/message/2027807#2027807

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: