/srv/irclogs.ubuntu.com/2012/06/07/#ubuntu-touch.txt

=== WebVisitor-4 is now known as maba
mabaHey all! I have an Acer T231H (supported by hid-multitouch), which supports 2 simultaneous touches. I have Ubuntu 12.04, and added the utouch daily ppa. Fully upgraded my system as well. The thing is, with mtview I can "draw" with my two fingers and it works, both points are recognized. But I can't get any gestures to work! What I really would like is for ginn to work, but when running it just states: "error subscribing to gesture07:41
mabaThanks in advance!07:41
mabaHey all! I have an Acer T231H (supported by hid-multitouch), which supports 2 simultaneous touches. I have Ubuntu 12.04, and added the utouch daily ppa. Fully upgraded my system as well. The thing is, with mtview I can "draw" with my two fingers and it works, both points are recognized. But I can't get any gestures to work! What I really would like is for ginn to work, but when running it just states: "error subscribing to gesture10:11
mabaThanks in advance!10:11
mabaAnyone? :)10:11
dandraderhi maba10:29
mabahi there10:30
* dandrader reads maba's question...10:30
dandraderwell, I have no experience with ginn... what do you wanna do exactly?10:31
dandraderif I'm not mistaken ginn is being deprecated10:31
mabaOk, the reason why I wanted to use ginn was because I would like the gestures to be turned into regular keypress-combos10:32
mabato map pinch to ctrl+-/ctrl++ for example (for zoom)10:33
dandraderhmmm...10:33
mabacould this be done with geis instead?10:34
dandradercnd would know better about the current state and plans for ginn, but he's not online at the moment. You could send an e-mail to https://launchpad.net/~multi-touch-dev10:34
dandradermaba, of course10:34
dandraderbut you would have to modify your application to use the geis library10:35
mabaI don't want to do that :)10:45
mabareason being I want to use multitouch through and RDP-session10:45
mabathrough an*10:45
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
* bregma slurps some cold joe14:15
cndgood morning14:16
cndI'm still working on a few bugs14:17
cndI hope to get a chance to look into why utouch isn't recognizing new devices when they are plugged in14:17
cnddandrader, bregma: standups :)14:18
dandraderbug fixing the patch that makes unity use the new nux with gestures support.  Quite a bit of work as that implies shifting from amotic gesture rules to regular gesture rules (accept/reject semantics + multiple simultaneous gestures) in unity and unity cannot use the gestures acceptance and delivery logic from nux because it handles CompWindows instead of nux::InputAreas (such as nux::BaseWindow).14:19
bregmaum, I guess I'll get that libgrip release out today14:20
dandradercnd, maybe geis have to update the existing subscriptions to include the new device?14:21
cndhmm... maybe?14:22
bregmaas far as I know that should be being done and there's a test case for that14:22
cndI assume the subscriptions are on all devices of a given class14:22
cnddandrader, do you know if that's how the unity code is written?14:22
dandraderunity just says it wants gestures of class X with that many touches14:23
cnddandrader, from any device?14:23
dandraderno device specified14:23
bregmais the unity code using GEISv1 still?  It's possible the device events are not being propagated properly through GEISv1, I don;t remember writing a test case for that14:23
dandraderbregma, yes14:23
bregmawell, if Unity isn;t subscribing to a list of devices it shouldn't matter, but writing a test case should verify that14:24
dandrader  status = geis_subscribe(instance,14:25
dandrader                          GEIS_ALL_INPUT_DEVICES,14:25
dandrader                          s_gestures,14:25
dandrader                          &gesture_funcs,14:25
dandrader                          this);14:25
dandradersnippet from current unity code14:25
bregmaright, so theoretically it shouldn't matter, the subscriptions should just get updated14:27
dandraderah, and I won't be around tomorrow. taking a swap day14:33
=== gustavold1 is now known as gustavold
cnddandrader, any fun plans you can share?14:48
cndI've got one unallocated swap day I should probably use14:49
dandradercnd, sure. going to Búzios for a long weekend this evening. http://en.wikipedia.org/wiki/Arma%C3%A7%C3%A3o_dos_B%C3%BAzios14:52
cndooooh.... looks nice :)14:53
dandraderit's around 3 hours by bus from Rio14:53
cndI'm looking forward to having a full weekend to myself14:54
cndI've had only one of those in the past two months14:54
dandraderhow come?14:55
cnduds, lexington sprint last week14:55
cndI had one weekend all to myself over the past 7 wekends14:56
cndevery other weekend I was traveling or elsewhere14:56
dandraderbusy man :)14:56
cndI'm glad I don't have any plans for anything until the end of the month14:58
cndand that is a vacation really14:58
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
dandraderhmm... think I found a bug in geis/grail18:03
dandraderI perform a tap with 4 fingers18:03
dandradergeis first send on 4 possible combinations of 3-touches gestures (with construction finished 0)18:04
dandraderif I start reject them right away (keeping only the last 3-touches gesture sent)18:04
dandradergeis seems to never send the 4 touches gesture18:04
dandradergotta investigate that better, make a test case, etc. but now I gotta go18:05
dandraderhave a nice weekend18:05
cndbregma, looks like it is a geisv2 vs giesv1 bug, where plugging in a new device doesn't subscribe it automatically21:26
cndgeisview sees events after the device comes online21:26
cndbut unity doesn't21:26
cndgeistest shows the device being added21:27
cndbut no events come from it21:27
bregmahmm21:29
bregmacan't remember how I implemented GEISv1, but if it's iterating over known devices when a subscription is created for ALL_DEVICES then it should actually just just create a subscription without device filters21:31
cndI'm creating a test case for it now21:37
bregmaalways a good start21:43
cndbregma, do you know what's up with the geis tests on jenkins?22:11
cndI also notice a lot of failing tests here locally22:11
bregmaI don't know about jenkins, but for me all tests pass eccept the accept-gesture test22:13
bregmathat test fails because it tries to dereference deleted objects22:14
bregmaI was working on a fix, but now I'm up to my eyeballs trying to figure out Unity code and it;s going to make my head asplode22:14
cndeww22:15
bregmait's not bad code, there's just a lot of it, and it just keeps comin'22:15
bregmaanyway, time to drive my kids to soccer22:17

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!