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

Key: LPP-1379
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: -- --
Assignee: Unassigned
Reporter: Denis Bohm
Votes: 0
Watchers: 0
Operations

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

repeated mouse events with same coordinates

Created: 18/Jan/06 09:48 AM   Updated: 08/May/07 12:38 PM
Component/s: Kernel
Affects Version/s: 3.1 (aka Denver)
Fix Version/s: Seaswirl, 4.0.2

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 4,673
Platform: x86 - Windows XP
Runtime: SWF8


 Description  « Hide
-------- Original Message --------
Subject: Re: [Laszlo-user] repeated mouse events with same coordinates
Date: Wed, 18 Jan 2006 12:31:36 -0500
From: P T Withington <ptw@pobox.com>
To: Denis Bohm <denis@fireflydesign.com>
CC: laszlo-user@openlaszlo.org
References: <43CE7591.4030007@fireflydesign.com>


I would say this is a bug.

Currently, the dependencies function for getMouse is the idle loop.
This was probably a kluge for older players. In modern players you
can listen for mouse moves, and there is already a mouse listener
object for handling the mouse wheel. Clearly this same listener
could have an event for mouse motion, which should be what getMouse's
dependency is.

You can file a bug at http://www.openlaszlo.org/jira/

On 18 Jan 2006, at 12:06, Denis Bohm wrote:

> I have the following code in a state (much like that in the
> developer documentation):
>
> <attribute name="mx" value="${parent.getMouse('x')}"/>
> <method event="onmx">
>
> When I try it the "onmx" event method is called repeatedly even
> when the mouse is not moving. Am I doing something wrong? Is
> there a way to only get sent events when the value changes?
>
> _______________________________________________
> Laszlo-user mailing list
> Laszlo-user@openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.