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

Mihai Chira reassigned FLEX-34212:
----------------------------------

    Assignee: Mihai Chira

> invalidIndex RTE in LinearLayoutVector when mouse scrolling List
> ----------------------------------------------------------------
>
>                 Key: FLEX-34212
>                 URL: https://issues.apache.org/jira/browse/FLEX-34212
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: List, Spark: VerticalLayout
>    Affects Versions: Apache Flex 4.11.0
>            Reporter: Mihai Chira
>            Assignee: Mihai Chira
>              Labels: easytest
>             Fix For: Apache Flex 4.13.0
>
>         Attachments: _invldRTE.fxp
>
>
> Steps to reproduce:
> 1. Import and run the attached project.
> 2. Scroll the list to the bottom.
> Actual result: the RTE below, caused by the perfectly timed MOUSE_WHEEL event.
> Desired result: no RTE, and the list should keep adding items despite the 
> MOUSE_WHEEL event.
> Notes:
> - workaround: instead of resetting the dataProvider, calling addAll() on it 
> avoids this RTE.
> - four of our users reported this bug within a few months. This means that 
> the odds of scrolling the list exactly between setting its dataProvider and 
> its commitProperties() function being called is not so low.
> - s:DataGrid seems to work fine in this scenario.
> RTE:
> Error: invalidIndex
>       at 
> spark.layouts.supportClasses::LinearLayoutVector/start()[E:\dev\4.y\frameworks\projects\spark\src\spark\layouts\supportClasses\LinearLayoutVector.as:893]
>       at 
> spark.layouts.supportClasses::LinearLayoutVector/getBounds()[E:\dev\4.y\frameworks\projects\spark\src\spark\layouts\supportClasses\LinearLayoutVector.as:1117]
>       at 
> spark.layouts::VerticalLayout/getElementBounds()[E:\dev\4.y\frameworks\projects\spark\src\spark\layouts\VerticalLayout.as:907]
>       at 
> spark.layouts::VerticalLayout/findLayoutElementBounds()[E:\dev\4.y\frameworks\projects\spark\src\spark\layouts\VerticalLayout.as:1187]
>       at 
> spark.layouts::VerticalLayout/getElementBoundsBelowScrollRect()[E:\dev\4.y\frameworks\projects\spark\src\spark\layouts\VerticalLayout.as:1217]
>       at 
> spark.layouts.supportClasses::LayoutBase/getVerticalScrollPositionDelta()[E:\dev\4.y\frameworks\projects\spark\src\spark\layouts\supportClasses\LayoutBase.as:1357]
>       at 
> spark.components.supportClasses::GroupBase/getVerticalScrollPositionDelta()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\GroupBase.as:1420]
>       at 
> spark.components::VScrollBar/http://www.adobe.com/2006/flex/mx/internal::mouseWheelHandler()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\VScrollBar.as:559]
>       at flash.events::EventDispatcher/dispatchEventFunction()
>       at flash.events::EventDispatcher/dispatchEvent()
>       at 
> mx.core::UIComponent/dispatchEvent()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:13152]
>       at 
> mx.managers::SystemManager/mouseEventHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2918]
>       at flash.events::EventDispatcher/dispatchEventFunction()
>       at flash.events::EventDispatcher/dispatchEvent()
>       at 
> mx.core::UIComponent/dispatchEvent()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:13152]
>       at 
> _MouseOutGlitch/add20Items()[C:\Users\Developer1\workspace\_MouseOutGlitch\src\_MouseOutGlitch.mxml:36]
>       at Function/http://adobe.com/AS3/2006/builtin::apply()
>       at SetIntervalTimer/onTimer()
>       at flash.utils::Timer/_timerDispatch()
>       at flash.utils::Timer/tick()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to