/srv/irclogs.ubuntu.com/2012/04/12/#ubuntu-touch.txt

=== tvoss|gftd is now known as tvoss
=== MacSlow is now known as MacSlow|lunch
=== MacSlow|lunch is now known as MacSlow
dandraderbregma, any news on that geisv1 bug that doesn't report existing devices on start up? should I report it?12:36
dandradermake a bug report, I mean12:37
bregmaI'm looking in to it this morning12:47
bregmayep, there's definitely a bug in the geis v1 implementation introduced by the synchronous start feature13:13
bregmaI'll create a bug and work on that today13:14
dandraderok.13:19
dandraderI wish we could have dependencies between bugs in launchpad13:19
tvossadded doxygen documentation for frame's generic backend, worked on chromium patch to get rid of duplicated enumeration values14:14
* bregma drains the cold dregs from his mug14:14
bregmafixin' a GEISv1 bug14:15
bregma#97985514:15
cndI think I have fixed all the big touchscreen bugs, I'm waiting on user testing14:15
dandraderrebasing my port of unity gestures code to geisv2 api on top of the changes made by the fix for https://bugs.launchpad.net/unity/+bug/97837814:15
SatorisI have been slightly ill today, so I have done some research, read code and rested.14:16
bregmais that because you have a bug touchscreen?14:16
bregmas/bug/big/14:16
cndso I'll have to find bugs to work on, or make architectural diagrams :)14:16
cndbregma, no, just big bugs :)14:16
=== dandrader is now known as dandrader|afk
Satoriscnd: did you get my mail yesterday?14:21
cndSatoris, yeah, I just didn't get time to respond14:22
cndSatoris, thanks for pushing for the unity 2d fix :)14:22
SatorisNo prob. I'm just glad the devs fixed it once I had traced it to a single line. The D-Bus fix they produced was quite magical.14:23
cndheh14:23
SatorisAnd not magical as in ponies and rainbows.14:24
bregmadbus is the devil's work14:27
=== dandrader|afk is now known as dandrader
cndbregma, in the test case for the device report fix, I don't see any device being created15:19
cndif the test is run on a machine without a multitouch input device, won't this fail?15:19
bregmagtest_instance.cpp:31 is the line where the device is created15:23
cndoh I see15:26
cndwhy do you have the comma on the next line?15:26
cndbregma, if you make a release you might be able to get it in right before the final freeze later today15:41
bregmaall I need is a an acceptable merge request review and I'm good to go15:43
bregmaI particularly want to get the fix for 973539 in15:43
bregma(crash using remote access from a machine without XI2.2)15:44
cndbregma, I approved the device report MP15:49
cndbregma, is there another outstanding?15:49
bregmanope, that should be it (unless I can repro #976432 and find a fix, which is unlikely)15:50
dandraderDoes geis v2 also provides the attributes GEIS_GESTURE_ATTRIBUTE_TOUCH_N_[ID|X|Y] in its frames or is it only used by Geis v1?15:53
bregmaonly GEISv115:53
bregmait's a terrible way to reportdata15:53
dandradertrue15:56
=== dandrader is now known as dandrader|lunch
cnddandrader|lunch, your merge for https://code.launchpad.net/~dandrader/utouch-grail/tap_threshold_doc/+merge/101648 is fine, I'm sure, but note that no one actually approved it :)16:31
cndjust fyi, a reminder to double check before merging16:32
bregmahmm, I think the fix for #973539 should also prevent #976432 (crashes in geis) but unless I can repro it I can not be certain16:52
cndbregma, you can mark it as fix released but ask people to reopen if they hit it again16:57
cndbregma, actually, you should dupe it, but ask people to undupe if they reproduce it16:58
bregmait's not a dupe so much as the fix for  #973539 should prevent whatever causes #976432 from resulting in a crash, so marking as fixed released (once #973539 is released) is the best plan17:02
bregmadandrader|lunch, I went ahead and merged https://code.launchpad.net/~dandrader/utouch-geis/doc_touch_defines/+merge/101765 so I can get a geis release out before cutoff (in less than 3 hours)17:08
bregmageis 2.2.9 is uploaded to the UNAPPROVED queue, should be in by deadline.....17:53
bregmafor those keeping score at home, https://launchpad.net/ubuntu/precise/+queue?queue_state=117:59
=== dandrader|lunch is now known as dandrader
dandraderbregma, great!18:17
dandradercnd, I merged with the modification you said18:18
cndyeah, it's not a big deal, it's just a pedanticism ;)18:18
dandradergot it18:19
dandradercnd, should unity support moving two different windows at the same time (e.g. one with each hand)?20:45
cnddandrader, I think so20:45
cndbut it will only be possible with geis 2 and without atomic gestures20:45
cndthat's one valid use case for the "regular" recognizer path20:46
dandraderfinally i found a case for geis v2 in unity :)20:46
cndyep :)20:47
dandradernow if compiz support such things (two windows being moved at the same time) is another question20:47
cndwell, that and the threshold setting20:47
cndI would be surprised if compiz didn't20:47
dandraderwho knows, maybe that's tied to focus or something... (only focused window can move)20:48
dandraderbut probably it's fine20:48
=== dandrader is now known as dandrader|afk
cndyay, I have block diagrams of utouch, utouch-frame, and utouch-grail21:00
cndit should be shared with you guys now21:00
=== dandrader|afk is now known as dandrader
cndbregma, the window for uploading geis is closing quickly :)21:07
dandradercnd, is it possible for unity and an application to both receive the touch events from xserver, at the same time?21:29
cnddandrader, yes and no21:29
cndapplications *can* receive events as soon as they physically occur21:29
cndhowever they do not become owners until everyone before them rejects21:30
cndthat's one option21:30
cndbut normally, unless they really care, they will only receive events once they become the owner of the touch sequence21:30
dandraderwhat does it mean to be an owner?21:32
cndit's easiest to give an example21:33
cndyou have a finger painting application21:33
cndrunning in unity21:33
cndif I perform a three touch drag over the application, unity will intercept the touches21:34
cndunity is always the first owner because it listens on the root window21:34
cndif the painting app has requested for "ownership" semantics, it will also receive the touch events21:35
cndhowever, once unity has accepted the touches (by accepting the gesture or by grail doing it through the atomic recognizer), the painting app will be notified21:35
cndand it will have to undo anything it might have done21:35
cndso the painting app could have started drawing immediately, effectively allowing for 0 latency drawing even with unity in the way21:36
cndbut then it would have to undo the drawing as soon as it is notified that someone above it has accepted the touches21:36
cndif a client owns the sequence through a touch grab, like unity does, it must accept or reject the sequence21:37
cndif a client owns a sequence through an X event selection, then it will implicitly accept the touch sequence once it receives it21:37
dandradercnd,  is this ownership concept coming from XInput?21:40
cndyes21:40
dandraderso if unity does a touch grab the painting app will never get any 3-touch stuff because unity immediately owns the touches until it rejects them?21:42
* dandrader a bit confused now21:42
cnddandrader, it depends on what the painting app has asked for21:42
cndif it only asks for normal touch events, then it will never get any 3-touch events21:42
cndbecause unity will always receive ownership and then accept them21:43
cndhowever, if the painting app asks for ownership events, then it will get all the events at the same time as unity receive them21:43
cndbut it will never become the owner of them21:43
cndbecause unity will always accept them21:43
dandraderthis seems to explain things well http://lwn.net/Articles/485484/ :)22:02
cndheh22:19

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