incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua White (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33190) GridEvent.GRID_DOUBLE_CLICK is dispatched even when two different cells are clicked
Date Tue, 25 Sep 2012 00:10:07 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462282#comment-13462282
] 

Joshua White commented on FLEX-33190:
-------------------------------------

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

Mime
View raw message