Hi,

http://oi41.tinypic.com/2dj2srr.jpg

Well I manually fixed your package, and yes you should never really use 
doubleclicks, but if you happen to click madly with 2 fingers simultaneously, 
you sometimes get event triggered. Default treshold values are so high that you 
basicly never can get doubleclick with one finger. If you want double click 
behaviour so you need listen for raw event timestamps.

re, Jonni

________________________________
From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Jonni Rainisto [jonni.raini...@jolla.com]
Sent: Saturday, November 09, 2013 7:10 PM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] Double-tap detection

Already answered in here 
https://lists.sailfishos.org/pipermail/devel/2013-November/000973.html

And your your git repository doesnt make working rpm nor working application, 
no use to ask people build from repository which are missing files to make a 
complete application.

re, Jonni
________________________________
From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Artem Marchenko [artem.marche...@gmail.com]
Sent: Saturday, November 09, 2013 4:58 PM
To: devel@lists.sailfishos.org
Subject: [SailfishDevel] Double-tap detection

Hi All

Has anybody tried intercepting double taps in the Jolla app?
I tried it on simulator (using MouseArea onDoubleClicked) and I swear I saw 
double clicks happening a couple of times, but then I've lost it.

I tried playing with preventStealing and propagateComposedEvents, didn't help. 
Sure I can implement my own timer based double click detection, but.. that's 
somehow wrong, double clicks should work in just a MouseArea.

- Am I missing something very basic?
- Or is it just an emulator issue (maybe Mac + virtualbox somehow eat second 
clicks on the way)?

It would be real great if somebody could run a small throwaway demo on a real 
device or at least on a non-Mac simulator and tell if it works.

Just build and run app from here, it's just one screen with logs right on 
screen, I promise :)
https://github.com/amarchen/throwaway-trials-sailfish/tree/double-click-testing

Best regards,
Artem.

P.S.
If you wonder why I want doubletaps at all, I find it a convenient way for 
locking-unlocking app input for the app that well, should avoid reacting to 
accidental input sometimes.

--
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to