History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-4585
Type: Bug Bug
Status: Verified Verified
Resolution: Fixed
Priority: P1 P1
Assignee: Max Carlson
Reporter: Maynard Demmon
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Two onmousetrackup events fired when only 1 should be fired.

Created: 26/Aug/07 03:38 PM   Updated: 03/Oct/07 08:30 AM
Component/s: Laszlo Foundation Classes (LFC)
Affects Version/s: 4.0.5WaffleCone
Fix Version/s: 4.0.5WaffleCone

Time Tracking:
Not Specified

File Attachments: 1. File lpp-4585.lzx (0.8 kb)

Environment: WinXP, FlashPlayer 9 in Firefox 2.0 with lzr=swf8.

Severity: Major
Fixed in Change#: 6,261
Runtime: N/A
Flags: Regression
Fix in hand: False


 Description  « Hide
The following test case will fire the onmousetrackup event twice when you drag the red view onto the green view. The even should only be fired once. This worked correctly in 4.0.2.

<canvas height="100%" width="100%" proxied="false">
<view width="40" height="40" bgcolor="red">
<method event="onmousedown">
LzTrack.activate('item');
this.bringToFront();
dragging.apply();
</method>

<method event="onmouseup">
dragging.remove();
LzTrack.deactivate('item');
</method>

<dragstate name="dragging"/>
</view>

<view x="200" y="200" width="100" height="100" bgcolor="green">
<method event="oninit">
LzTrack.register(this, 'item');
</method>

<method event="onmousetrackup">
Debug.write("mousetrackup");
</method>
</view>
</canvas>

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Steve O'Sullivan - 02/Oct/07 04:32 PM
Script created from bug notes.

Steve O'Sullivan - 03/Oct/07 08:30 AM
I am able to run this script in any version of flash on either Mac or Windows and get no errors, and only one instance of the onmousetrackup for each mouse click. I am verifying this bug as fixed. However, there will be another bug opened up that references problems experienced when compiling this script as DHTML.