Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 47F671065C for ; Mon, 7 Apr 2014 11:48:18 +0000 (UTC) Received: (qmail 42795 invoked by uid 500); 7 Apr 2014 11:48:18 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 42686 invoked by uid 500); 7 Apr 2014 11:48:16 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 42678 invoked by uid 99); 7 Apr 2014 11:48:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Apr 2014 11:48:15 +0000 Date: Mon, 7 Apr 2014 11:48:15 +0000 (UTC) From: "Mihai Chira (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-34212) invalidIndex RTE in LinearLayoutVector when mouse scrolling List MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-34212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mihai Chira updated FLEX-34212: ------------------------------- Attachment: _invldRTE.fxp > 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 > 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: > - 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.2#6252)