mouseClick vs mouseDoubleClick

View: New views
5 Messages — Rating Filter:   Alert me  

mouseClick vs mouseDoubleClick

by Steven W Riggins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am having a little issue :)

When  I double click, I am seeing:

<on: mouseDoubleClick>

and then

<on: mouseClick>

Shouldn't the mouseclick be swallowed if there was a double click?

I'm also seeing CPrimitiveCostume handleMouseDown called twice per  
click.  Is this right?
_______________________________________________
Tweak mailing list
Tweak@...
http://impara.de/mailman/listinfo/tweak

Re: mouseClick vs mouseDoubleClick

by Andreas Raab :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steven W. Riggins wrote:

> I am having a little issue :)
>
> When  I double click, I am seeing:
>
> <on: mouseDoubleClick>
>
> and then
>
> <on: mouseClick>
>
> Shouldn't the mouseclick be swallowed if there was a double click?

Yes.

> I'm also seeing CPrimitiveCostume handleMouseDown called twice per
> click.  Is this right?

No, it's not. Let me investigate the problem.

Cheers,
   - Andreas
_______________________________________________
Tweak mailing list
Tweak@...
http://impara.de/mailman/listinfo/tweak

Re: mouseClick vs mouseDoubleClick

by Steven W Riggins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Jul 6, 2006, at 8:15 PM, Andreas Raab wrote:

> Steven W. Riggins wrote:
>> I am having a little issue :)
>> When  I double click, I am seeing:
>> <on: mouseDoubleClick>
>> and then
>> <on: mouseClick>
>> Shouldn't the mouseclick be swallowed if there was a double click?
>
> Yes.
>
>> I'm also seeing CPrimitiveCostume handleMouseDown called twice per  
>> click.  Is this right?
>
> No, it's not. Let me investigate the problem.

the double I was seeing came from embedded players (I believe)

But I am still getting mouseClick: and mouseDoubleClick: ona double  
click.  (Could be a Sophie issue, but I could not find anything that  
woul dcause this)

>
> Cheers,
>   - Andreas
> _______________________________________________
> Tweak mailing list
> Tweak@...
> http://impara.de/mailman/listinfo/tweak
>

_______________________________________________
Tweak mailing list
Tweak@...
http://impara.de/mailman/listinfo/tweak

Re: mouseClick vs mouseDoubleClick

by Bert Freudenberg-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am 07.07.2006 um 05:15 schrieb Andreas Raab:

> Steven W. Riggins wrote:
>> I am having a little issue :)
>> When  I double click, I am seeing:
>> <on: mouseDoubleClick>
>> and then
>> <on: mouseClick>

That's bug #1039, you currently get the double-click before the click.

>> Shouldn't the mouseclick be swallowed if there was a double click?
>
> Yes.

Actually, no. That would mean you could get a click event only after  
the double-click timeout. The UI would feel very sluggish that way.  
What UIs usually do is that click selects the item and the following  
double-click performs some action on it.

See the GIFs attached to

        http://bugs.impara.de/view.php?id=1039

Also, see the bug report itself and its related reports. Assigned to  
me for ages, I know :( Hasn't been a show-stopper until now ...

I'll wait to see what Andreas finds, and then have a look myself, if  
still necessary.

- Bert -

_______________________________________________
Tweak mailing list
Tweak@...
http://impara.de/mailman/listinfo/tweak

Re: mouseClick vs mouseDoubleClick

by Andreas Raab :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bert Freudenberg wrote:
>>> Shouldn't the mouseclick be swallowed if there was a double click?
>>
>> Yes.
>
> Actually, no. That would mean you could get a click event only after the
> double-click timeout. The UI would feel very sluggish that way. What UIs
> usually do is that click selects the item and the following double-click
> performs some action on it.

You're right, I'll take this back. The picture makes perfect sense.

Cheers,
   - Andreas

>
> See the GIFs attached to
>
>     http://bugs.impara.de/view.php?id=1039
>
> Also, see the bug report itself and its related reports. Assigned to me
> for ages, I know :( Hasn't been a show-stopper until now ...
>
> I'll wait to see what Andreas finds, and then have a look myself, if
> still necessary.
>
> - Bert -
>
> _______________________________________________
> Tweak mailing list
> Tweak@...
> http://impara.de/mailman/listinfo/tweak
>
>
_______________________________________________
Tweak mailing list
Tweak@...
http://impara.de/mailman/listinfo/tweak