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

SatorisTouch behaviour has changed. If I put down three fingers and drag, I get window movement. If I put down two, drag, and then put down a third, I don't get window movement, the touches go to the app.08:17
SatorisEarlier three fingers were always grabbed. Is this intentional?08:18
SatorisAlso, if the window manipulation handles appear, the application still gets the touches. This is also different.08:31
=== tvoss|dinner is now known as tvoss
=== tvoss is now known as tvoss|lunch
SatorisDoes Unity 2D crash on login for anyone else? I filed a bug on it, but it's currently private so I can't link to it.11:51
=== MacSlow is now known as MacSlow|lunch
SatorisApparently touch propagation is different depending on whether you consume XInput events from the virtual pointer or the device directly.12:26
=== tvoss|lunch is now known as tvoss
SatorisIs Bluetooth pairing broken today? [ ] yes [ ] no [ ] only on some machines12:40
=== MacSlow|lunch is now known as MacSlow
cndgood morning everyone :)14:14
tvossrefactored chromium patch according to feedback from devs, working on integration tests for the patch (evemu-based), jenkins vm setup (beta2 and arm)14:14
cndbregma, Satoris, tvoss: standups!14:14
tvosshi chase :)14:14
cndthere are a couple X server and synaptics bugs that I need to get fixed14:15
SatorisTrying to flush out bugs since the old ones are fixed. Found stuff in the backlog. Did not file bugs as I did not know if they are intentional.14:15
cndI'll try to fix them today, and then help out with any bugs14:15
tvosscnd, @evemu testing: can we move utouch::evemu::Recording and utouch::evemu::Device out of grail into evemu?14:16
cndSatoris, yes, touches are sent through both the master and the slave device14:16
Satoriscnd: but they are delivered differently.14:17
cndtvoss, do you mean testing::evemu::Recording and Device?14:17
tvosscnd, ack14:17
cndSatoris, yeah14:17
cndtvoss, they are in xorg-gtest now14:17
cndjust need to convert grail over14:17
tvosscnd, cool, will use xorg-gtest in chromium then :)14:17
cndheh14:17
tvosscnd, for adding a test for the patch14:18
cndSatoris, touches from master and slave devices are completely independent14:18
cndif you grab on one device, you will still be allowing thouches through the other14:18
cndwell, if you grab the slave it detaches from the master, so I guess that's different14:19
SatorisI find it counterintuitive that Unity steals three finger touches from core pointer but not the device itself.14:19
cndSatoris, yeah, but it's how xinput is supposed to work14:20
SatorisOk. What about the continuation thingy?14:20
bregmaI'm trying to run everything through valgrind today to make sure stuff is clean in that respect14:21
cndSatoris, if it's a behavior break, then the old behavior was wrong I think14:22
cndthis area isn't really spec'd out too well, IIRC14:22
cndhmm, actually, thinking some more14:23
cndwe may have to do it that way14:23
cndI'm imagining a scenario where the application has 0 threshold drags for scrolling14:24
SatorisIt seems cleaner to me that you have to start with three fingers to get the window manipulation actions. But this is a change in behaviour and I worry about getting nasty emails on this :)14:24
cndthe two touch gesture will fire immediately14:24
cndbut when you put a third touch down, it must cause a unity gestures14:24
cndwait, that's why we have the glue, or construction, time...14:25
cndok, I think we have it right14:25
SatorisI dislike Unity stealing my two finger drags if I accidentally touch the touchpad with a third finger.14:25
cndyeah14:25
SatorisThe correct behaviour is somewhere in the design team's brains. I have no idea what it is.14:26
* cnd wonders where dandrader is14:27
bregmaat the bank14:27
bregmalooking for a banker that won;t rip him off14:27
bregmabest of luck14:27
SatorisI hope he remembered to take his shotgun along.14:28
cndoh right14:29
tvosscnd, do we have a conf call today?14:31
cndwe're supposed to14:31
cndI'm dialed in14:31
tvosscnd, same here, pinged olli14:31
cndSatoris, when leaving bug feedback that requires the user to provide feedback, remember to move the bug to incomplete14:33
cndit starts the expiration timer on the bug :)14:33
bregmaoff the hook this week14:33
cndbregma, off the hook?14:33
olliaufgeschoben ist nicht aufgehoben ;)14:33
SatorisOk.14:34
olliask tvoss to translate14:34
cndbregma, Satoris: no meeting14:34
cndit'll be rescheduled14:34
cndand olli is giving us $100 each in compensation14:34
tvossaufgeschoben ist nicht aufgehoben = postponed but not cancelled14:35
tvosscnd, ;)14:35
cndtvoss, the compensation bit was in that german sentence, wasn't it?14:35
tvosscnd, no, the german sentence basically means: I'm coming back to you guys, don't think you are done yet ;)14:36
tvosscnd, thinking more about it: yes, it was part of the sentence14:36
cndright14:36
cnd:)14:36
SatorisEspecially if you interpret it as Switzerland German rather than hochdeutsch.14:37
bregmaif you were Austrian, I image you'd say something like "hasta la vista, baby... I'll be back"14:37
cndheh14:38
cndSatoris, any updates on the bug counter script?14:39
SatorisIt's better than "Come with me if you want to live!".14:39
Satoriscnd: dynamic detection won't work until launchpadlib is fixed. Other than that it works just fine.14:39
cndhmm... it worked fine for me using the launchpadlib example script14:40
cndwhy is it different for us?14:40
SatorisBecause it uses a different Python library. The imports are different.14:40
Satorishttps://bugs.launchpad.net/launchpadlib/+bug/96895214:41
cndSatoris, we should be using arsenal14:41
cndI would like to get this merged into arsenal, and creating qa reports like other teams are doing14:42
cndI think that's the proper end goal for this project14:42
SatorisShould I file a merge request now or after the bug has been fixed?14:42
cndSatoris, well, we need to fix the script so it uses arsenal and can get the team-subscribed packages14:43
cndarsenal also has web page templates that we need to integrate with or extend14:43
SatorisWhat sort of integration do you mean? The arsenal scripts that I have looked at (granted, only a few) are straightforward "get stuff from Launchpad using the API and print it".14:44
SatorisOutput formats, sure.14:44
cndwhatever integration is needed to get the subscribed packages/projects14:45
cndsince it works through arsenal somehow14:45
cndbut then also whatever integration is needed for the web page qa reports too14:45
SatorisWhich is the Correct and Supported Python library to use? Launchpadlib or the other one that Arsenal scripts use?14:46
SatorisAll documentation that I see points to Launchpadlib.'14:48
cndfor the ubuntu qa stuff, I would say arsenal14:49
cndit's maintained by many teams across ubuntu14:49
cndwith launchpadlib, we'd be on our own14:49
cndand the purpose of arsenal is to make launchpadlib easier to work with, though I can't personally attest to how true that is14:50
SatorisSo essentially what we are talking about is a complete rewrite?14:50
SatorisAnd looking (again, cursorily) at Arsenal, it seems more like a collection of scripts than an actual library.14:51
cndof a 146 line script?14:51
SatorisWell, yes.14:52
cndSatoris, let's plan for the end goal14:52
cndwe want a bug report that is updated routinely and available for people to see14:52
cndthe arsenal platform does this for many other teams14:52
cndand has extensible (hopefully) html qa report templates14:53
cndso although we can make a cli script that everyone has to run individually, integrating into the existing projects used by other teams is a better long-term solution14:53
cndand would allow devs to bookmark a url14:54
SatorisYes.14:54
cndtvoss, I can't access the jenkins web portal for creating one-shot jobs14:56
SatorisWhat I'm concerned about is the data acquisition backend.14:56
cndSatoris, what concerns do you have?14:57
SatorisWhy do they use a different Python API? Why are there two? Is one of the deprecated?14:57
SatorisIf yes, which one?14:58
cndpython-launchpadlib-toolkit is built on top of launchpadlib14:59
cndneither is deprecated14:59
cndthe toolkit is hopefully easier to use14:59
cndbut documentation is scarce for both14:59
tvosscnd, checking, thanks for the hint14:59
SatorisOk, I'll change it to use Arsenal tomorrow.15:00
cndSatoris, sounds good, and then look into the html report templates15:01
cndsee if you can get it all hooked up so we have nice looking reports15:01
cndin the end, I think we will want to modify an existing template15:01
cndso we can see all the bug tasks for a given bug15:01
tvosscnd, up and running again, checking why it was terminated15:02
cndcurrently, I think all the other reports are for ubuntu downstream only15:02
SatorisTill tomorrow then.15:03
tvosscnd, is the 99-virtual-device-conf snippet already in xorg-gtest?15:08
cndtvoss, it's in git15:08
cndbut it hasn't been released yet15:08
tvosscnd, ack, preparing the beta2 vm's currently15:08
tvosscnd, frame, grail and geis all need --enable-integration-tests?15:47
bregmathey should, yes15:52
tvossthanks15:53
cndtvoss, it's automatic15:58
cndthey don't need it if all the dependencies are available15:58
cndlike xorg-gtest15:58
cndand evemu15:58
=== tvoss is now known as tvoss|back_in_10
=== tvoss|back_in_10 is now known as tvoss
dandradercnd, it's gonna be painful to put those fixes into 12.04 Unity18:19
cndhmm?18:19
dandraderthey wanna see tests (I can't blame them for that)18:19
dandraderthe gesture fixes18:19
cndhmm... ok18:19
cnddandrader, well, we need to do the best we can18:19
cnddandrader, feel free to ask for help18:19
cnddandrader, can you subscribe utouch-team to the merge proposals?18:20
dandradersure. the interesting thing is that unity gestures code have never received any kind of testing at all, so it seems18:20
cnddandrader, yeah18:21
cndI would love to say that it's not our fault it doesn't have any tests18:21
cndbut I think it'll fall on deaf ears18:21
tvosscnd, dandrader you could propose manual tests in the mp :)19:31
dandradertvoss,  yeah, the last resort19:32
cndyeah, I think that's the most straightforward19:32
cndbut I don't know what the difference is between an autopilot test and a unit test19:33
cndI think asking the unity team for help in determining the best course of action may help19:33
tvosscnd, an autopilot test basically means specifying behavior and expected result in terms of unity state19:33
cndthey can give guidance on how tests could be factored19:33
cndtvoss, would that work here?19:34
tvosscnd, dandrader you might want to ask thomi or lamalex, they are the autopilot gurus19:34
tvosscnd, I do not know as autopilot might only be able to move the mouse pointer, but lacking infrastructure to inject touches19:34
tvossah, wait ... evemu has a python wrapper, right?19:34
cndtvoss, yes19:34
cndbut you'd need a full stack19:35
cndkernel, X server, etc.19:35
cndis that all available in the autopilot tests?19:35
tvosscnd, yes, they are providing a full featured setup19:35
cndok19:35
cndthen that may work19:35
tvosscnd, then it might be well possible to think about an autopilot test, like: replay recording and check whether unity recognized a 3-finger drag and triggered the respective action19:36
cndyeah19:36
lamalextvoss, it shouldn't be very hard to add support though19:40
lamalexit'd actually be very good for us to add multi touch emulation support into autopilot19:41
lamalexso those features are getting testing19:41
tvosslamalex, great ... can you help with that? I'm pretty much a noob regarding autopilot and it would take me some time to dive into it19:41
lamalextvoss, it's really, really, really simple19:42
tvosslamalex, okay, any hints? :)19:42
lamalexstart with lp:unity tests/autopilot/autopilot/emulators19:43
lamalextake a look at X11.py for how we do the mouse and such19:43
lamalexyou're basically just writing a wrapper for utouch that is a fake user using utouch19:43
tvosslamalex, okay, will take a look ... let's see if I can make any meaning out of it19:43
lamalextvoss, most of the complex code in autopilot is related to unity- not really the mouse/keyboard bits. those are really simple19:44
lamalexif you've got any questions though just give  a ping19:44
tvosslamalex, great, thanks :)19:44
cndlamalex, have you guys looked into xorg-gtest by any chance?19:50
cndI don't really know how you have the testing set up19:51
cndbut if it's gtest-based, then it may help19:51
lamalexno, it's all python- it's based on the testtools/unittest19:54
cndok19:55
tvosslamalex, do I understand that correctly that we only would need a class MultiTouchDevice in X11.px that offers methods like PlayFourTouchDrag for example?20:03
lamalexyup20:04
lamalexthats about right20:04
lamalexmight want something like FourFingerDrag(x1, y1, x2, y2, path)20:04
=== popey_ is now known as popey
=== Daviey_ is now known as Daviey
dandraderlamalex,  should "make check" from unity/build also run those autopilot tests or do I need to do something else to make it work?20:31
dandraderok, so I need to run unity/tools/autopilot and there's no longer a run_autopilot...21:02
=== dandrader is now known as dandrader|afk
cndoh bregma...23:25
cndI forgot to tell you23:25
cndI had to branch lp:utouch-frame/ubuntu to lp:utouch-frame/precise23:26
cndbecause the debhelper 9 stuff would be a feature freeze break23:26
cndbregma, according to slangasek, we need to test build everything that has a build-depends on utouch-frame now23:34
bregmawhat do you mean?23:34
cndutouch-grail, mtview, geis23:34
cndbregma, so you uploaded a version of utouch-frame that has multiarch23:35
cndbefore friday, utouch-frame did not have multiarch23:35
bregmaright, but is that not the default in precise?23:35
cndswitching from non-multiarch to multiarch is a change that requires a FFe23:36
cndbecause it can break builds23:36
cndrather than revert what's already done, we need to test build all the packages that build-depend on frame23:36
cndpdebuilds23:36
bregmaeverything in the utouch stack should be on debhelper 9, and multi-arch, now23:37
bregmaI did not know it required a FFe23:37
cndI should have mentioned it when I branched the packaging branches23:37
bregmawhat was the information path through which you found out it required a FFe?23:38
cndI asked on #ubuntu-devel23:38
cndjust cause I had a feeling it might be something that required it23:39
bregmathe only way there could be a breakage is if something hard codes the path to the libraries instead of using the pkg-config files23:40
cndyeah23:41
cndI'm going to run pdebuild on the packages23:41
bregmayou know I already did that before I uploladed utouch-geis23:43
cndbregma, did what?23:44
bregmaI've rebuild evemu,frame,grail,and geis in my pbuilder23:44
bregmait picks up its build results and builds on them23:44
bregmaonyl things that depend on utouch-geis should have to be build tested23:44
cndgeis doesn't expose frame23:45
cndso we don't actually need to worry about it23:45
cndI mean, we don't need to worry about build failures for packages that depend on geis23:45
cndok, mtview built23:47
cndI'll just double check utouch-grail and utouch-geis23:47
cndcjwatson beat me to it23:48
cndbregma, the last thing we need to do is determine what the state of lp:utouch-frame/ubuntu and lp:utouch-frame/precise is23:52
cndwhich did you update when you released the package?23:52
cndit looks like you released in ubuntu and merged it into precise?23:53
cndif so, then we're probably fine23:53
bregmayes, that's what I did23:54
bregmathe 'ubuntu' archives should be for ongoing work, the repo named after the release should be for patch releases only -- which only makes sense after final freeze23:57
bregmaso prior to final freeze, the two should conceptually be identical23:57
bregmathat was my reasoning23:57

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