/srv/irclogs.ubuntu.com/2014/01/09/#ubuntu-unity.txt

=== duflu_ is now known as duflu
mzanettiSaviq: o/08:26
mzanettihttps://code.launchpad.net/~mzanetti/unity8/tests-qml-in-cmake/+merge/20087208:26
Saviqmzanetti, yup, saw that08:26
Saviqmzanetti, there's images in there, too, shall we go for /tests/qmltests/* as well?08:27
Saviqmzanetti, or explicit .png, .svg, .sci?08:28
SaviqMirv, just tried to build unity-api i386 in a local sbuild with the latest qtdeclarative - it worked fine, so thumbs up!08:41
Saviqmzanetti, could you look at https://code.launchpad.net/~unity-team/unity8/new-scopes-horizontal-card-layout/+merge/200910 - I've put too much of my hands into that for a clean-conscience review ;)08:44
mzanettiSaviq: ack08:44
mzanettiSaviq: updated the other one btw08:45
Saviqmzanetti, cheers08:45
mzanettiSaviq: I went for * to be in line with the qml dir08:45
Saviqmzanetti, uh oh I don't think that's gonna work08:45
Saviqmzanetti, you just added all the mocks' .h and .cpp to the unity8 executable08:45
mzanettioh crap. you're right08:46
Saviqmzanetti, that's why I said tests/qmltests/*, but tests/*.qml, tests/*.js08:46
mzanettiyeah, makes sense08:47
tsdgeosouch08:47
tsdgeosour ci is looking too red http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/08:47
Saviqtsdgeos, indeed :/08:47
tsdgeostoo much autopilot failures it seems08:48
tsdgeosSaviq: that thing is conflicting, no?08:49
Saviqtsdgeos, "that thing"?08:49
tsdgeosSaviq: new-scopes-horizontal-card-layout08:50
Saviqtsdgeos, yeah just saw08:50
Saviqinteresting08:50
tsdgeosSaviq: but i see the CI was from an old rev08:50
tsdgeosso the two new revs maybe fix it08:50
MirvSaviq: yeah, unity-api seems good now! so it's a definite improvement, but gsettings-qt is still blocking progress from here (to eg. a point where Unity would need to be uninstalled when upgrading to Qt 5.2)08:50
Saviqtsdgeos, well, I manually launched ci for it, and it's not going into lp:unity8 directly but in the new-scopes branch08:50
Saviqtsdgeos, so that might be why08:50
SaviqMirv, :/08:51
MirvSaviq: I needed to force Qt Declarative version number to 5.2.0 from 5.2.1, since otherwise CMake would error out on incompatible versions. I hope this system works.08:51
tsdgeosMirv: gsettings-qt is failing even with "qtdeclarative stable branch"?08:51
Mirvtsdgeos: yes08:51
tsdgeosweird08:51
tsdgeosMirv: what's the error?08:51
tsdgeosstill that xvfb thing?08:51
Mirvtsdgeos: still that. bug #125914508:52
ubot5bug 1259145 in gsettings-qt "gsettings-qt fails to build (run tests) against Qt 5.2" [Critical,Confirmed] https://launchpad.net/bugs/125914508:52
Saviqmzanetti, does qmluitests have lp:unity8 hardcoded somewhere?08:52
Saviqmzanetti, could it use target_branch instead?08:52
Saviqmzanetti, seems that's where the failure in https://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/850/console comes from - it's merging lp:unity8 into it instead of the new-scopes branch08:53
tsdgeosMirv: maybe indeed it's the "can't access X" thing and not the problem with qqmlpropertymap that is causing that, tests pass locally here in my machine08:53
tsdgeosbut indeed i do have X around08:54
tsdgeos:D08:54
Mirvthe builders don't have, although they should have xvfb (but no 3d acceleration) - like I mention in the bug report, I have a vague memory SDK team battled with something similar in ubuntu-ui-toolkit08:55
tsdgeosfor 5.2? or in the beginning?08:56
tsdgeosi mean why would have this changed in 5.2?08:56
tsdgeosbesides because "everything broke" :D08:56
Mirvtsdgeos: around 5.2, like when they were testing building against RC108:57
tsdgeosi see08:58
tsdgeosthen it may very well be yeah08:58
mzanettiSaviq: fixed08:59
mzanettici, that is ^^08:59
tsdgeosMirv: can you test this patch? http://paste.ubuntu.com/6719664/09:02
tsdgeosMirv: or you prefer me to get it into gsettings-qt ?09:03
tsdgeosMirv: i can reproduce the error if no X is avaiable here and this patch fixes it09:03
tsdgeoslarsu: ↑↑↑↑ ?09:03
Mirvtsdgeos: that would make sense, since the QA team adding tests into Qt modules is using QT_QPA_PLATFORM=minimal as well09:04
MirvI can test in a PPA09:04
larsutsdgeos: sounds sane to me09:04
tsdgeoslarsu: Mirv: so want me to propose the merge first or first check the patch in a ppa quick?09:05
Saviqmzanetti, thanks09:06
larsutsdgeos, Mirv: I don't care. This looks like a good idea in any case so feel free to propose the merge09:07
Saviqchain reaction of cats scaring themselves and each other... plus hardfloors... priceless09:08
Mirvtsdgeos: building now https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily/+sourcepub/3808316/+listing-archive-extra09:08
Mirvseems good now09:12
tsdgeos\o/09:13
tsdgeoslarsu: Mirv: https://code.launchpad.net/~aacid/gsettings-qt/use_minimal_qpa_for_test/+merge/20097109:15
tsdgeoscan anyone remind me how i run autopilot manually in a unity8 builddir?09:15
tsdgeosSaviq: mzanetti: ↑↑09:18
Saviqnope09:19
mzanettinow he's gone09:19
tsdgeosoh man, running autopilot killed my X :-S09:21
tsdgeosif i disappear again09:21
tsdgeosyou know why09:22
tsdgeosi'm doing something very wrong or we don't support running the tests on the desktop?09:25
tsdgeosRan 52 tests in 112.281s09:25
tsdgeosFAILED (failures=46)09:25
tsdgeosSaviq: your input needed at https://bugs.launchpad.net/unity8/+bug/126713509:27
ubot5Ubuntu bug 1267135 in Network Menu "network-indicator should provide the "Please enter SIM PIN" text" [Undecided,Incomplete]09:27
Saviqtsdgeos, done09:32
Saviqtsdgeos, you need to make -C builddir install first09:33
tsdgeosSaviq: hmmmmmm, looking at the text it may not even be "correct"09:33
Saviqtsdgeos, and then PYTHONPATH=tests/autopilot autopilot list unity809:33
tsdgeosor maybe it is09:33
Saviqtsdgeos, sure, but that's orthogonal to the fact that unity8 should have no knowledge of those strings09:33
Saviqtsdgeos, that will list you the tests, s/list/run/ will run them09:34
tsdgeosagreed09:34
tsdgeosjust saying that maybe is just some placeholder09:34
tsdgeosok, let me see09:34
tsdgeossee about the autopilot, not about the text :D09:35
tsdgeosSaviq: i guess we should document that PYTHONPATH stuff somewhere09:36
tsdgeosi'll forget to the next time :D09:36
Saviqtsdgeos, you should do more python, you won't forget then ;)09:38
tsdgeosoh no09:44
tsdgeosi know about PYTHONPATH09:44
tsdgeosit's just about the whole lot09:44
tsdgeosof installing09:44
tsdgeosand bla bla09:44
tsdgeoslarsu: Mirv: top-approve? https://code.launchpad.net/~aacid/gsettings-qt/use_minimal_qpa_for_test/+merge/20097109:50
larsutsdgeos: ah sorry. Done.09:51
Cimiseb128, https://code.launchpad.net/~unity-team/ubuntu-system-settings/welcome-wizard/+merge/186862 :)09:51
Mirvyeah I thought to give the top-approve honor to lar_su09:51
seb128Cimi, it's on my list, quite some backlog after holidays09:51
Cimiseb128, good it's on your list09:52
Cimiseb128, let me know when you're planning to review it09:52
seb128Cimi, and we had to spend time fixing ubuntu-themes issues, since you don't do it, which means less cycles for reviews...09:52
Cimiseb128, in case I'll branch and propose something dependent on it09:52
seb128Cimi, if you were doing your job I could be reviewing that...09:52
Cimiseb128, I am doing my job09:52
larsuMirv: thanks :) I feel honored!09:52
seb128Cimi, the theme bug larsu fixed yesterday were assigned to you since novembre and you didn't act on them09:53
Cimiseb128, because we have other priorities09:53
Cimiit's not the only bug I have assigned and I didn't act yet09:54
seb128k09:54
seb128well, anyway, the wizard in on my todolist09:54
seb128I'm going to try to get to it today09:54
Cimiseb128, good!!09:54
Cimiseb128, I'll work on add the wifi page correctly09:54
seb128great09:55
Cimiseb128, btw09:55
Cimiseb128, I saw marco's work on the css decorations09:55
Cimiseb128, it looks really cool and no more aliased corners :)09:55
Cimiseb128, he stayed at mine for the new years eve09:55
Cimiand was working on that!09:56
seb128you crazy Italians ;-)09:56
tsdgeosSaviq: https://code.launchpad.net/~aacid/unity8/coding_autopilot_docu/+merge/200974 ?09:59
Saviqtsdgeos, we also have a "make -C builddir autopilot" target, could you check out whether it works - and if not - see why?10:06
tsdgeossure10:07
tsdgeosSaviq: nah, nope working10:11
tsdgeoschecking why10:11
tsdgeosfunny thing is that with ninja it works10:25
tsdgeosSaviq: bascially it seems "it can't be done"10:34
tsdgeosinstall is not a target you can depend on in cmake10:35
tsdgeosif you're using make10:35
tsdgeosfor some reason10:35
Saviqtsdgeos, we can have a custom target that will run cmake --build --target install, though10:35
Saviqtsdgeos, a custom command or whatnot10:36
tsdgeoshmmm10:36
tsdgeoslet me see10:36
Saviqtsdgeos, or actually make the autopilot target do that10:36
Saviqtsdgeos, otherwise it wouldn't be called every time10:36
tsdgeosyeah that'd work10:38
tsdgeosor should :D10:38
tsdgeosSaviq: updated https://code.launchpad.net/~aacid/unity8/coding_autopilot_docu/+merge/20097411:00
=== davmor2_ is now known as davmor2
tsdgeosand another one11:23
tsdgeoshttps://code.launchpad.net/~aacid/unity8/timeformattertest_LCALL_C/+merge/20099111:23
=== _salem is now known as salem_
Mirvgreyback: can you get a manager add platform-api to Landing Asks in case https://code.launchpad.net/~ricmm/platform-api/set-dimensions/+merge/198490 is meant to go in? (landed after platform-api was released yesterday)11:42
Mirvricardo mentioned that commit so in case it's useful to have it fast it's better to add it already to the list11:43
greybackMirv: ok. kgunn ^^11:44
=== pete-woods is now known as pete-woods|fight
=== pete-woods|fight is now known as pete-woods|away
tsdgeosSaviq: so was thinking about the organic positioner and how it's supposed to get bigger as the width increases and until two modules fit in the width12:34
Saviqtsdgeos, again, I don't think it's your concern12:35
Saviqtsdgeos, I think a QML wrapper will do that12:35
tsdgeosSaviq: and was wondering if we can just do that in the QML side and on the C++ side we just have size and spacing12:35
tsdgeosand someone cares about making it match12:35
tsdgeosok, same thought then12:35
Saviqtsdgeos, yeah, justs have a prop "moduleSize" or so12:35
Saviqor width12:35
Saviqand spacing, exactly12:35
Saviqtsdgeos, same spacing between items as well as between modules, right?12:36
tsdgeosSaviq: i was thinkin on having spacing (for in between delagates) and then smallSize and bigSize properties12:36
tsdgeosand with that i can calculate everything and see if i can have one or more modules per row12:36
Saviqtsdgeos, ok, that's maybe even better12:36
Saviqit's not as if it's going to be difficult to calculate12:37
Saviqtsdgeos, +q12:37
Saviq+1 even12:37
tsdgeosD:12:37
=== Trevinho_ is now known as Trevinho
=== pete-woods|away is now known as pete-woods
=== zequence_ is now known as zequence
=== alan_g is now known as alan_g|lunch
Saviqtsdgeos, https://code.launchpad.net/~allanlesage/unity8/autopilot-indicator-page-title-matches-widget/+merge/196991/comments/46738213:25
=== dandrader is now known as dandrader|afk
SaviqWellark_, bug-chat seems to have problems ;)13:40
SaviqWellark_, the SIM PIN *dialog* is part of unity813:40
Saviqalready13:40
SaviqWellark_, and the UI is displayed as the screenshots show (they're screenshot from a real phone)13:40
SaviqWellark_, the only thing is the string, which is now hardcoded in unity8, but should be provided by whoever requests that dialog (most probably indicator-network)13:41
SaviqWellark_, is that somewhat more clear?13:41
Wellark_Saviq: yes, I got that it's already part of unity813:41
Wellark_I'm just trying to figure out what you want changed :)13:41
Wellark_and if it's just the hardcoded string13:41
Wellark_then fine :)13:41
SaviqWellark_, yes, only that - which means changes in unity8, unity-notifications potentially, and indicator-network13:42
Wellark_Saviq: yeah. the dialog needs a dbus interface also13:42
Wellark_so that indicator-network can update the values and provide the modem state13:42
SaviqWellark_, it already does - it really really actually works already ;)13:42
Wellark_I'm skeptical ;)13:42
SaviqWellark_, over a snap decision + UnityMenuModel13:42
Saviqso "extended snap decision"13:43
Wellark_Saviq: ok. I'm working on the connectivity api atm, until the end of next week13:43
Wellark_then it's 100% for indicator-network for me13:44
Wellark_Saviq: how much in a hurry are you with this?13:44
SaviqWellark_, not at all ;)13:44
Saviqdednick, http://ddebs.ubuntu.com/pool/main/m/mir/ btw :/13:44
dednickSaviq: thanks13:45
Wellark_Saviq: ok. let's leave the bug open then and make the hardcoded string dissapear in near future13:45
SaviqWellark_, +1, that's all I needed :)13:45
Saviqdednick, apparently index generation didn't catch up yet13:45
kgunngreyback: about to run the boy up to school....so i assume you want that papi mp ?13:50
greybackkgunn: yes, that and https://code.launchpad.net/~ricmm/qtubuntu/papi-setdimensions/+merge/19849813:50
=== dandrader|afk is now known as dandrader
kgunngreyback: thanks...sidestage i assume13:55
Saviqtsdgeos, re: open_scope tests... if you look at https://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/1871/artifact/results/autopilot/artifacts/unity8.shell.tests.test_notifications.EphemeralNotificationsTests.test_urgency_order%20%28Desktop%20Nexus%204%29.ogv - it looks like the test is interrupted somehow13:55
greybackkgunn: yep13:55
Saviqtsdgeos, apparently we don't get unity8.log there unfortunately13:56
tsdgeosoh :/13:56
tsdgeosyeah it looks like it ends "too early"13:56
Saviqtsdgeos, I've seen that a few times already, no idea where it comes from13:57
kgunngreyback: before i top approve...any idea why that qtubuntu ci has failed so many times?13:58
Saviqfginther, does testrunner-otto collect .crash files? and could it collect unity8.log from .cache/upstart/?13:58
Saviqfginther, we have trouble understanding / reproducing https://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/1871/ :/13:58
greybackkgunn: it depends on that papi change to land first.13:58
kgunngreyback: thank you sir13:58
fgintherSaviq, I'll check on that, if it's not collecting them, it should be easy to add them13:59
kgunnMirv: ok...added "set dimension" support mp's to landing ask for papi & qtubuntu14:00
tsdgeosMirv: https://code.launchpad.net/~aacid/qml-friends/use_minimal_qpa_for_test/+merge/201009 same trick worked14:12
Saviqwoohoo, stuff is looking greener in qt5-beta214:14
=== alan_g|lunch is now known as alan_g
Saviqmzanetti, re: new-scopes-horizontal14:18
Saviqmzanetti, you sure the tests pass regardless? do you have an explanation?14:19
mzanettiSaviq: probably that function() in data() doesn't work14:19
Saviqmzanetti, it doesn't have to "work" and well, why wouldn't it?14:19
mzanettiSaviq: I tried to just removing the functions in there for consistency and noticed the tests were failing14:19
Saviqmzanetti, the reason for using a lambda there is that the values used to compute change in _test() when the selectedIndex is changed14:19
mzanettithen I reverted and made the functions return bullshit14:20
mzanettistill passing14:20
Saviqmzanetti, humm14:20
Saviqmzanetti, interesting, me checks14:20
Saviqkarni, ↑14:20
mzanettiSaviq: I'm quite sure you can achieve the same without lambdas14:20
* greyback thinks it would be nice if unity8 binary could let you specify a custom directory to load the qml from14:21
* karni reads14:21
Saviqmzanetti, I'm all ears14:21
mzanettiheh14:21
mzanettiok. need to try then. but so far I haven't come across a situation where I would have needed this14:21
karnimzanetti: Saviq: I still wanted to revert the changes and make sure tests would fail, was late yesterday. I'm happy to get on this now, I should have left a comment.14:22
mzanettiSaviq: esp. things like "return 0". why a lambda?14:22
Saviqmzanetti, that was just so that I don't have to do the "if typeof === "function""14:23
mzanettiSaviq: you can define a property int expectedHeaderPos: art.x + art.width14:24
Saviqmzanetti, the situation here is simple: the index: part of the data actually changes the layout14:24
mzanettiand then just refer to that property in the data14:24
mzanettior something like that14:24
Saviqmzanetti, nope, that won't work, 'cause it would get the value in _data()14:24
Saviqmzanetti, well, you'd need to refer to it by name, not14:24
Saviqvalue14:24
karniLike Saviq said, first line setting the selector index changes layout.14:24
Saviqmzanetti, so not a nicer solution that the lambda IMO14:25
Saviqbut /me needs to look14:25
mzanettino... not really nicer...14:25
mzanettianyways... either lambdas in there don't work at all or there is some other mistake14:25
* karni is looking into it14:26
=== rachelliu_ is now known as rachelliu
karniFTR changing the return 0 to return anything else makes the test fail.14:26
* karni looks at another lambda14:27
Saviqmzanetti, changed the tests, FAIL14:27
mzanettiI tried this in line 291:14:27
mzanetti                { tag: "Horizontal", left: function() { return art.width * 2 }, index: 5 }14:27
mzanettinote the *214:27
mzanettistill passing14:27
karnimzanetti: that makes it fail14:27
mzanettidafuq14:27
* mzanetti tries again14:27
Saviqmzanetti, line 291?14:28
mzanettiwhat the heck is going on14:28
mzanettiit fails somethimes here14:28
mzanettiSaviq: in tst_Card.qml14:28
Saviqmzanetti, right, I merged it on top of new-scopes14:28
mzanettiyep. now it passed again _with_ the *214:29
Saviqkarni, can you please do merge lp:~unity-team/unity8/new-scopes14:29
mzanettibut sometimes it fails indeed14:29
karniSaviq: into that MP branch? sure14:29
mzanettihmm... maybe the tryCompare stops by the value with *2 too14:29
Saviqmzanetti, indeed it does14:29
Saviqmzanetti, right, tryCompareFunction then...14:30
karniSaviq: done14:30
Saviqkarni, thanks14:30
karnianytime14:30
Saviqmzanetti, chicken'n'egg problem here, really...14:31
mzanettiyeah... guess so14:31
Saviqmzanetti, so the other possibility is to just use hardcoded units.gu() values if you think it better14:31
SaviqI didn't want to do that14:31
mzanettihmm... dunno14:32
karniSaviq: that would be then specific to a particular card-size, right?14:32
karniif we wanted to hardcode these values.14:32
Saviqmzanetti, hmm now it reliably fails14:32
Saviqmzanetti, pull please14:32
mzanettiI guess now that we know the lambdas are working and the issue was another one I guess I'm fine with it14:33
Saviqmzanetti, well, the fact that it's a chicken'n'egg problem is still an issue14:33
greybackSaviq: mzanetti standup14:33
greybackquit talking about food and get back to work14:33
karnihaha14:33
Saviqkarni, wanna join?14:34
Saviqkarni, Standup on Canonical mumble14:34
karniSaviq: hangout? oh, lemme see quickly if I have it set up14:34
karnisure14:34
karnibeen a while I used mumble14:34
karniwhich room would that be?14:35
karnihrm.. mumble just hung14:35
Saviqkarni, kill, start again ;)14:35
* karni does just that, another hang. gives it a sec.14:35
Saviqkarni, try again ;)14:36
karnithere :)14:37
mzanettigreyback: I'm worried that we'll never ever get our stuff merged again14:42
greybackmzanetti: "we" as in you? :)14:43
mzanettithanks14:43
mzanetti:P14:43
greybackmzanetti: I'm only making the tiniest changes here and there, nothing major at all14:43
greybackmzanetti: I'm keeping eye on your branch14:43
mzanettigreyback: ah, that sounds good :)14:44
mzanettigreyback: are you mostly working in unity-mir or unity8 (aka. ApplicationManagerWrapper)?14:44
Saviqmzanetti, so, what I meant was... if the target value is moving ('cause it depends on the layout) and the tested value is moving, they might "meet" and pass somewhere in the middle...14:46
Saviqmzanetti, although in this case there's no animation, so that should be fine, but still...14:46
greybackmzanetti: yep, most LOC changed are not in unity8 at all.14:46
greybackmzanetti: how close would your work be to landing?14:46
mzanettigreyback: ah ok... my changes in unity-mir are rather small14:46
mzanettigreyback: unfortunately rather far away14:47
mzanettigreyback: I don't think I should still re-implement the old school side stage in my branch14:47
mzanettigreyback: and I don't have a design for the new one yet14:47
mzanettigreyback: the phone stuff is getting closer tho, but our no-breakage policy wouldn't allow it to land without implementing the tablet stage too first14:48
greybackmzanetti: ok. Then I'll be making a couple of minor tweaks to shell.qml and stage.qml probably, that might cause you pain14:48
mzanettigreyback: I've deleted stage.qml in my branch14:48
greybackminor tweaks = 2-3 lines of code changes14:48
greybackmzanetti: yep, so it's only shell.qml really we need to be careful about I think14:49
mzanettiyeah. sounds ok14:49
mzanetticool14:49
greybackyep14:49
mzanettiSaviq: hmm... I'm sure you'll figure a solution :P14:49
* mzanetti prepares for the design meeting14:49
Saviqmzanetti, just using you as a sounding board ;P14:49
mzanettido I?14:49
mzanettioh... read wrong..14:50
mzanettigot it14:50
mzanettibrain FEC is scary sometimes... I read "..as you are sounding bored"14:51
Saviq;D14:52
Saviqtsdgeos, what was the _BAD_RENDER_LOOP thing again?14:53
tsdgeosSaviq: you mean the full name?14:54
Saviqtsdgeos, yeah14:54
tsdgeosQML_BAD_GUI_RENDER_LOOP14:54
Saviqtsdgeos, is it somewhere on doc.qt-project btw?14:54
tsdgeosnot sure14:54
tsdgeosi just grepped the sources :D14:54
Saviqtsdgeos, as in that, the RENDER_TIMING one... I always seem to forget them14:54
Saviqtsdgeos, yeah ;)14:55
Saviqkarni, you might want to export ↑↑ =1 after having shelved qml/ changes14:56
Saviqkarni, otherwise qmltestrunner crashes for me her14:56
Saviqe14:56
* karni notes14:56
karniwriting an e-mail for a person Alex might be hiring, I'll get my hands on the shelving part real soon.14:56
=== dandrader is now known as dandrader|lunch
Saviqkarni, but yeah, http://paste.ubuntu.com/6721162/ adds some robustness to the tests15:04
Saviqtsdgeos, check this out http://paste.ubuntu.com/6721167/15:06
Saviquh oh 5.2?15:06
SaviqI'm not on 5.2, WTH?15:06
tsdgeosthat's a crash?15:07
Saviqtsdgeos, yeah15:07
Saviqtsdgeos, but the retrace seems bogus15:07
tsdgeos:D15:07
Saviqtsdgeos, somehow the retracer decided to pick up qt5.2 instead of the one I had installed...15:08
tsdgeosbad retracer bad!15:11
Saviqtsdgeos, indeed, apparently it always picks up latest packages (I had the 5.2 PPA enabled for the retracer - a thing to remember)15:14
Saviqtsdgeos, http://paste.ubuntu.com/6721216/15:14
Saviqtsdgeos, less scary, and solved by BAD_RENDER15:14
tsdgeosSaviq: may even be a problem of UCFontUtils::sizeToPixels ?15:15
tsdgeosnot being thread-safe/reentrant/whatever?15:15
Saviqtsdgeos, true15:21
* Saviq files a bug just in case15:21
* karni gets to those tests15:22
Saviqtsdgeos, and now for something completely different! the launchpad retracer decided it's nothing relevant to the UCFont... but the Shape instead... https://launchpadlibrarian.net/162021731/Stacktrace.txt15:45
tsdgeosthat is weird :S15:45
elopiotsdgeos: thanks for the review.15:46
elopioI've been trying to reproduce the mako errors since yesterday, and I have finally done it. It only fails when I run the whole suite, it seems one test fails to swipe the greeter, then the screen will go blank and all the following tests will fail too :/15:46
tsdgeoselopio: no worries15:46
tsdgeosouch15:46
tsdgeosSaviq: is that the bug you mentioned ↑↑↑ in the other autopilot merge request?15:46
tsdgeoswhat, i'm running on battery¿?15:47
tsdgeosnot anymore15:47
=== alan_g is now known as alan_g|tea
Saviqtsdgeos, no, something that happened locally15:47
tsdgeosok15:48
karniSaviq: I have standup in 3 minutes, but I'll try to be first, and join you guys asap. The meeting you scheduled is in a moment, right?15:57
Saviqkarni, we just moved it to tomorrow16:00
Saviqkarni, 10am UTC16:00
Saviqkarni, katie couldn't make i16:00
Saviqt16:00
karniSaviq: perfect, thanks :)16:00
=== greyback is now known as greyback|away
=== alan_g|tea is now known as alan_g
elopiotsdgeos: can we prevent the screen to go blank in these tests?16:11
tsdgeoselopio: sure16:11
tsdgeosi mean16:11
tsdgeoswell there's a command line call that makes it not go blank16:11
tsdgeosyou should be using it16:11
tsdgeoswhich i don't remember16:12
tsdgeospowerd-cli16:12
tsdgeosand some argument16:12
tsdgeospowerd-cli display on16:12
tsdgeoselopio: ↑16:12
elopiotsdgeos: thanks, that will help a little.16:13
dednickSaviq: why did we drop the qmlproject?16:27
Saviqdednick, to not have two separate projects in qtcreator16:28
Saviqdednick, they are part of the CMake project now16:28
Saviqdednick, although mzanetti's still fixing a few issues with that16:28
mzanettibranch updated btw16:28
Saviqdednick, you might need to right-click on the project → Run CMake to get them16:28
mzanettiSaviq: ^16:28
dednickSaviq: how do I actually open the project? :)16:29
kgunnkdub: ^^ see tsdgeos16:29
mzanettidednick: just open the cmakeLists.txt16:29
kgunntalking about the powerd issue above16:29
mzanettithe top level one16:29
Saviqmzanetti, no it's not https://code.launchpad.net/~mzanetti/unity8/tests-qml-in-cmake/+merge/20087216:29
Saviqmzanetti, still includes all the .cpp .h files in the executable16:30
mzanettihmm... seems I pushed to the wrong branch then16:30
dednickSaviq: ahh, didnt even know you could do that16:30
Saviqdednick, you couldn't ;)16:30
Saviqdednick, but mzanetti managed to16:30
kdubtsdgeos, i think that should work16:30
dednickyay. source files!16:30
tsdgeoskdub: yes it does16:30
tsdgeoskdub: wasn't complaining16:30
tsdgeoswas just telling elopio16:30
kdubright :)16:30
mzanettiSaviq: pushed now16:32
Saviqmzanetti, ack16:32
elopiowhat I found is that when there are 6 tests left, the autopilot Touch stops working.16:32
Saviqmzanetti, hrm, in that case we can drop the special case for qmltests can't we16:33
Saviqmzanetti, ah wait16:33
Saviqmzanetti, ignore16:33
Saviqis good16:33
mzanettitests/modules16:33
mzanettiUntiyTestCase.qml16:33
kgunnkdub: i was just pointing it out...b/c we really shouldn't need to be using powerd cli to get past it...16:34
kgunnrelated to https://bugs.launchpad.net/mir/+bug/123652516:34
ubot5Ubuntu bug 1236525 in unity-mir "unity8 killed/crash then restart can result in mir unable "could not unblank display"" [Medium,Triaged]16:34
kgunnanyway...it'll be interesting to hear if you find this is now effecting mir ci as well16:35
karniSaviq: validated tests against your changes. test_art_size_data() with "Horizontal" tag would only verify that art.height == header.height (good, along the spec). But I can't make it fail, because we actually wanted to test anchors.horizontalCenter using x (and/or width), while width and height already well defined in the code. In other words, can't make the test fail for missing line 9 here, although the tests in lines 22,23 verify UI against ...16:49
karni... spec. http://paste.ubuntu.com/6721694/16:49
karniSaviq: pushed revno 575 to that MR, I got no further improvements.16:51
karniSaviq: just read the comment on MR regarding what we talked before about lambdas. let me try make em fail.16:52
Saviqkarni, don't over-do :)16:53
karniSaviq: I mean, if it's seriously an issue, I should see where stuff fails.16:53
Saviqkarni, I'm afraid I didn't follow your sentence above, but that might be EOD creeping up on me16:55
fgintherSaviq, the otto jobs are already saving crash files if they exist (the build you specified didn't have any). I have a change ready to collect the unity8.log16:57
fgintherSaviq, here's an example: http://s-jenkins.ubuntu-ci:8080/job/autopilot-testrunner-otto-trusty-fjg/3/16:57
Saviqfginther, awesome, thanks!16:57
ChrisTownsendI have a question about the SoundCloud scope.  I was supposedly deprecated by the Home Scope here: http://bazaar.launchpad.net/~unity-team/unity-scope-home/trunk/revision/14617:00
ChrisTownsendI don't see how to get results from Soundcloud though.  How do I get results from Soundcloud?17:00
ChrisTownsendmhr3: pstolowski: Perhaps you can answer my question above? ^^^^17:01
mhr3ChrisTownsend, "soundcloud:foo" in dash home17:02
ChrisTownsendoh, no automatic way via filter though, right?17:02
mhr3no17:02
pstolowskiChrisTownsend, or by typing a query. and *then* selecting it from filters in home17:02
ChrisTownsendmhr3: Ok, thanks17:03
mhr3ChrisTownsend, well, not sure what you meant by "automatic"17:03
ChrisTownsendpstolowski: Soundcloud is not listed as a filter though.17:03
mhr3it is here17:03
ChrisTownsendmhr3: I get it if install unity-scope-onlinemusic from Universe.17:04
=== greyback|away is now known as greyback
ChrisTownsendBut I don't see it if I don't have that installed.17:04
mhr3hmm, doesn't sound right17:04
mhr3although i do have that installed17:05
ChrisTownsendmhr3: I didn't think that sounded right either.  That's why I'm asking:)17:05
ChrisTownsendmhr3: However, Soundcloud:foo does work without the onlinemusic scope.17:06
pstolowskiChrisTownsend, yeah, onlinemusic has nothing to do with it, it was implemented specifically for the phone (although it works on the desktop of course)17:07
ChrisTownsendmhr3: Well, it this all back.  I now see the filter.17:07
ChrisTownsendWhy did I not see that before.17:07
mhr3dee-tool -m "com.canonical.Unity.SmartScopes.RemoteScopesModel" | grep -q -i "soundcloud" && echo "It's there" || echo "Not there"17:08
ChrisTownsendmhr3: I ran that, got a dee-tool crash and it printed out Not there17:11
ChrisTownsendmhr3: Sorry, I entered something wrong.17:11
ChrisTownsendmhr3: It's there17:11
mhr3then it is there :)17:12
karnimzanetti: FYI In each single lambda these new tests contain I added +1 in the return value. Each test would consistently fail. Considering your comment on the MR, does that mean we're good?17:12
ChrisTownsendmhr3: lol, yeah17:12
* karni just pushed last revno17:12
* karni wants to move forward :)17:12
ChrisTownsendmhr3: So my other question is if I'm in the Music scope, and I enter a search term, it won't automatically search Soundcloud though, right?17:13
mhr3ChrisTownsend, right, it won't17:13
mhr3though it should according to design17:14
mhr3EDIDNOTHAPPEN17:14
ChrisTownsendmhr3: Ok, that is where I was going with this:)17:14
ChrisTownsendmhr3: Thanks17:15
mhr3np17:15
tsdgeosdandrader|lunch: can you do https://code.launchpad.net/~aacid/unity8/hjournalbugfix/+merge/201047 ?17:17
tsdgeosand with that17:18
tsdgeoseod!17:18
mhall119Saviq: I want to file a bug against the fact that the HUD changes from bottom-aligned to top-aligned while you're using it, should that go against ubuntu-ux or unity8?17:58
Saviqmhall119, ubuntu-ux and unity817:58
Saviqmhall119, it's per design, so the design needs to change17:58
mhall119both?17:58
mhall119ok17:58
kgunnmhall119: ubuntu-ux....and assign to johnlea18:00
mhall119ok18:01
=== alan_g is now known as alan_g|EOD
mhall119Saviq: how about all of the Unity7 integration points that Unity8 currently doesn't have, are there bugs for each of those?18:07
Saviqmhall119, no, no bugs for all of those18:09
Saviqmhall119, they're handled in bprints mostly18:09
mhall119Saviq: do you want bugs for them (I'm filing a lot today)?18:11
Saviqmhall119, not sure it will help us manage everything18:11
Saviqmhall119, not when the bug is going to be "missing foo"18:11
mhall119ok, I'll refrain from those then, do you have a BP link where they are work items?18:12
Saviqmhall119, here's a mother-blueprint https://blueprints.launchpad.net/ubuntu/+spec/topic-s-unity-next-ui18:15
Saviqmhall119, most of them should be covered, if you find something that isn't - feel free to add18:15
mhall119thanks Saviq18:16
mhall119Saviq: so https://blueprints.launchpad.net/ubuntu/+spec/client-1303-unity-ui-launcher has everything currently DONE for the launcher, but doesn't have any plans or work items for adding count/progress/urgent API support to it, are those things in a BP somewhere?18:18
Saviqmhall119, https://blueprints.launchpad.net/ubuntu/+spec/client-1404-unity-ui-launcher18:19
Saviqmhall119, so yeah https://blueprints.launchpad.net/ubuntu/+spec/topic-t-unity-ui is the mother-blueprint for T18:19
mhall119ah, thanks, looks like https://blueprints.launchpad.net/ubuntu/+spec/topic-t-unity-ui is the new mother-blueprint18:19
mhall119ah, what you said18:20
* mhall119 fails reading comprehension 10118:20
mhall119thanks again Saviq18:20
kgunngreyback: thanks hopping on that one18:25
kgunnosk hiding when app is killed18:25
greybackkgunn: np18:25
=== dandrader|lunch is now known as dandrader
mhall119Saviq: I don't see anything for the counter and progress bar on Launcher icons in https://blueprints.launchpad.net/ubuntu/+spec/client-1404-unity-ui-launcher, can I add them as TODO work items?19:13
mhall119there is one for the "urgent" state though19:14
mhall119there's also nothing for supporting static or dynamic quicklists19:14
elopiohah! so I've proved that it's not possible to add any autopilot tests to unity8:19:28
elopiohttps://code.launchpad.net/~elopio/unity8/confirm_6_failure/+merge/20104019:28
elopiosadly, now there's nobody around to blame :(19:28
thomielopio: this is the input device issue?19:30
thomiSaviq was looking at that yesterday, was going to try a suggestion of mine, but I think he may be sleeping for once :)19:30
elopiothomi: it is one input device issue, I'm not sure it's the same one you are talking about.19:31
elopiothomi: it seems that after the current amount of tests, when I add a new one, the Touch will stop working.19:31
elopiothomi: what was your suggestion to Saviq?19:31
thomielopio: right, we know why, and there's a couple of ideas19:31
thomielopio: it's due to the fact that the u8 AP tests use a hacky workaround to get mir to recognise the input device19:32
thomihowever, this workaround leaks input device s19:32
thomiso after a certain number of tests, we can no longer create any more input devices19:32
elopiothomi: ok. So can we delete input devices?19:33
thomielopio: call close(0 on themn19:34
thomiugh19:34
thomityping is hard19:34
thomi"call close() on them"19:34
thomibefore you create the new one19:34
elopioself.touch = Touch.create()19:35
elopioself.addCleanup(self.touch.close)19:35
elopiothomi: like that?19:35
thomielopio: not quite... there's a workaround in the u8 codebase that calls _create_touch_device every test19:35
thomithis needs to be called on the underlying uinput device, with is an AP internal19:36
thomiAP never calls it because AP only ever creates a single instance :)19:36
thomigreap for "create_touch_device"19:36
elopiothomi: looking at it19:36
thomicool19:36
elopioit happens only on the phone, makes sense19:36
thomimake sure "_touch_device.close()" is called before the new one is created19:37
thomishould do the trick, I think19:37
* elopio tries.19:38
fipionii want to ask something about unity am i at the right place if yes why no one is20:01
fipionireplying to my pm20:01
fipioni:'(20:01
karnifipioni: If it's a technical question, you're at the right place. Bare in mind people live in different time zones. Just ask your question here, and you might get an answer.20:04
ChrisTownsendfipioni: Any reason why you can't ask here and can only ask via PM?20:07
mhall119he's asking about the game engine Unity, not our Unity20:09
fipionii asked something about crack software in the previous room and got bully20:09
ChrisTownsendfipioni: Yeah, sorry, this channel is for the desktop environment Unity for Ubuntu, not the game engine.20:10
karnioh20:10
ChrisTownsendfipioni: Sorry we can't help/20:10
karnifipioni: My bad, like ChrisTownsend said, this is a wrong channel :/ Sorry.20:11
fipionino i want to know something is there a way to check weather your code is comile using paid or free software20:12
fipioni*compile20:12
mhall119fipioni: I don't think anybody here can answer questions about the game engine20:14
fipionibut what about compilation20:14
karnifipioni: You sure you talking about https://unity.ubuntu.com/ ?20:15
fipioniwhat about compilation from higher language to lower language that is understandable for certain operating system20:15
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
elopiothomi: it works! thanks, you are the coolest one again.21:14
elopiothomi: do you have permissions to approve?21:25
elopiohttps://code.launchpad.net/~elopio/unity8/fix1267600-close_touch/+merge/20110521:25
=== salem_ is now known as _salem
thomielopio: let me see21:49
thomiveebers: can you look at that please? LGTM, but you should be the one to review it I think21:50
veebersthomi: sure I can take a look21:50
veeberselopio: I have top-approved that. Thanks for that :-)21:54
mhall119does the unity8 project still contain the welcome screen, or has that been broken out?21:58
Saviqmhall119, sorry, have reassigned most of your bugs ;)22:31
mhall119Saviq: that's fine, I expected that to happen, I just didn't know what functionality lives in what project22:35
Saviqmhall119, j/k22:35

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