Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Apache Flex 4.11.0
Description
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()
Attachments
Attachments
Issue Links
- relates to
-
FLEX-28291 Linear Vector Layout on the ComboBox
- Resolved