Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EF24BDCDC for ; Wed, 29 May 2013 02:37:22 +0000 (UTC) Received: (qmail 25256 invoked by uid 500); 29 May 2013 02:37:21 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 25133 invoked by uid 500); 29 May 2013 02:37:21 -0000 Mailing-List: contact dev-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 dev@flex.apache.org Received: (qmail 25079 invoked by uid 99); 29 May 2013 02:37:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 May 2013 02:37:21 +0000 Date: Wed, 29 May 2013 02:37:21 +0000 (UTC) From: "Justin Mclean (JIRA)" To: dev@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FLEX-32589) pendingCellSelection only cleared when setting selectedCells property 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-32589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mclean resolved FLEX-32589. ---------------------------------- Resolution: Fixed Fix Version/s: Apache Flex 4.10.0 Checked into develop branch. > pendingCellSelection only cleared when setting selectedCells property > --------------------------------------------------------------------- > > Key: FLEX-32589 > URL: https://issues.apache.org/jira/browse/FLEX-32589 > Project: Apache Flex > Issue Type: Bug > Components: ADG:CellSelection > Affects Versions: Adobe Flex SDK Previous > Environment: Affected OS(s): All OS Platforms > Affected OS(s): All OS Platforms > Language Found: English > Reporter: Adobe JIRA > Assignee: Justin Mclean > Priority: Minor > Fix For: Apache Flex 4.10.0 > > > Steps to reproduce: > 1. set selectedCells to include selections beyond visible grid cells e.g. select all cells by user clicking on button > 2. using normal mouse click to select any cell in the grid. > > Actual Results: > Although selectedCells are reset via a call to clearSelectedCells() , pendingCellSelection is not reset. If one now scrolls the grid to bring into view columns and rows which were included in the initial selection, they are visually highlighted as sellected and re-included in selectedCells. > i.e. clearPendingCells() is not called when a normal mouse selection is performed. It is only called from the selectedCells setter method. > Expected Results: > Whenever clearSelectedCells() is called, clearPendingCells() should alo be called, not just in selectedCells setter. > > Suggested fix: > 1. In clearSelectedCells() add call to clearPendingCells() > 2. Remove call to clearPendingCells() from selectedCells setter -- 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