flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Kessler (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-12784) during drag, mouseOut only fires if mouse is moving quickly
Date Wed, 05 Jun 2013 00:40:20 GMT

     [ https://issues.apache.org/jira/browse/FLEX-12784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Mark Kessler resolved FLEX-12784.

    Resolution: Cannot Reproduce
      Assignee: Mark Kessler

Using below test application.  Unable to reproduce issue.  It appears to have been fixed in
a previous version of the SDK.

<?xml version="1.0" encoding="utf-8"?>
   Test application
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               creationComplete="onCreationComplete();" > 


        import mx.collections.ArrayCollection;

        protected var acTestData:ArrayCollection = new ArrayCollection();

        protected function onCreationComplete():void
            acTestData.addItem({emailID:"0", from:"a@a.com", to:"joey@person13.com", subject:"Important
new message", date:"10/1/2003"});
            acTestData.addItem({emailID:"1", from:"b@a.com", to:"jim@person13.com", subject:"Unimportant
new message", date:"10/2/2003"});
            acTestData.addItem({emailID:"3", from:"c@a.com", to:"jack@person13.com", subject:"Relatively
new message", date:"10/3/2003"});
            acTestData.addItem({emailID:"4", from:"d@a.com", to:"john@person13.com", subject:"Sort-of
new message", date:"10/4/2003"});

        public function handleMouseOut(event : MouseEvent) : void


        <s:VerticalLayout horizontalAlign="center" verticalAlign="middle" gap="0" />

	<mx:HBox id="myBox" width="300" height="300" borderStyle="solid" borderColor="0xcc0000"

        <mx:DataGrid dataProvider="{acTestData}" dragEnabled="true" dragMoveEnabled="true"
                <mx:DataGridColumn headerText="From" dataField="from" />
                <mx:DataGridColumn headerText="To" dataField="to" />
                <mx:DataGridColumn headerText="Subject" dataField="subject" />
                <mx:DataGridColumn headerText="Date" dataField="date" />


> during drag, mouseOut only fires if mouse is moving quickly
> -----------------------------------------------------------
>                 Key: FLEX-12784
>                 URL: https://issues.apache.org/jira/browse/FLEX-12784
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: DataGrid
>    Affects Versions: Adobe Flex SDK 3.0 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>            Assignee: Mark Kessler
> Steps to reproduce:
> In the attached code,
> 1. Run in debug mode
> 2. Click and hold a row from the data grid
> 3. Slowly move the mouse (a slow drag) out of the data grid
> 4. Notice that no trace statements are output - the "mouseOut" handler does not fire
> 5. Move the mouse quickly (a quick drag) out of the data grid.  Between rows on the datagrid
also works, as the datagrid broadcasts "mouseOut" events for each row and column as well.
> 6. Notice that there are now lots of trace statements.  For some reason, during a drag
the "mouseOut" event is only broadcast if the mouse moves quickly.
>  Actual Results:
>  The "mouseOut" event is not broadcast correctly during a drag if the mouse is moving
>  Expected Results:
>  The "mouseOut" event is broadcast whenever the mouse leaves the area bounded by this
control, regardless of the speed of mouse movement.
>  Workaround (if any):
>  Listen for all "mouseMove" events.  From mouse's position, determine whether it has
exited the object in question's boundaries.

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

View raw message