[
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"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete="onCreationComplete();" >
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
protected var acTestData:ArrayCollection = new ArrayCollection();
protected function onCreationComplete():void
{
acTestData.addItem({emailID:"0", from:"[email protected]",
to:"[email protected]", subject:"Important new message", date:"10/1/2003"});
acTestData.addItem({emailID:"1", from:"[email protected]",
to:"[email protected]", subject:"Unimportant new message", date:"10/2/2003"});
acTestData.addItem({emailID:"3", from:"[email protected]",
to:"[email protected]", subject:"Relatively new message", date:"10/3/2003"});
acTestData.addItem({emailID:"4", from:"[email protected]",
to:"[email protected]", subject:"Sort-of new message", date:"10/4/2003"});
}
public function handleMouseOut(event : MouseEvent) : void
{
trace(event);
}
]]>
</fx:Script>
<s:layout>
<s:VerticalLayout horizontalAlign="center" verticalAlign="middle"
gap="0" />
</s:layout>
<mx:HBox id="myBox" width="300" height="300" borderStyle="solid"
borderColor="0xcc0000" mouseOut="handleMouseOut(event)">
<mx:DataGrid dataProvider="{acTestData}" dragEnabled="true"
dragMoveEnabled="true" mouseOut="handleMouseOut(event)">
<mx:columns>
<mx:DataGridColumn headerText="From" dataField="from" />
<mx:DataGridColumn headerText="To" dataField="to" />
<mx:DataGridColumn headerText="Subject" dataField="subject" />
<mx:DataGridColumn headerText="Date" dataField="date" />
</mx:columns>
</mx:DataGrid>
</mx:HBox>
</s:Application>
> 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 slowly.
>
> 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