You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by mo...@comcast.net on 2013/10/17 00:28:27 UTC

SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history

Can someone confirm if this is a bug (I'm assuming one bug, but let me know if you think it's two)? 

If so, I'll enter into JIRA... 

Problem observed: 4.10.0 spark datagrid horizontal scrollbar behavior changes based on the applications state history. 

This problem is not observed in SDK 4.5.1 (I'm not sure when it was introduced). 

EXAMPLE 1 (use example 1 code below): 

1. Click button to change to state 2. 
2. Once in state 2, click button again to return to state 1. 
3. Observe horizontal scroll bar does not permit to view all of datagrid. 

EXAMPLE 2 (use example 2 code below): 


1. Click and drag horizontal scroll bar to right and notice it goes to end of column 4. 
2. Click button to change to state 2. 
3. Once in state 2, click button again to return to state 1. 
4. Click and drag horizontal scroll bar to right and notice it goes BEYOND end of column 4. 

----------EXAMPLE 1 CODE---------- 

<?xml version="1.0" encoding="utf-8"?> 
<s:Application 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="600" maxWidth="600" height="300"> 

<fx:Declarations> 
<fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the typesetting industry.</fx:String> 

<s:ArrayCollection id="ac"> 
<s:DataItem value="{sampleText}"/> 
<s:DataItem value="{sampleText}"/> 
<s:DataItem value="{sampleText}"/> 
</s:ArrayCollection> 
</fx:Declarations> 

<fx:Script> 
<![CDATA[ 

private function stateHandler():void { 
currentState=(currentState=="state2")?"state1":"state2"; 
} 

]]> 
</fx:Script> 

<s:states> 
<s:State name="state1"/> 
<s:State name="state2"/> 
</s:states> 

<s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30" includeIn="state1"> 

<s:Label text="STATE 1" color="0xFF0000"/> 
<s:Label text="1. Click button to change to state 2."/> 
<s:Label text="2. Once in state 2, click button again to return to state 1."/> 
<s:Label text="3. Observe horizontal scroll bar does not permit to view all of datagrid."/> 

<s:DataGrid id="dg1" width="500" dataProvider="{ac}"> 

<s:columns> 
<s:ArrayList> 
<s:GridColumn dataField="value" headerText="Column 1" width="200"/> 
<s:GridColumn dataField="value" headerText="Column 2" width="200"/> 
<s:GridColumn dataField="value" headerText="Column 3" width="200"/> 
</s:ArrayList> 
</s:columns> 

</s:DataGrid> 

<s:Button label="Change State" click="stateHandler()"/> 

</s:VGroup> 

<s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30" includeIn="state2"> 

<s:Label text="STATE 2" color="0xFF0000"/> 
<s:Label text="1. Click button to change to state 2."/> 
<s:Label text="2. Once in state 2, click button again to return to state 1."/> 
<s:Label text="3. Observe horizontal scroll bar does not permit to view all of datagrid."/> 

<s:DataGrid id="dg2" width="500" dataProvider="{ac}"> 

<s:columns> 
<s:ArrayList> 
<s:GridColumn dataField="value" headerText="Column 1" width="200"/> 
<s:GridColumn dataField="value" headerText="Column 2" width="200"/> 
<s:GridColumn dataField="value" headerText="Column 3" width="200"/> 
</s:ArrayList> 
</s:columns> 

</s:DataGrid> 

<s:Button label="Change State" click="stateHandler()"/> 

</s:VGroup> 
</s:Application> 




----------- EXAMPLE 2 CODE --------------- 

<?xml version="1.0" encoding="utf-8"?> 
<s:Application 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="600" maxWidth="600" height="450"> 

<fx:Declarations> 
<fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the typesetting industry.</fx:String> 

<s:ArrayCollection id="ac"> 
<s:DataItem value="{sampleText}"/> 
<s:DataItem value="{sampleText}"/> 
<s:DataItem value="{sampleText}"/> 
<s:DataItem value="{sampleText}"/> 
<s:DataItem value="{sampleText}"/> 
<s:DataItem value="{sampleText}"/> 
</s:ArrayCollection> 
</fx:Declarations> 

<fx:Script> 
<![CDATA[ 

private function stateHandler():void { 
currentState=(currentState=="state2")?"state1":"state2"; 
} 

]]> 
</fx:Script> 

<s:states> 
<s:State name="state1"/> 
<s:State name="state2"/> 
</s:states> 

<s:VGroup paddingLeft="30" paddingTop="30"> 
<s:Label text="1. Click and drag horizontal scroll bar to right and notice it goes to end of column 4."/> 
<s:Label text="2. Click button to change to state 2."/> 
<s:Label text="3. Once in state 2, click button again to return to state 1."/> 
<s:Label text="4. Click and drag horizontal scroll bar to right and notice it goes BEYOND end of column 4"/> 

<s:VGroup horizontalAlign="left" includeIn="state1"> 

<s:Label text="STATE 1" color="0xFF0000"/> 

<s:DataGrid id="dg1" width="500" dataProvider="{ac}" 
alternatingRowColors="[0xFFFFFF,0xBBBBBB]"> 

<s:columns> 
<s:ArrayList> 
<s:GridColumn headerText="Col 1" dataField="value" width="75"/> 
<s:GridColumn headerText="Col 2" dataField="value" width="75"/> 
<s:GridColumn headerText="Col 3" dataField="value" width="200"/> 
<s:GridColumn headerText="Col 4" dataField="value" width="200"/> 
</s:ArrayList> 
</s:columns> 

</s:DataGrid> 

<s:Button label="Change State" click="stateHandler()"/> 

</s:VGroup> 

<s:VGroup horizontalAlign="left" includeIn="state2"> 

<s:Label text="STATE 2" color="0xFF0000"/> 

<s:DataGrid id="dg2" width="500" dataProvider="{ac}" 
alternatingRowColors="[0xFFFFFF,0xBBBBBB]"> 

<s:columns> 
<s:ArrayList> 
<s:GridColumn headerText="Col 1" dataField="value" width="75"/> 
<s:GridColumn headerText="Col 2" dataField="value" width="75"/> 
<s:GridColumn headerText="Col 3" dataField="value" width="200"/> 
<s:GridColumn headerText="Col 4" dataField="value" width="200"/> 
</s:ArrayList> 
</s:columns> 

</s:DataGrid> 

<s:Button label="Change State" click="stateHandler()"/> 

</s:VGroup> 
</s:VGroup> 
</s:Application> 

Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history

Posted by mo...@comcast.net.
Thanks Justin, I was afraid that was going to happen. However, I still don't see them in the system. I'm looking in the "Reported by Me" section. 

----- Original Message -----

From: "Justin Mclean" <ju...@classsoftware.com> 
To: users@flex.apache.org 
Sent: Thursday, October 24, 2013 6:12:20 PM 
Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history 

Looks like you have created 4 jira issues mind marking 3 as duplicates? 


Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history

Posted by Justin Mclean <ju...@classsoftware.com>.
Looks like you have created 4 jira issues mind marking 3 as duplicates?

Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history

Posted by mo...@comcast.net.
Thanks so much Om, 

Using the nightly build, I verified the latest code below is a bug that hasn't been fixed yet. 

I tried creating an issue on JIRA twice, but twice the system thought for a few minutes then stopped, leaving the form page showing. I don't *think* it did anything. 

Should I just keep clicking the Create button until the form screen goes away? Or, is this normal behavior, and the issue was created? In a separate window for viewing my JIRA issues, I don't see the issue showing up yet. 

----- Original Message -----

From: "OmPrakash Muppirala" <bi...@gmail.com> 
To: users@flex.apache.org 
Sent: Thursday, October 24, 2013 4:53:27 PM 
Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history 

The nightly builds are now called 4.12.0. I fixed the Installer config xml 
to reflect this change. Please try again with the Installer. It should 
work. 

Thanks, 
Om 

On Thu, Oct 24, 2013 at 4:46 PM, <mo...@comcast.net> wrote: 

> Thanks Om, My attempt to download the nightly build produced this log file: 
> 
> 
> Version 2.6.0 (mac) 
> Version 2.6.0 (mac) 
> Fetched the SDK download mirror URL from the CGI. 
> Fetched the SDK download mirror URL from the CGI. 
> AIR version 3.8 
> Flash Player version 11.8 
> Creating Apache Flex home 
> Creating temporary directory 
> Downloading Apache Flex SDK from: 
> https://builds.apache.org/job/flex-sdk_release/lastSuccessfulBuild/artifact/out/apache-flex-sdk-4.11.0-bin.tar.gz 
> Unable to download Apache Flex SDK 
> Installation aborted 
> I uninstalled the Apache Flex Installer, re-installed it, and tried again, 
> with same result. Any idea what could be going on? 
> 
> ----- Original Message ----- 
> 
> From: "OmPrakash Muppirala" <bi...@gmail.com> 
> To: users@flex.apache.org 
> Sent: Thursday, October 24, 2013 4:28:48 PM 
> Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior 
> changes based on app's state history 
> 
> On Thu, Oct 24, 2013 at 4:26 PM, <mo...@comcast.net> wrote: 
> 
> > Hi Alex, As you indicated in the case, the fix didn't make it into 4.11 
> > rc2: "RC2 has been cut without a fix and will probably be the actual 
> > release." What's the easiest way for me to test? (I'm not familiar with 
> Ant 
> > or other scripts to compile myself) 
> > 
> > 
> You could use the installer from: flex.apache.org/installer.html and 
> select 
> the nightly build from the Flex SDK dropdown. 
> 
> Thanks, 
> Om 
> 
> 
> > ----- Original Message ----- 
> > 
> > From: "Alex Harui" <ah...@adobe.com> 
> > To: users@flex.apache.org 
> > Sent: Thursday, October 24, 2013 2:01:50 PM 
> > Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior 
> > changes based on app's state history 
> > 
> > It would be best if you get 4.11 and test the fix for FLEX-33830 and 
> close 
> > the bug if it is. Generally, it is the bug filer's responsibility to 
> > verify fixes. 
> > 
> > And then that will mean you have 4.11 so you can see if it fixes this 
> > issue as well. 
> > 
> > -Alex 
> > 
> > On 10/24/13 10:49 AM, "modjklist@comcast.net" <mo...@comcast.net> 
> > wrote: 
> > 
> > >Hi Alex, I wonder if the fix you made for this case 
> > > 
> > >https://issues.apache.org/jira/browse/FLEX-33830 
> > > 
> > >also fixes the following bug I'm seeing with spark datagrid, in this 
> > >case, used as child of DividedBox. Can you run this simple test with the 
> > >latest build containing all the fixes, and let me know if this is a new 
> > >bug or not? If new, I'll enter a JIRA. Thanks 
> > > 
> > > 
> > > 
> > ><?xml version="1.0" encoding="utf-8"?> 
> > ><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
> > >xmlns:s="library://ns.adobe.com/flex/spark" 
> > >xmlns:mx="library://ns.adobe.com/flex/mx" 
> > >minWidth="600" minHeight="600"> 
> > > 
> > ><fx:Declarations> 
> > ><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the 
> > >typesetting industry.</fx:String> 
> > ></fx:Declarations> 
> > > 
> > ><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30"> 
> > > 
> > ><s:Label text="1. Click and drag divider bar lower to shrink height of 
> > >datagrid"/> 
> > ><s:Label text=" to display about 1.5 rows."/> 
> > ><s:Label text="2. Notice the HorizontalScrollBar disappears for certain 
> > >heights."/> 
> > > 
> > ><mx:DividedBox backgroundColor="0xaa0000" > 
> > ><s:TextArea height="30" width="300" text="This is a text area."/> 
> > ><s:DataGrid id="dg1" width="300"> 
> > > 
> > ><s:columns> 
> > ><s:ArrayList> 
> > ><s:GridColumn dataField="value" headerText="Column 1" width="200"/> 
> > ><s:GridColumn dataField="value" headerText="Column 2" width="200"/> 
> > ></s:ArrayList> 
> > ></s:columns> 
> > > 
> > ><s:ArrayCollection> 
> > ><s:DataItem value="{sampleText}"/> 
> > ><s:DataItem value="{sampleText}"/> 
> > ><s:DataItem value="{sampleText}"/> 
> > ></s:ArrayCollection> 
> > > 
> > ></s:DataGrid> 
> > ></mx:DividedBox> 
> > > 
> > > 
> > ></s:VGroup> 
> > ></s:Application> 
> > > 
> > >----- Original Message ----- 
> > > 
> > >From: modjklist@comcast.net 
> > >To: users@flex.apache.org 
> > >Sent: Thursday, October 17, 2013 8:55:30 AM 
> > >Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior 
> > >changes based on app's state history 
> > > 
> > >Thanks Justin, I didn't see anything in JIRA for this, so I entered it 
> as 
> > >case FLEX-33830. 
> > > 
> > >https://issues.apache.org/jira/browse/FLEX-33830 
> > > 
> > > 
> > > 
> > ><?xml version="1.0" encoding="utf-8"?> 
> > ><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
> > >xmlns:s="library://ns.adobe.com/flex/spark" 
> > >xmlns:mx="library://ns.adobe.com/flex/mx" 
> > >minWidth="600" minHeight="600"> 
> > > 
> > ><fx:Declarations> 
> > ><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the 
> > >typesetting industry.</fx:String> 
> > ></fx:Declarations> 
> > > 
> > ><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30"> 
> > > 
> > ><s:Label text="1. Click and drag divider bar lower to shrink height of 
> > >datagrid"/> 
> > ><s:Label text=" to display about 1.5 rows."/> 
> > ><s:Label text="2. Notice the HorizontalScrollBar disappears for certain 
> > >heights."/> 
> > > 
> > ><mx:DividedBox backgroundColor="0xaa0000" > 
> > ><s:TextArea height="30" width="300" text="This is a text area."/> 
> > ><s:DataGrid id="dg1" width="300"> 
> > > 
> > ><s:columns> 
> > ><s:ArrayList> 
> > ><s:GridColumn dataField="value" headerText="Column 1" width="200"/> 
> > ><s:GridColumn dataField="value" headerText="Column 2" width="200"/> 
> > ></s:ArrayList> 
> > ></s:columns> 
> > > 
> > ><s:ArrayCollection> 
> > ><s:DataItem value="{sampleText}"/> 
> > ><s:DataItem value="{sampleText}"/> 
> > ><s:DataItem value="{sampleText}"/> 
> > ></s:ArrayCollection> 
> > > 
> > ></s:DataGrid> 
> > ></mx:DividedBox> 
> > > 
> > > 
> > ></s:VGroup> 
> > ></s:Application> 
> > > 
> > >----- Original Message ----- 
> > > 
> > >From: "Justin Mclean" <ju...@classsoftware.com> 
> > >To: users@flex.apache.org 
> > >Sent: Wednesday, October 16, 2013 5:41:23 PM 
> > >Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior 
> > >changes based on app's state history 
> > > 
> > >Hi, 
> > > 
> > >> Can someone confirm if this is a bug (I'm assuming one bug, but let me 
> > >>know if you think it's two)? 
> > >> 
> > >> If so, I'll enter into JIRA... 
> > > 
> > >Can confirm (and not fixed in 4.11) please enter it in JIRA. 
> > > 
> > >Think this issue may of come up before, you might want to search JIRA 
> > >first to see if it's already in there. 
> > > 
> > >Thanks, 
> > >Justin 
> > > 
> > > 
> > 
> > 
> > 
> 
> 


Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history

Posted by OmPrakash Muppirala <bi...@gmail.com>.
The nightly builds are now called 4.12.0.  I fixed the Installer config xml
to reflect this change.  Please try again with the Installer.  It should
work.

Thanks,
Om

On Thu, Oct 24, 2013 at 4:46 PM, <mo...@comcast.net> wrote:

> Thanks Om, My attempt to download the nightly build produced this log file:
>
>
> Version 2.6.0 (mac)
> Version 2.6.0 (mac)
> Fetched the SDK download mirror URL from the CGI.
> Fetched the SDK download mirror URL from the CGI.
> AIR version 3.8
> Flash Player version 11.8
> Creating Apache Flex home
> Creating temporary directory
> Downloading Apache Flex SDK from:
> https://builds.apache.org/job/flex-sdk_release/lastSuccessfulBuild/artifact/out/apache-flex-sdk-4.11.0-bin.tar.gz
> Unable to download Apache Flex SDK
> Installation aborted
> I uninstalled the Apache Flex Installer, re-installed it, and tried again,
> with same result. Any idea what could be going on?
>
> ----- Original Message -----
>
> From: "OmPrakash Muppirala" <bi...@gmail.com>
> To: users@flex.apache.org
> Sent: Thursday, October 24, 2013 4:28:48 PM
> Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior
> changes based on app's state history
>
> On Thu, Oct 24, 2013 at 4:26 PM, <mo...@comcast.net> wrote:
>
> > Hi Alex, As you indicated in the case, the fix didn't make it into 4.11
> > rc2: "RC2 has been cut without a fix and will probably be the actual
> > release." What's the easiest way for me to test? (I'm not familiar with
> Ant
> > or other scripts to compile myself)
> >
> >
> You could use the installer from: flex.apache.org/installer.html and
> select
> the nightly build from the Flex SDK dropdown.
>
> Thanks,
> Om
>
>
> > ----- Original Message -----
> >
> > From: "Alex Harui" <ah...@adobe.com>
> > To: users@flex.apache.org
> > Sent: Thursday, October 24, 2013 2:01:50 PM
> > Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior
> > changes based on app's state history
> >
> > It would be best if you get 4.11 and test the fix for FLEX-33830 and
> close
> > the bug if it is. Generally, it is the bug filer's responsibility to
> > verify fixes.
> >
> > And then that will mean you have 4.11 so you can see if it fixes this
> > issue as well.
> >
> > -Alex
> >
> > On 10/24/13 10:49 AM, "modjklist@comcast.net" <mo...@comcast.net>
> > wrote:
> >
> > >Hi Alex, I wonder if the fix you made for this case
> > >
> > >https://issues.apache.org/jira/browse/FLEX-33830
> > >
> > >also fixes the following bug I'm seeing with spark datagrid, in this
> > >case, used as child of DividedBox. Can you run this simple test with the
> > >latest build containing all the fixes, and let me know if this is a new
> > >bug or not? If new, I'll enter a JIRA. Thanks
> > >
> > >
> > >
> > ><?xml version="1.0" encoding="utf-8"?>
> > ><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> > >xmlns:s="library://ns.adobe.com/flex/spark"
> > >xmlns:mx="library://ns.adobe.com/flex/mx"
> > >minWidth="600" minHeight="600">
> > >
> > ><fx:Declarations>
> > ><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the
> > >typesetting industry.</fx:String>
> > ></fx:Declarations>
> > >
> > ><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30">
> > >
> > ><s:Label text="1. Click and drag divider bar lower to shrink height of
> > >datagrid"/>
> > ><s:Label text=" to display about 1.5 rows."/>
> > ><s:Label text="2. Notice the HorizontalScrollBar disappears for certain
> > >heights."/>
> > >
> > ><mx:DividedBox backgroundColor="0xaa0000" >
> > ><s:TextArea height="30" width="300" text="This is a text area."/>
> > ><s:DataGrid id="dg1" width="300">
> > >
> > ><s:columns>
> > ><s:ArrayList>
> > ><s:GridColumn dataField="value" headerText="Column 1" width="200"/>
> > ><s:GridColumn dataField="value" headerText="Column 2" width="200"/>
> > ></s:ArrayList>
> > ></s:columns>
> > >
> > ><s:ArrayCollection>
> > ><s:DataItem value="{sampleText}"/>
> > ><s:DataItem value="{sampleText}"/>
> > ><s:DataItem value="{sampleText}"/>
> > ></s:ArrayCollection>
> > >
> > ></s:DataGrid>
> > ></mx:DividedBox>
> > >
> > >
> > ></s:VGroup>
> > ></s:Application>
> > >
> > >----- Original Message -----
> > >
> > >From: modjklist@comcast.net
> > >To: users@flex.apache.org
> > >Sent: Thursday, October 17, 2013 8:55:30 AM
> > >Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior
> > >changes based on app's state history
> > >
> > >Thanks Justin, I didn't see anything in JIRA for this, so I entered it
> as
> > >case FLEX-33830.
> > >
> > >https://issues.apache.org/jira/browse/FLEX-33830
> > >
> > >
> > >
> > ><?xml version="1.0" encoding="utf-8"?>
> > ><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> > >xmlns:s="library://ns.adobe.com/flex/spark"
> > >xmlns:mx="library://ns.adobe.com/flex/mx"
> > >minWidth="600" minHeight="600">
> > >
> > ><fx:Declarations>
> > ><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the
> > >typesetting industry.</fx:String>
> > ></fx:Declarations>
> > >
> > ><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30">
> > >
> > ><s:Label text="1. Click and drag divider bar lower to shrink height of
> > >datagrid"/>
> > ><s:Label text=" to display about 1.5 rows."/>
> > ><s:Label text="2. Notice the HorizontalScrollBar disappears for certain
> > >heights."/>
> > >
> > ><mx:DividedBox backgroundColor="0xaa0000" >
> > ><s:TextArea height="30" width="300" text="This is a text area."/>
> > ><s:DataGrid id="dg1" width="300">
> > >
> > ><s:columns>
> > ><s:ArrayList>
> > ><s:GridColumn dataField="value" headerText="Column 1" width="200"/>
> > ><s:GridColumn dataField="value" headerText="Column 2" width="200"/>
> > ></s:ArrayList>
> > ></s:columns>
> > >
> > ><s:ArrayCollection>
> > ><s:DataItem value="{sampleText}"/>
> > ><s:DataItem value="{sampleText}"/>
> > ><s:DataItem value="{sampleText}"/>
> > ></s:ArrayCollection>
> > >
> > ></s:DataGrid>
> > ></mx:DividedBox>
> > >
> > >
> > ></s:VGroup>
> > ></s:Application>
> > >
> > >----- Original Message -----
> > >
> > >From: "Justin Mclean" <ju...@classsoftware.com>
> > >To: users@flex.apache.org
> > >Sent: Wednesday, October 16, 2013 5:41:23 PM
> > >Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior
> > >changes based on app's state history
> > >
> > >Hi,
> > >
> > >> Can someone confirm if this is a bug (I'm assuming one bug, but let me
> > >>know if you think it's two)?
> > >>
> > >> If so, I'll enter into JIRA...
> > >
> > >Can confirm (and not fixed in 4.11) please enter it in JIRA.
> > >
> > >Think this issue may of come up before, you might want to search JIRA
> > >first to see if it's already in there.
> > >
> > >Thanks,
> > >Justin
> > >
> > >
> >
> >
> >
>
>

Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history

Posted by mo...@comcast.net.
Thanks Om, My attempt to download the nightly build produced this log file: 


Version 2.6.0 (mac) 
Version 2.6.0 (mac) 
Fetched the SDK download mirror URL from the CGI. 
Fetched the SDK download mirror URL from the CGI. 
AIR version 3.8 
Flash Player version 11.8 
Creating Apache Flex home 
Creating temporary directory 
Downloading Apache Flex SDK from: https://builds.apache.org/job/flex-sdk_release/lastSuccessfulBuild/artifact/out/apache-flex-sdk-4.11.0-bin.tar.gz 
Unable to download Apache Flex SDK 
Installation aborted 
I uninstalled the Apache Flex Installer, re-installed it, and tried again, with same result. Any idea what could be going on? 

----- Original Message -----

From: "OmPrakash Muppirala" <bi...@gmail.com> 
To: users@flex.apache.org 
Sent: Thursday, October 24, 2013 4:28:48 PM 
Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history 

On Thu, Oct 24, 2013 at 4:26 PM, <mo...@comcast.net> wrote: 

> Hi Alex, As you indicated in the case, the fix didn't make it into 4.11 
> rc2: "RC2 has been cut without a fix and will probably be the actual 
> release." What's the easiest way for me to test? (I'm not familiar with Ant 
> or other scripts to compile myself) 
> 
> 
You could use the installer from: flex.apache.org/installer.html and select 
the nightly build from the Flex SDK dropdown. 

Thanks, 
Om 


> ----- Original Message ----- 
> 
> From: "Alex Harui" <ah...@adobe.com> 
> To: users@flex.apache.org 
> Sent: Thursday, October 24, 2013 2:01:50 PM 
> Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior 
> changes based on app's state history 
> 
> It would be best if you get 4.11 and test the fix for FLEX-33830 and close 
> the bug if it is. Generally, it is the bug filer's responsibility to 
> verify fixes. 
> 
> And then that will mean you have 4.11 so you can see if it fixes this 
> issue as well. 
> 
> -Alex 
> 
> On 10/24/13 10:49 AM, "modjklist@comcast.net" <mo...@comcast.net> 
> wrote: 
> 
> >Hi Alex, I wonder if the fix you made for this case 
> > 
> >https://issues.apache.org/jira/browse/FLEX-33830 
> > 
> >also fixes the following bug I'm seeing with spark datagrid, in this 
> >case, used as child of DividedBox. Can you run this simple test with the 
> >latest build containing all the fixes, and let me know if this is a new 
> >bug or not? If new, I'll enter a JIRA. Thanks 
> > 
> > 
> > 
> ><?xml version="1.0" encoding="utf-8"?> 
> ><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
> >xmlns:s="library://ns.adobe.com/flex/spark" 
> >xmlns:mx="library://ns.adobe.com/flex/mx" 
> >minWidth="600" minHeight="600"> 
> > 
> ><fx:Declarations> 
> ><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the 
> >typesetting industry.</fx:String> 
> ></fx:Declarations> 
> > 
> ><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30"> 
> > 
> ><s:Label text="1. Click and drag divider bar lower to shrink height of 
> >datagrid"/> 
> ><s:Label text=" to display about 1.5 rows."/> 
> ><s:Label text="2. Notice the HorizontalScrollBar disappears for certain 
> >heights."/> 
> > 
> ><mx:DividedBox backgroundColor="0xaa0000" > 
> ><s:TextArea height="30" width="300" text="This is a text area."/> 
> ><s:DataGrid id="dg1" width="300"> 
> > 
> ><s:columns> 
> ><s:ArrayList> 
> ><s:GridColumn dataField="value" headerText="Column 1" width="200"/> 
> ><s:GridColumn dataField="value" headerText="Column 2" width="200"/> 
> ></s:ArrayList> 
> ></s:columns> 
> > 
> ><s:ArrayCollection> 
> ><s:DataItem value="{sampleText}"/> 
> ><s:DataItem value="{sampleText}"/> 
> ><s:DataItem value="{sampleText}"/> 
> ></s:ArrayCollection> 
> > 
> ></s:DataGrid> 
> ></mx:DividedBox> 
> > 
> > 
> ></s:VGroup> 
> ></s:Application> 
> > 
> >----- Original Message ----- 
> > 
> >From: modjklist@comcast.net 
> >To: users@flex.apache.org 
> >Sent: Thursday, October 17, 2013 8:55:30 AM 
> >Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior 
> >changes based on app's state history 
> > 
> >Thanks Justin, I didn't see anything in JIRA for this, so I entered it as 
> >case FLEX-33830. 
> > 
> >https://issues.apache.org/jira/browse/FLEX-33830 
> > 
> > 
> > 
> ><?xml version="1.0" encoding="utf-8"?> 
> ><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
> >xmlns:s="library://ns.adobe.com/flex/spark" 
> >xmlns:mx="library://ns.adobe.com/flex/mx" 
> >minWidth="600" minHeight="600"> 
> > 
> ><fx:Declarations> 
> ><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the 
> >typesetting industry.</fx:String> 
> ></fx:Declarations> 
> > 
> ><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30"> 
> > 
> ><s:Label text="1. Click and drag divider bar lower to shrink height of 
> >datagrid"/> 
> ><s:Label text=" to display about 1.5 rows."/> 
> ><s:Label text="2. Notice the HorizontalScrollBar disappears for certain 
> >heights."/> 
> > 
> ><mx:DividedBox backgroundColor="0xaa0000" > 
> ><s:TextArea height="30" width="300" text="This is a text area."/> 
> ><s:DataGrid id="dg1" width="300"> 
> > 
> ><s:columns> 
> ><s:ArrayList> 
> ><s:GridColumn dataField="value" headerText="Column 1" width="200"/> 
> ><s:GridColumn dataField="value" headerText="Column 2" width="200"/> 
> ></s:ArrayList> 
> ></s:columns> 
> > 
> ><s:ArrayCollection> 
> ><s:DataItem value="{sampleText}"/> 
> ><s:DataItem value="{sampleText}"/> 
> ><s:DataItem value="{sampleText}"/> 
> ></s:ArrayCollection> 
> > 
> ></s:DataGrid> 
> ></mx:DividedBox> 
> > 
> > 
> ></s:VGroup> 
> ></s:Application> 
> > 
> >----- Original Message ----- 
> > 
> >From: "Justin Mclean" <ju...@classsoftware.com> 
> >To: users@flex.apache.org 
> >Sent: Wednesday, October 16, 2013 5:41:23 PM 
> >Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior 
> >changes based on app's state history 
> > 
> >Hi, 
> > 
> >> Can someone confirm if this is a bug (I'm assuming one bug, but let me 
> >>know if you think it's two)? 
> >> 
> >> If so, I'll enter into JIRA... 
> > 
> >Can confirm (and not fixed in 4.11) please enter it in JIRA. 
> > 
> >Think this issue may of come up before, you might want to search JIRA 
> >first to see if it's already in there. 
> > 
> >Thanks, 
> >Justin 
> > 
> > 
> 
> 
> 


Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history

Posted by OmPrakash Muppirala <bi...@gmail.com>.
On Thu, Oct 24, 2013 at 4:26 PM, <mo...@comcast.net> wrote:

> Hi Alex, As you indicated in the case, the fix didn't make it into 4.11
> rc2: "RC2 has been cut without a fix and will probably be the actual
> release." What's the easiest way for me to test? (I'm not familiar with Ant
> or other scripts to compile myself)
>
>
You could use the installer from: flex.apache.org/installer.html and select
the nightly build from the Flex SDK dropdown.

Thanks,
Om


> ----- Original Message -----
>
> From: "Alex Harui" <ah...@adobe.com>
> To: users@flex.apache.org
> Sent: Thursday, October 24, 2013 2:01:50 PM
> Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior
> changes based on app's state history
>
> It would be best if you get 4.11 and test the fix for FLEX-33830 and close
> the bug if it is. Generally, it is the bug filer's responsibility to
> verify fixes.
>
> And then that will mean you have 4.11 so you can see if it fixes this
> issue as well.
>
> -Alex
>
> On 10/24/13 10:49 AM, "modjklist@comcast.net" <mo...@comcast.net>
> wrote:
>
> >Hi Alex, I wonder if the fix you made for this case
> >
> >https://issues.apache.org/jira/browse/FLEX-33830
> >
> >also fixes the following bug I'm seeing with spark datagrid, in this
> >case, used as child of DividedBox. Can you run this simple test with the
> >latest build containing all the fixes, and let me know if this is a new
> >bug or not? If new, I'll enter a JIRA. Thanks
> >
> >
> >
> ><?xml version="1.0" encoding="utf-8"?>
> ><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> >xmlns:s="library://ns.adobe.com/flex/spark"
> >xmlns:mx="library://ns.adobe.com/flex/mx"
> >minWidth="600" minHeight="600">
> >
> ><fx:Declarations>
> ><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the
> >typesetting industry.</fx:String>
> ></fx:Declarations>
> >
> ><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30">
> >
> ><s:Label text="1. Click and drag divider bar lower to shrink height of
> >datagrid"/>
> ><s:Label text=" to display about 1.5 rows."/>
> ><s:Label text="2. Notice the HorizontalScrollBar disappears for certain
> >heights."/>
> >
> ><mx:DividedBox backgroundColor="0xaa0000" >
> ><s:TextArea height="30" width="300" text="This is a text area."/>
> ><s:DataGrid id="dg1" width="300">
> >
> ><s:columns>
> ><s:ArrayList>
> ><s:GridColumn dataField="value" headerText="Column 1" width="200"/>
> ><s:GridColumn dataField="value" headerText="Column 2" width="200"/>
> ></s:ArrayList>
> ></s:columns>
> >
> ><s:ArrayCollection>
> ><s:DataItem value="{sampleText}"/>
> ><s:DataItem value="{sampleText}"/>
> ><s:DataItem value="{sampleText}"/>
> ></s:ArrayCollection>
> >
> ></s:DataGrid>
> ></mx:DividedBox>
> >
> >
> ></s:VGroup>
> ></s:Application>
> >
> >----- Original Message -----
> >
> >From: modjklist@comcast.net
> >To: users@flex.apache.org
> >Sent: Thursday, October 17, 2013 8:55:30 AM
> >Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior
> >changes based on app's state history
> >
> >Thanks Justin, I didn't see anything in JIRA for this, so I entered it as
> >case FLEX-33830.
> >
> >https://issues.apache.org/jira/browse/FLEX-33830
> >
> >
> >
> ><?xml version="1.0" encoding="utf-8"?>
> ><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> >xmlns:s="library://ns.adobe.com/flex/spark"
> >xmlns:mx="library://ns.adobe.com/flex/mx"
> >minWidth="600" minHeight="600">
> >
> ><fx:Declarations>
> ><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the
> >typesetting industry.</fx:String>
> ></fx:Declarations>
> >
> ><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30">
> >
> ><s:Label text="1. Click and drag divider bar lower to shrink height of
> >datagrid"/>
> ><s:Label text=" to display about 1.5 rows."/>
> ><s:Label text="2. Notice the HorizontalScrollBar disappears for certain
> >heights."/>
> >
> ><mx:DividedBox backgroundColor="0xaa0000" >
> ><s:TextArea height="30" width="300" text="This is a text area."/>
> ><s:DataGrid id="dg1" width="300">
> >
> ><s:columns>
> ><s:ArrayList>
> ><s:GridColumn dataField="value" headerText="Column 1" width="200"/>
> ><s:GridColumn dataField="value" headerText="Column 2" width="200"/>
> ></s:ArrayList>
> ></s:columns>
> >
> ><s:ArrayCollection>
> ><s:DataItem value="{sampleText}"/>
> ><s:DataItem value="{sampleText}"/>
> ><s:DataItem value="{sampleText}"/>
> ></s:ArrayCollection>
> >
> ></s:DataGrid>
> ></mx:DividedBox>
> >
> >
> ></s:VGroup>
> ></s:Application>
> >
> >----- Original Message -----
> >
> >From: "Justin Mclean" <ju...@classsoftware.com>
> >To: users@flex.apache.org
> >Sent: Wednesday, October 16, 2013 5:41:23 PM
> >Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior
> >changes based on app's state history
> >
> >Hi,
> >
> >> Can someone confirm if this is a bug (I'm assuming one bug, but let me
> >>know if you think it's two)?
> >>
> >> If so, I'll enter into JIRA...
> >
> >Can confirm (and not fixed in 4.11) please enter it in JIRA.
> >
> >Think this issue may of come up before, you might want to search JIRA
> >first to see if it's already in there.
> >
> >Thanks,
> >Justin
> >
> >
>
>
>

Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history

Posted by Alex Harui <ah...@adobe.com>.
Ah, right, sorry about that.

The comments in the bug propose a workaround which is to call styleChanged
on the HScrollBar.  You could simply try that workaround (hook it up to a
button instead of a stateChange/updateComplete) and see if it makes a
difference.

-Alex

On 10/24/13 4:26 PM, "modjklist@comcast.net" <mo...@comcast.net> wrote:

>Hi Alex, As you indicated in the case, the fix didn't make it into 4.11
>rc2: "RC2 has been cut without a fix and will probably be the actual
>release." What's the easiest way for me to test? (I'm not familiar with
>Ant or other scripts to compile myself)
>
>----- Original Message -----
>
>From: "Alex Harui" <ah...@adobe.com>
>To: users@flex.apache.org
>Sent: Thursday, October 24, 2013 2:01:50 PM
>Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior
>changes based on app's state history
>
>It would be best if you get 4.11 and test the fix for FLEX-33830 and
>close 
>the bug if it is. Generally, it is the bug filer's responsibility to
>verify fixes. 
>
>And then that will mean you have 4.11 so you can see if it fixes this
>issue as well. 
>
>-Alex 
>
>On 10/24/13 10:49 AM, "modjklist@comcast.net" <mo...@comcast.net>
>wrote: 
>
>>Hi Alex, I wonder if the fix you made for this case
>> 
>>https://issues.apache.org/jira/browse/FLEX-33830
>> 
>>also fixes the following bug I'm seeing with spark datagrid, in this
>>case, used as child of DividedBox. Can you run this simple test with the
>>latest build containing all the fixes, and let me know if this is a new
>>bug or not? If new, I'll enter a JIRA. Thanks
>> 
>> 
>> 
>><?xml version="1.0" encoding="utf-8"?>
>><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>>xmlns:s="library://ns.adobe.com/flex/spark"
>>xmlns:mx="library://ns.adobe.com/flex/mx"
>>minWidth="600" minHeight="600">
>> 
>><fx:Declarations>
>><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the
>>typesetting industry.</fx:String>
>></fx:Declarations>
>> 
>><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30">
>> 
>><s:Label text="1. Click and drag divider bar lower to shrink height of
>>datagrid"/> 
>><s:Label text=" to display about 1.5 rows."/>
>><s:Label text="2. Notice the HorizontalScrollBar disappears for certain
>>heights."/> 
>> 
>><mx:DividedBox backgroundColor="0xaa0000" >
>><s:TextArea height="30" width="300" text="This is a text area."/>
>><s:DataGrid id="dg1" width="300">
>> 
>><s:columns> 
>><s:ArrayList> 
>><s:GridColumn dataField="value" headerText="Column 1" width="200"/>
>><s:GridColumn dataField="value" headerText="Column 2" width="200"/>
>></s:ArrayList> 
>></s:columns> 
>> 
>><s:ArrayCollection>
>><s:DataItem value="{sampleText}"/>
>><s:DataItem value="{sampleText}"/>
>><s:DataItem value="{sampleText}"/>
>></s:ArrayCollection>
>> 
>></s:DataGrid> 
>></mx:DividedBox> 
>> 
>> 
>></s:VGroup> 
>></s:Application> 
>> 
>>----- Original Message -----
>> 
>>From: modjklist@comcast.net
>>To: users@flex.apache.org
>>Sent: Thursday, October 17, 2013 8:55:30 AM
>>Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior
>>changes based on app's state history
>> 
>>Thanks Justin, I didn't see anything in JIRA for this, so I entered it
>>as 
>>case FLEX-33830. 
>> 
>>https://issues.apache.org/jira/browse/FLEX-33830
>> 
>> 
>> 
>><?xml version="1.0" encoding="utf-8"?>
>><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>>xmlns:s="library://ns.adobe.com/flex/spark"
>>xmlns:mx="library://ns.adobe.com/flex/mx"
>>minWidth="600" minHeight="600">
>> 
>><fx:Declarations>
>><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the
>>typesetting industry.</fx:String>
>></fx:Declarations>
>> 
>><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30">
>> 
>><s:Label text="1. Click and drag divider bar lower to shrink height of
>>datagrid"/> 
>><s:Label text=" to display about 1.5 rows."/>
>><s:Label text="2. Notice the HorizontalScrollBar disappears for certain
>>heights."/> 
>> 
>><mx:DividedBox backgroundColor="0xaa0000" >
>><s:TextArea height="30" width="300" text="This is a text area."/>
>><s:DataGrid id="dg1" width="300">
>> 
>><s:columns> 
>><s:ArrayList> 
>><s:GridColumn dataField="value" headerText="Column 1" width="200"/>
>><s:GridColumn dataField="value" headerText="Column 2" width="200"/>
>></s:ArrayList> 
>></s:columns> 
>> 
>><s:ArrayCollection>
>><s:DataItem value="{sampleText}"/>
>><s:DataItem value="{sampleText}"/>
>><s:DataItem value="{sampleText}"/>
>></s:ArrayCollection>
>> 
>></s:DataGrid> 
>></mx:DividedBox> 
>> 
>> 
>></s:VGroup> 
>></s:Application> 
>> 
>>----- Original Message -----
>> 
>>From: "Justin Mclean" <ju...@classsoftware.com>
>>To: users@flex.apache.org
>>Sent: Wednesday, October 16, 2013 5:41:23 PM
>>Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior
>>changes based on app's state history
>> 
>>Hi, 
>> 
>>> Can someone confirm if this is a bug (I'm assuming one bug, but let me
>>>know if you think it's two)?
>>> 
>>> If so, I'll enter into JIRA...
>> 
>>Can confirm (and not fixed in 4.11) please enter it in JIRA.
>> 
>>Think this issue may of come up before, you might want to search JIRA
>>first to see if it's already in there.
>> 
>>Thanks, 
>>Justin 
>> 
>> 
>
>


Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history

Posted by mo...@comcast.net.
Hi Alex, As you indicated in the case, the fix didn't make it into 4.11 rc2: "RC2 has been cut without a fix and will probably be the actual release." What's the easiest way for me to test? (I'm not familiar with Ant or other scripts to compile myself) 

----- Original Message -----

From: "Alex Harui" <ah...@adobe.com> 
To: users@flex.apache.org 
Sent: Thursday, October 24, 2013 2:01:50 PM 
Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history 

It would be best if you get 4.11 and test the fix for FLEX-33830 and close 
the bug if it is. Generally, it is the bug filer's responsibility to 
verify fixes. 

And then that will mean you have 4.11 so you can see if it fixes this 
issue as well. 

-Alex 

On 10/24/13 10:49 AM, "modjklist@comcast.net" <mo...@comcast.net> 
wrote: 

>Hi Alex, I wonder if the fix you made for this case 
> 
>https://issues.apache.org/jira/browse/FLEX-33830 
> 
>also fixes the following bug I'm seeing with spark datagrid, in this 
>case, used as child of DividedBox. Can you run this simple test with the 
>latest build containing all the fixes, and let me know if this is a new 
>bug or not? If new, I'll enter a JIRA. Thanks 
> 
> 
> 
><?xml version="1.0" encoding="utf-8"?> 
><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
>xmlns:s="library://ns.adobe.com/flex/spark" 
>xmlns:mx="library://ns.adobe.com/flex/mx" 
>minWidth="600" minHeight="600"> 
> 
><fx:Declarations> 
><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the 
>typesetting industry.</fx:String> 
></fx:Declarations> 
> 
><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30"> 
> 
><s:Label text="1. Click and drag divider bar lower to shrink height of 
>datagrid"/> 
><s:Label text=" to display about 1.5 rows."/> 
><s:Label text="2. Notice the HorizontalScrollBar disappears for certain 
>heights."/> 
> 
><mx:DividedBox backgroundColor="0xaa0000" > 
><s:TextArea height="30" width="300" text="This is a text area."/> 
><s:DataGrid id="dg1" width="300"> 
> 
><s:columns> 
><s:ArrayList> 
><s:GridColumn dataField="value" headerText="Column 1" width="200"/> 
><s:GridColumn dataField="value" headerText="Column 2" width="200"/> 
></s:ArrayList> 
></s:columns> 
> 
><s:ArrayCollection> 
><s:DataItem value="{sampleText}"/> 
><s:DataItem value="{sampleText}"/> 
><s:DataItem value="{sampleText}"/> 
></s:ArrayCollection> 
> 
></s:DataGrid> 
></mx:DividedBox> 
> 
> 
></s:VGroup> 
></s:Application> 
> 
>----- Original Message ----- 
> 
>From: modjklist@comcast.net 
>To: users@flex.apache.org 
>Sent: Thursday, October 17, 2013 8:55:30 AM 
>Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior 
>changes based on app's state history 
> 
>Thanks Justin, I didn't see anything in JIRA for this, so I entered it as 
>case FLEX-33830. 
> 
>https://issues.apache.org/jira/browse/FLEX-33830 
> 
> 
> 
><?xml version="1.0" encoding="utf-8"?> 
><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
>xmlns:s="library://ns.adobe.com/flex/spark" 
>xmlns:mx="library://ns.adobe.com/flex/mx" 
>minWidth="600" minHeight="600"> 
> 
><fx:Declarations> 
><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the 
>typesetting industry.</fx:String> 
></fx:Declarations> 
> 
><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30"> 
> 
><s:Label text="1. Click and drag divider bar lower to shrink height of 
>datagrid"/> 
><s:Label text=" to display about 1.5 rows."/> 
><s:Label text="2. Notice the HorizontalScrollBar disappears for certain 
>heights."/> 
> 
><mx:DividedBox backgroundColor="0xaa0000" > 
><s:TextArea height="30" width="300" text="This is a text area."/> 
><s:DataGrid id="dg1" width="300"> 
> 
><s:columns> 
><s:ArrayList> 
><s:GridColumn dataField="value" headerText="Column 1" width="200"/> 
><s:GridColumn dataField="value" headerText="Column 2" width="200"/> 
></s:ArrayList> 
></s:columns> 
> 
><s:ArrayCollection> 
><s:DataItem value="{sampleText}"/> 
><s:DataItem value="{sampleText}"/> 
><s:DataItem value="{sampleText}"/> 
></s:ArrayCollection> 
> 
></s:DataGrid> 
></mx:DividedBox> 
> 
> 
></s:VGroup> 
></s:Application> 
> 
>----- Original Message ----- 
> 
>From: "Justin Mclean" <ju...@classsoftware.com> 
>To: users@flex.apache.org 
>Sent: Wednesday, October 16, 2013 5:41:23 PM 
>Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior 
>changes based on app's state history 
> 
>Hi, 
> 
>> Can someone confirm if this is a bug (I'm assuming one bug, but let me 
>>know if you think it's two)? 
>> 
>> If so, I'll enter into JIRA... 
> 
>Can confirm (and not fixed in 4.11) please enter it in JIRA. 
> 
>Think this issue may of come up before, you might want to search JIRA 
>first to see if it's already in there. 
> 
>Thanks, 
>Justin 
> 
> 



Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history

Posted by Alex Harui <ah...@adobe.com>.
It would be best if you get 4.11 and test the fix for FLEX-33830 and close
the bug if it is.  Generally, it is the bug filer's responsibility to
verify fixes.

And then that will mean you have 4.11 so you can see if it fixes this
issue as well.

-Alex

On 10/24/13 10:49 AM, "modjklist@comcast.net" <mo...@comcast.net>
wrote:

>Hi Alex, I wonder if the fix you made for this case
>
>https://issues.apache.org/jira/browse/FLEX-33830
>
>also fixes the following bug I'm seeing with spark datagrid, in this
>case, used as child of DividedBox. Can you run this simple test with the
>latest build containing all the fixes, and let me know if this is a new
>bug or not? If new, I'll enter a JIRA. Thanks
>
>
>
><?xml version="1.0" encoding="utf-8"?>
><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>xmlns:s="library://ns.adobe.com/flex/spark"
>xmlns:mx="library://ns.adobe.com/flex/mx"
>minWidth="600" minHeight="600">
>
><fx:Declarations> 
><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the
>typesetting industry.</fx:String>
></fx:Declarations>
>
><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30">
>
><s:Label text="1. Click and drag divider bar lower to shrink height of
>datagrid"/> 
><s:Label text=" to display about 1.5 rows."/>
><s:Label text="2. Notice the HorizontalScrollBar disappears for certain
>heights."/> 
>
><mx:DividedBox backgroundColor="0xaa0000" >
><s:TextArea height="30" width="300" text="This is a text area."/>
><s:DataGrid id="dg1" width="300">
>
><s:columns> 
><s:ArrayList> 
><s:GridColumn dataField="value" headerText="Column 1" width="200"/>
><s:GridColumn dataField="value" headerText="Column 2" width="200"/>
></s:ArrayList> 
></s:columns> 
>
><s:ArrayCollection>
><s:DataItem value="{sampleText}"/>
><s:DataItem value="{sampleText}"/>
><s:DataItem value="{sampleText}"/>
></s:ArrayCollection>
>
></s:DataGrid> 
></mx:DividedBox> 
>
>
></s:VGroup> 
></s:Application> 
>
>----- Original Message -----
>
>From: modjklist@comcast.net
>To: users@flex.apache.org
>Sent: Thursday, October 17, 2013 8:55:30 AM
>Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior
>changes based on app's state history
>
>Thanks Justin, I didn't see anything in JIRA for this, so I entered it as
>case FLEX-33830. 
>
>https://issues.apache.org/jira/browse/FLEX-33830
>
>
>
><?xml version="1.0" encoding="utf-8"?>
><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>xmlns:s="library://ns.adobe.com/flex/spark"
>xmlns:mx="library://ns.adobe.com/flex/mx"
>minWidth="600" minHeight="600">
>
><fx:Declarations> 
><fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the
>typesetting industry.</fx:String>
></fx:Declarations>
>
><s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30">
>
><s:Label text="1. Click and drag divider bar lower to shrink height of
>datagrid"/> 
><s:Label text=" to display about 1.5 rows."/>
><s:Label text="2. Notice the HorizontalScrollBar disappears for certain
>heights."/> 
>
><mx:DividedBox backgroundColor="0xaa0000" >
><s:TextArea height="30" width="300" text="This is a text area."/>
><s:DataGrid id="dg1" width="300">
>
><s:columns> 
><s:ArrayList> 
><s:GridColumn dataField="value" headerText="Column 1" width="200"/>
><s:GridColumn dataField="value" headerText="Column 2" width="200"/>
></s:ArrayList> 
></s:columns> 
>
><s:ArrayCollection>
><s:DataItem value="{sampleText}"/>
><s:DataItem value="{sampleText}"/>
><s:DataItem value="{sampleText}"/>
></s:ArrayCollection>
>
></s:DataGrid> 
></mx:DividedBox> 
>
>
></s:VGroup> 
></s:Application> 
>
>----- Original Message -----
>
>From: "Justin Mclean" <ju...@classsoftware.com>
>To: users@flex.apache.org
>Sent: Wednesday, October 16, 2013 5:41:23 PM
>Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior
>changes based on app's state history
>
>Hi, 
>
>> Can someone confirm if this is a bug (I'm assuming one bug, but let me
>>know if you think it's two)?
>> 
>> If so, I'll enter into JIRA...
>
>Can confirm (and not fixed in 4.11) please enter it in JIRA.
>
>Think this issue may of come up before, you might want to search JIRA
>first to see if it's already in there.
>
>Thanks, 
>Justin 
>
>


Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history

Posted by mo...@comcast.net.
Hi Alex, I wonder if the fix you made for this case 

https://issues.apache.org/jira/browse/FLEX-33830 

also fixes the following bug I'm seeing with spark datagrid, in this case, used as child of DividedBox. Can you run this simple test with the latest build containing all the fixes, and let me know if this is a new bug or not? If new, I'll enter a JIRA. Thanks 



<?xml version="1.0" encoding="utf-8"?> 
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
xmlns:s="library://ns.adobe.com/flex/spark" 
xmlns:mx="library://ns.adobe.com/flex/mx" 
minWidth="600" minHeight="600"> 

<fx:Declarations> 
<fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the typesetting industry.</fx:String> 
</fx:Declarations> 

<s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30"> 

<s:Label text="1. Click and drag divider bar lower to shrink height of datagrid"/> 
<s:Label text=" to display about 1.5 rows."/> 
<s:Label text="2. Notice the HorizontalScrollBar disappears for certain heights."/> 

<mx:DividedBox backgroundColor="0xaa0000" > 
<s:TextArea height="30" width="300" text="This is a text area."/> 
<s:DataGrid id="dg1" width="300"> 

<s:columns> 
<s:ArrayList> 
<s:GridColumn dataField="value" headerText="Column 1" width="200"/> 
<s:GridColumn dataField="value" headerText="Column 2" width="200"/> 
</s:ArrayList> 
</s:columns> 

<s:ArrayCollection> 
<s:DataItem value="{sampleText}"/> 
<s:DataItem value="{sampleText}"/> 
<s:DataItem value="{sampleText}"/> 
</s:ArrayCollection> 

</s:DataGrid> 
</mx:DividedBox> 


</s:VGroup> 
</s:Application> 

----- Original Message -----

From: modjklist@comcast.net 
To: users@flex.apache.org 
Sent: Thursday, October 17, 2013 8:55:30 AM 
Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history 

Thanks Justin, I didn't see anything in JIRA for this, so I entered it as case FLEX-33830. 

https://issues.apache.org/jira/browse/FLEX-33830 



<?xml version="1.0" encoding="utf-8"?> 
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
xmlns:s="library://ns.adobe.com/flex/spark" 
xmlns:mx="library://ns.adobe.com/flex/mx" 
minWidth="600" minHeight="600"> 

<fx:Declarations> 
<fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the typesetting industry.</fx:String> 
</fx:Declarations> 

<s:VGroup horizontalAlign="left" paddingLeft="30" paddingTop="30"> 

<s:Label text="1. Click and drag divider bar lower to shrink height of datagrid"/> 
<s:Label text=" to display about 1.5 rows."/> 
<s:Label text="2. Notice the HorizontalScrollBar disappears for certain heights."/> 

<mx:DividedBox backgroundColor="0xaa0000" > 
<s:TextArea height="30" width="300" text="This is a text area."/> 
<s:DataGrid id="dg1" width="300"> 

<s:columns> 
<s:ArrayList> 
<s:GridColumn dataField="value" headerText="Column 1" width="200"/> 
<s:GridColumn dataField="value" headerText="Column 2" width="200"/> 
</s:ArrayList> 
</s:columns> 

<s:ArrayCollection> 
<s:DataItem value="{sampleText}"/> 
<s:DataItem value="{sampleText}"/> 
<s:DataItem value="{sampleText}"/> 
</s:ArrayCollection> 

</s:DataGrid> 
</mx:DividedBox> 


</s:VGroup> 
</s:Application> 

----- Original Message ----- 

From: "Justin Mclean" <ju...@classsoftware.com> 
To: users@flex.apache.org 
Sent: Wednesday, October 16, 2013 5:41:23 PM 
Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history 

Hi, 

> Can someone confirm if this is a bug (I'm assuming one bug, but let me know if you think it's two)? 
> 
> If so, I'll enter into JIRA... 

Can confirm (and not fixed in 4.11) please enter it in JIRA. 

Think this issue may of come up before, you might want to search JIRA first to see if it's already in there. 

Thanks, 
Justin 



Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history

Posted by mo...@comcast.net.
Thanks Justin, I didn't see anything in JIRA for this, so I entered it as case FLEX-33830. 

https://issues.apache.org/jira/browse/FLEX-33830 



----- Original Message -----

From: "Justin Mclean" <ju...@classsoftware.com> 
To: users@flex.apache.org 
Sent: Wednesday, October 16, 2013 5:41:23 PM 
Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history 

Hi, 

> Can someone confirm if this is a bug (I'm assuming one bug, but let me know if you think it's two)? 
> 
> If so, I'll enter into JIRA... 

Can confirm (and not fixed in 4.11) please enter it in JIRA. 

Think this issue may of come up before, you might want to search JIRA first to see if it's already in there. 

Thanks, 
Justin 


Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior changes based on app's state history

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> Can someone confirm if this is a bug (I'm assuming one bug, but let me know if you think it's two)? 
> 
> If so, I'll enter into JIRA... 

Can confirm (and not fixed in 4.11) please enter it in JIRA.

Think this issue may of come up before, you might want to search JIRA first to see if it's already in there.

Thanks,
Justin