[ 
https://issues.apache.org/jira/browse/FLEX-27315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Mclean resolved FLEX-27315.
----------------------------------

    Resolution: Fixed

Not an Apache Flex SDK issue but an AIR issue. Not an issue in the browser for 
Apache Flex 4.9.1, issue exist with AIR 3.1 but not AIR 3.7 so has been fixed 
in AIR at some point.
                
> Scroller Crash On Window Resize
> -------------------------------
>
>                 Key: FLEX-27315
>                 URL: https://issues.apache.org/jira/browse/FLEX-27315
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: Scroller
>    Affects Versions: Adobe Flex SDK 4.5 (Release)
>         Environment: Affected OS(s): Windows
> Affected OS(s): Windows 7
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easytest
>
> Windows 7 64-bit
> Mac OS X 10.6
> Steps to reproduce:
> 1. Create a new Air project in Flash Builder 4.5 i6
> 2. Paste in the 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/mx"
>                                          width="500" height="500"
>                                          showStatusBar="false">
>       <s:Scroller width="100%" height="100%">
>               <s:Group width="100%" height="100%">
>                       <s:Group id="previewGroup" width="500" height="500" 
> horizontalCenter="0" verticalCenter="0">
>                               <s:Rect left="0" right="0" top="0" bottom="0">
>                                       <s:fill>
>                                               <s:SolidColor color="0xFF00FF"/>
>                                       </s:fill>
>                               </s:Rect>
>                       </s:Group>
>               </s:Group>
>       </s:Scroller>
> </s:WindowedApplication>
> 3. Resize the window smaller in any direction.
>  
> Actual Results:
> Computer completely freezes and you have to open Task Manager to kill the 
> process. In Task Manager you can view the process is at 100% CPU usage. 
> Expected Results:
> Window to resize without crashing.
>  
> Workaround (if any):
> Don't put a horizontally and vertically centred Group within the Scroller.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to