Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AF6BDD525 for ; Tue, 25 Sep 2012 00:12:09 +0000 (UTC) Received: (qmail 90829 invoked by uid 500); 25 Sep 2012 00:12:08 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 90783 invoked by uid 500); 25 Sep 2012 00:12:08 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 90774 invoked by uid 99); 25 Sep 2012 00:12:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 00:12:08 +0000 Date: Tue, 25 Sep 2012 11:12:08 +1100 (NCT) From: "Joshua White (JIRA)" To: flex-dev@incubator.apache.org Message-ID: <1640462805.119694.1348531928665.JavaMail.jiratomcat@arcas> In-Reply-To: <1146152565.29348.1346638687989.JavaMail.jiratomcat@arcas> Subject: [jira] [Comment Edited] (FLEX-33190) GridEvent.GRID_DOUBLE_CLICK is dispatched even when two different cells are clicked 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-33190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462282#comment-13462282 ] Joshua White edited comment on FLEX-33190 at 9/25/12 11:10 AM: --------------------------------------------------------------- I would like to suggest this is not a bug. When you click between two cells very quickly you are double clicking on the grid. The event being dispatched represents this correctly and I have had cases where I would want it to dispatch this event. 'Fixing this bug' would break functionality of at least one project I have worked on in the past. I've had the same thought and have had to do a lot of confirmation of the double click event (was something selected, was that thing clicked on both times, etc) and I agree something needs to change, but this is definitely a feature and will change existing expected behaviors. From the AS3 grid documents: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/Grid.html "doubleClickEnabled : Boolean [override] Specifies whether the UIComponent object receives doubleClick events." I suggest closing this issue and requesting a feature where the grid dispatches a CELL_DOUBLE_CLICK which can be enabled with a new property on s:Grid or perhaps that there is a new property which indicates doubleClickMode = "WHOLE_GRID||SINGLE_CELL||ROW||COLUMN" was (Author: jibwa): I would like to suggest this is not a bug. When you click between two cells very quickly you are double clicking on the grid. The event being dispatched represents this correctly and I have had cases where I would want it to dispatch this event. This update would break functionality of at least one project I have worked on in the past. I've had the same thought in the past and have had to do a lot of confirmation of the double click event (was something selected, was that thing clicked on both times, etc) and I agree something needs to change, but this is definitely a feature and will change existing expected behaviors. From the AS3 grid documents: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/Grid.html "doubleClickEnabled : Boolean [override] Specifies whether the UIComponent object receives doubleClick events." I suggest closing this issue and requesting a feature where the grid dispatches a CELL_DOUBLE_CLICK which can be enabled with a new property on s:Grid or perhaps that there is a new property which indicates doubleClickMode = "WHOLE_GRID||SINGLE_CELL||ROW||COLUMN" > GridEvent.GRID_DOUBLE_CLICK is dispatched even when two different cells are clicked > ----------------------------------------------------------------------------------- > > Key: FLEX-33190 > URL: https://issues.apache.org/jira/browse/FLEX-33190 > Project: Apache Flex > Issue Type: Bug > Components: Spark: Grid > Affects Versions: Apache Flex 4.8 (parity release) > Reporter: Shigeru Nakagaki > Attachments: DataGridTest.mxml, Grid.as > > > In dispatchGridClickEvents method of "s:Grid" class, GridEvent.GRID_DOUBLE_CLICK is dispatched. But there is no check of whether the same cell was clicked. -- 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