Buttons doesn't register clicks if held to long,

Bug #289613 reported by minus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ember
Fix Released
Low
Erik Ogenvik

Bug Description

When clicking a button, if the click happens fast it's registered, but if it's slow (i.e. the left mouse button is held down for a while) it doesn't register.

The way button clicking works in CEGUI is that we listen for the mouse up event (instead of the mouse down). This is the standard for pretty much all UI systems. There however seems to be a bug, perhaps in CEGUI itself, which makes it not registering the mouse button up event if too much time has passed since the mouse down event.
We'll have to investigate.

Tags: cegui
Revision history for this message
minus (me-minus) wrote :
Revision history for this message
Erik Ogenvik (erik-ogenvik) wrote :

Those buttons are all single click enabled, so I'm guessing that you for some reason experiences it to be double click when it's really not.
One issue could be if your system is slow, and Ember is running at a very low frame rate, it might appear that mouse clicks doesn't register.

Revision history for this message
minus (me-minus) wrote : Re: [Bug 289613] Re: GUI buttons should be single click.

Ember is playable when in a world (more than 30 hz).

If I press and hold down the mouse button, the color changes on the
pressed button.
When I then release the mouse button, the button color changes back to
'out' color.
So something happens, (mouse over effect?) but I think no click
event get sent from the button.

Revision history for this message
Erik Ogenvik (erik-ogenvik) wrote :

Updated description. I don't know how long time the button needs to be pressed to present this issue, but I don't think it's very long (some seconds). I'll have to investigate.

description: updated
Changed in ember:
assignee: nobody → erik-hjortsberg
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Erik Ogenvik (erik-ogenvik) wrote :

The cause of this was that we were listening to the wrong button element event. It's now fixed.

Changed in ember:
milestone: none → 0.5.6
status: Confirmed → Fix Committed
Revision history for this message
minus (me-minus) wrote : Re: [Bug 289613] Re: Buttons doesn't register clicks if held to long,

Nice!

I'll test the next release then.

minus, looking forward to check out the new world.

On Fri, Jan 2, 2009 at 9:10 PM, Erik Hjortsberg
<email address hidden> wrote:
> The cause of this was that we were listening to the wrong button element
> event. It's now fixed.
>
> ** Changed in: ember
> Status: Confirmed => Fix Committed
> Target: None => 0.5.6
>
> --
> Buttons doesn't register clicks if held to long,
> https://bugs.launchpad.net/bugs/289613
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Worldforge Ember client: Fix Committed
>
> Bug description:
> When clicking a button, if the click happens fast it's registered, but if it's slow (i.e. the left mouse button is held down for a while) it doesn't register.
>
> The way button clicking works in CEGUI is that we listen for the mouse up event (instead of the mouse down). This is the standard for pretty much all UI systems. There however seems to be a bug, perhaps in CEGUI itself, which makes it not registering the mouse button up event if too much time has passed since the mouse down event.
> We'll have to investigate.
>

Changed in ember:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.