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

=== dandrader is now known as dandrader|afk
cndSatoris, how's the bug reporting script going?14:08
* bregma sips14:14
cndI'm going to be trying to fix jenkins build issues with xorg-gtest, then moving on to a bunch of x fix reworking for upstream comments14:15
bregmawhich xorg-gtest issues?14:16
cnddandrader|afk, Satoris, tvoss: standups!14:16
cndbregma, same you mentioned yesterday14:16
tvossinterviews, jenkins work (utouch-* builds and tests again) and #95097414:16
cndcan't find the sources14:16
bregmathat's fixed14:16
cndbregma, how?14:16
bregmawe fixed it about an hour ago14:16
cndahh cool14:16
SatorisBeing sick.14:16
tvosscnd, an issue with an old pkgconfig14:16
bregmatvoss refreshed the package14:16
cndgood14:16
tvossapt-get install --reinstall did the trick14:16
bregmanow we get the usual transient failures14:16
cndugh14:17
tvoss:)14:17
bregmafeel free to tackle those14:17
bregmaI guess I can do the configuration options in geis today14:18
cndyay14:18
bregmais there a list of what needs to be configured?  a bug maybe?14:18
bregmaI have: drag threshold, pinch timeout, pinch threshold, drag timeout, rotate threshold, rotate timeout, tap threshold, tap timeout14:21
dandrader|afkreading about touch ownership and touch grabs. improving the port of unity gestures code to geisv2  api14:21
cndbregma, that looks like it's it, but you can check the grail docs if you want14:28
cndlook at the UGSubscriptionProperty list14:28
bregma'swhat I did14:32
cndbregma, the good news is that all the geis tests pass on behemoth14:32
cndthe bad news is that all the geis tests pass on behemoth14:33
bregmaall the geis tests pass on my machines, at least the first time14:33
bregmamaybe 1 out of 3 subsequent runs without a rebuild14:34
cndhmm14:35
bregmadepending on the phase of the moon and of the markets are rising or falling14:35
cndit's weird that it fails on both amd64 and i386 in jenkins14:35
bregmaI had the amd64 build pass that fail point and fail on a bug in the test case14:36
bregmaI pushed in a fix for the test case and then it failed on the transient error14:36
=== dandrader|afk is now known as dandrader
cndheh14:37
cndbregma, in geis2/gtest_devices.cpp you create a no-atomic geis14:39
cndbut you don't ever accept or reject the touches14:39
cndthe gestures I mean14:39
cndit could be that there is some stale state carried over from one test to the next?14:40
cndoooh14:41
cndI might see the issue14:41
cndin GTestGeisFixture::SetUp(), it advertises XI 2.2 support14:41
cndin GeisDeviceTests, it doesn't14:41
cndGeisDeviceTests::SetUp() that is14:41
cndso accepting and rejecting touches will fail14:42
cndI don't know why it doesn't always fail though...14:42
cndoh, because it doesn't actually accept or reject touches14:43
cndwhen geis is closed and the client connection closes, the X server is rejecting the touches automatically I bet14:44
bregmaI intercept the XClose call errors, the failing call is coming from elsewhere14:45
cndthe failing call is an XIAllowEvents14:45
cndwhich is used to accept/reject touches14:45
cndso when it fails, it is actually making accept/reject requests14:46
dandradercnd, did the fix for https://bugs.launchpad.net/unity/+bug/978378 work after that device reporting bug on geisv1 was fixed?14:46
cnddandrader, oh right, let me check14:46
cndbregma, I bet that intermittently grail is not recognizing the gesture14:46
cndand it then rejects the touches14:47
cndbut that rejection fails because the client hasn't advertised XI 2.2 support14:47
cndhuh... I'm not getting any gestures any more14:49
cndit could be due to my X changes...14:49
cndargh14:49
bregmaI don't see a GeisDeviceTests::SetUp(), am I missing something?14:50
cndyeah, I was reading it wrong14:56
cndbregma, I think the code is correct14:57
cndI need to think of why else it would fail...14:57
cnddandrader, four touch tap works14:59
cndI think maybe your code broke something14:59
cndwill check14:59
dandradercnd, ?14:59
cndI can't get the three touch window decorations to show up15:00
cndor move the window15:00
cnddandrader, it looks like the coordinates are in device coords instead of screen coords15:01
cndso FindCompWindowAtPos doesn't find any window15:01
dandradercnd, for  direct device?15:02
cndyeah15:02
dandradercnd, touches  always come in device coordinates, right?15:03
cndso grail gives you both15:04
cndthe question is what geis does?15:04
cndI think geis may only give one of them15:04
cndand for direct devices, it should be giving screen coords now15:04
dandraderyet another thing to be documented in geis API: in what coordinate system touch points come15:05
cndyeah15:06
cndbregma, does that seem right to you? we should be sending direct touch position in screen coords?15:06
bregmahasn;t this been discussed many times?15:09
cndprobably15:09
cndbut it seems we still haven't completely resolved everything15:09
bregmaI believe the resolution was that direct devices give screen coordinates and indirect devices give device coordinates (as in, the input device, not the display device containing the pointer)15:11
bregmareally, it absolutely needs to be documented somewhere15:12
cndyeah15:13
cndthough to be completely accurate, direct devices are in window coordinates15:14
cndwhich for unity's case is the same as screen coords15:14
cndsince it's on the root window15:14
cnddandrader, would you be happy to tackle this?15:14
dandraderyes15:16
cndbiab15:16
dandradercnd,  but if the touch points of a direct device are in window coordinates why they don't  hit anything in FinCompWindowAtPos()?15:16
cnddandrader, that's the problem15:40
cndthey aren't in window coords right now15:40
cndthey are in screen coords15:40
cndsorry, they are in device coords right now15:40
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
dandraderbregma, is the current geis implementation capable of sending events with more than one GeisGroup?18:39
bregmathe library is, I don;t thing the grail back end is18:40
dandraderhmm, ok18:41
bregmait's not that it's not capable, I just don't think grail will do that ... I could be wrong18:47
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
ah-i'm having problems with multitouch on a macbook pro 6,2, gestures don't work, both geistest and ginn say "error subscribing to gestures"20:38
ah-is filing a bug against utouch the right way to report this?20:39
ah-full geistest output: http://nopaste.me/paste/18998271854f888cc2d99a920:39
ah-this has changed quite a lot during the last weeks, but multitouch never really worked20:39
ah-a few days i'd get this error, then it would subscribe to gestures but not actually recognize them and then after the next dist-upgrade i got the same error again20:40
bregmayou're going to have trouble if you;re trying to subscribe to the root window, unity has already grabbed gesture there20:51
ah-i'm using gnome shell21:04
ah-and gestures don't work in unity either21:05
bregmawell, the error subscribing to gestures is almost certainly because there's already a gesture grab on the root window -- geistest without arguments tries to grab the root window21:06
bregmatry running geistest with a different window (xwininfo can give you the window ID)21:06
bregmageistest -w 0xdeadbeef21:07
ah-ah great, thanks21:09
ah-somehow ginn was already running21:09
bregmayou can go to "startup applications" and disable it21:10
cndah-, if you have the utouch daily ppa installed, it runs by default21:11
ah-that explains it cnd21:12
ah-i still have problems with gesture recognition with ginn21:17
ah-using this wishes.xml: http://nopaste.me/paste/4613804954f8897d9aad0421:17
ah-the gesture outputting j works fine, the one listening on finish doesn't work21:17
ah-a few days ago i got the sources for ginn with apt-get source and added a few more debug messages21:18
ah-to version ginn-0.2.5+r89+p14~precise1 to be precise21:18
ah-this results in this log: http://nopaste.me/paste/9093497654f8898592beca21:19
bregmamaintenance on ginn has fallen behind21:23
ah-any other way to get a swipe to trigger a key press in gnome shell?21:24
ah-touchegg doesn't work either21:24
ah-it segfaults, but i think there's already a bug filed against it21:24
cndah-, you may want to run with GRAIL_DEBUG=-1 and/or GEIS_DEBUG=321:25
cndthen you can attach the log to a bug report21:25
cndand we can try to figure out what went wrong21:25
ah-for touchegg?21:26
cndsure21:26
cndand for ginn21:27
cndwe can at least make sure that the underlying utouch stack is working properly21:27
cndbut note that we don't develop touchegg, and we don't really support ginn much21:27
ah-ok, i'll do that21:28
bregmawe do accept contributions if you have a fix, though21:29
ah-well if i happen to fix it i'll surely send a patch21:31
cnd:)21:31

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