/srv/irclogs.ubuntu.com/2014/02/10/#ubuntu-unity.txt

=== duflu_ is now known as duflu
=== 21WACCEWU is now known as Wug
=== Wug is now known as Wug[bonk]
=== Wug[bonk] is now known as 21WACCEWU
mhr3_tsdgeos, ping?08:43
tsdgeosmhr3_: hi08:44
mhr3_tsdgeos, hey, last week saviq had an issue where the scope results were not showing up cause there was something broken in the renderer08:44
mhr3_tsdgeos, and we're seeing the same issue in new-scopes branch08:44
mhr3_tsdgeos, wonder if you know what the issue was08:45
tsdgeosno :/08:45
tsdgeosmhr3_: is it white text vs white background?08:45
tsdgeosor is it something more "broken"?08:45
mhr3_tsdgeos, no, cause there's no icons either08:45
tsdgeosno idea then08:46
mhr3_tsdgeos, only the category header shows up and nothing else08:46
tsdgeosbut if you give me a way to reproduce it i can have a look08:46
mhr3_tsdgeos, just branch new-scopes and run the unity-scope-tool08:46
mhr3_perhaps run `restart scope-registry` in between08:46
mhr3_tsdgeos, oh plus the onlinemusic scope from the demo ppa08:47
tsdgeosok08:49
tsdgeosmhr3_: "unity-scope-onlinemusic is already the newest version." ?08:51
tsdgeos0.1+14.04.20131029.1-0ubuntu1 ¿?08:51
tsdgeosah08:51
tsdgeossilly me08:51
tsdgeosmissing an update08:51
mhr3_tsdgeos, you need this one https://launchpad.net/~unity-team/+archive/demo-stuff/+packages08:51
tsdgeosyes yes08:51
tsdgeosi always forget to update after add-apt-repository08:51
mhr3_tsdgeos, if you don't even see the category header then something else is wrong :)08:57
tsdgeosso i see "Popular online"08:57
tsdgeosand that's all08:57
tsdgeosshould i see more?08:57
mhr3_cool, yea that's the problem08:57
mhr3_you should also see the results08:57
tsdgeosok fix is easy08:59
tsdgeosdon't know if it's the correct fix yet though08:59
tsdgeoshttp://paste.ubuntu.com/6908000/08:59
tsdgeosmhr3_: ↑↑↑ if it's blocking you08:59
mhr3_tsdgeos, yea, we mostly need to fix new-scopes08:59
mhr3_tsdgeos, can you explain why that messes stuff up?09:00
tsdgeosbecause you are assigning to something that is readonly09:00
tsdgeosand qml says09:00
tsdgeosno09:00
tsdgeoswon't do that09:00
tsdgeosand then all breaks09:00
tsdgeosneed to find out if it should not be readonly09:01
tsdgeosor the assignment isn't neede09:01
tsdgeosd09:01
mhr3_tsdgeos, so why is it there in the first place? isn't trunk's cardtool broken too then?09:01
tsdgeossure09:01
tsdgeosi mean09:01
tsdgeosno09:01
tsdgeosbecause trunk isn't merged since ten years ago09:01
tsdgeosbecause we have unreproducible autopilot errors in a phone we are not supposed to support anymore blocking stuff09:02
tsdgeosyeah \o/09:02
tsdgeosmhr3_: but yes it is a mistake in some branch that we want to eventually merge to trunk09:02
tsdgeosi'll hunt it down09:02
mhr3_tsdgeos, thx09:03
tsdgeoskarni: you there?09:05
tsdgeosmhr3_: i'm going to propose a branch for merging to new-scopes, can you review it? Do you know if we have automerging in there or we manually merge stuff in it?09:07
mhr3_tsdgeos, manual merging afaik09:07
tsdgeosmhr3_: https://code.launchpad.net/~aacid/unity8/no_readonly_headerheight/+merge/20553809:14
tsdgeosif you approve it i'll manually merge it09:14
mhr3_tsdgeos, acked09:15
tsdgeosok, merged09:18
mhr3_tsdgeos, thx09:21
mhr3_tsdgeos, do you know which category layouts are properly supported these days?09:21
tsdgeosmhr3_: grid, carousel09:21
tsdgeosi have coded all the rest, but they are not wired09:21
mhr3_tsdgeos, i'm looking at the designs and wondering if we can even do them :)09:21
tsdgeosi.e. lots of qml glue is missing09:22
tsdgeosmhr3_: Saviq told me about the addSpecialCategory thing you're working on, is it done, what's your timeframe if not09:22
mhr3_tsdgeos, can we do all of this for example? https://docs.google.com/a/canonical.com/file/d/0B-a_7E3tDxOgZDJvd3l4U2tKYnM/edit09:22
mhr3_tsdgeos, yea, there's mp for it09:22
mhr3_tsdgeos, feel free to review :)09:23
tsdgeoswe can't do the seemore/less09:23
tsdgeosi mean we can09:23
tsdgeosbut it's the old expansion pattern09:23
tsdgeosnot that one09:23
mhr3_tsdgeos, https://code.launchpad.net/~mhr3/unity-scopes-shell/special-categories/+merge/20542709:23
tsdgeosbesides that, it's just grid and carousel no?09:23
mhr3_tsdgeos, i think cimi is working on the more/less09:23
mhr3_tsdgeos, the carousel is overlaid though09:23
tsdgeosjust for the text summary09:23
tsdgeoswe do support overlay09:24
mhr3_ah, good09:24
tsdgeosmhr3_: make tryCard and select the overlaid one (the last)09:28
mhr3_tsdgeos, missing title when using {09:32
mhr3_  "template": {09:32
mhr3_    "overlay": true,09:32
mhr3_    "category-layout": "carousel"09:32
mhr3_  },09:32
mhr3_  "components": {09:32
mhr3_    "title": "title",09:32
mhr3_    "art": "art",09:32
mhr3_    "subtitle": "subtitle"09:32
mhr3_  }09:32
mhr3_}09:32
mhr3_(and subtitle)09:32
tsdgeostrueth09:34
tsdgeosand if you leave the mascot there it looks out of position09:34
mhr3_but at least it's there :)09:35
tsdgeosso i guess someone needs to look at it and that someone is me?09:35
mhr3_tsdgeos, well, i'm not your team lead :) but would be nice if you did09:37
tsdgeosthere is no team lead :D09:38
tsdgeossomeone hinted i was acting one this week09:38
tsdgeosdon't believe it09:38
tsdgeosj/k09:40
tsdgeosi'll have a look09:40
tsdgeossil2100: do you have any idea what happened to the unity8 silo/landing/train thing? still blocked by autopilot failures?09:41
tsdgeosand any idea where i can check the status of that?09:41
tsdgeosmhr3_: it works09:54
tsdgeosit's just the tryCard thing that is not as good as it should09:54
tsdgeosand doesn't set all the stuff needed for carousel to work09:55
tsdgeosmhr3_: but if you use tryCardTool09:55
mhr3_oh?09:55
tsdgeosyou'll see it work09:55
mhr3_great then09:55
tsdgeoseven a bit crappy since it's just wireframes either09:55
tsdgeosi can fix tryCard to work if you want09:55
mhr3_tsdgeos, working tests are always good, primary thing is that it will work09:56
tsdgeosmhr3_: i pushed the fix of the test to new-scopes10:01
mhr3_cheers10:03
sil2100tsdgeos: hi! Not sure if anything changed, on Friday Didier wanted the maguro failures on unity8 resolved, right?10:09
mhr3_sil2100, ping, ping, libunity landing?10:10
tsdgeossil2100: i guess, why are we still caring about galaxy nexus if we don't support it and almost noone has one anymore to try to reproduce the problems?10:10
sil2100tsdgeos: the rationale is that maguro is slow, and we'll start using the emulator soon which is even slower - so making stuff work on maguro will help things working on the emulator10:16
sil2100mhr3_: ping! Give us a few moments10:17
mhr3_sil2100, i did, i asked last week :P10:17
mhr3_sil2100, it's a unity7 pkg, so it better land before ff10:18
sil2100Aaaah, libunity!10:18
tsdgeossil2100: the rationale is fine, but if it's just blocking our builds and noone can reproduce/fix it, not really helping the flow10:18
tsdgeosanyway i know i'm not going to win10:18
tsdgeosso i go to my cave10:19
sil2100Mirv: ^ could you give it a shot maybe?10:19
sil2100Mirv: could you see if you could use the good-old cu2d to land the new libunity? (stand-alone)10:19
sil2100Mirv: I'll add a landing for that in the old spreadsheet10:19
mhr3_+1, there probably won't be anymore changes there, so no need to use train for it10:20
Mirvsil2100: sure in theory, but it's known that the tests don't pass at the moment for unity stack so I'm not sure how to validate it10:30
sil2100Mirv: I guess mhr3_ can help out with finding the right set of tests to run/do manually in the meantime :)10:32
Mirvok. and on device I guess unity8 AP etc.10:34
Mirvmy device is as usual in Qt 5.2 mode, but I'll see if I can do that still today or tomorrow morning (provided mhr3_ will instruct how to test on desktop)10:35
Mirvthe changelog is essentially the dropping of gee10:35
sil2100Sure, thanks!10:38
mhr3_Mirv, indeed, it's just dropping gee, so what could break is scopes themselves (especially aggregation) and then sound indicator (the play/pause buttons in there)... if that works it should be good10:40
Cimitsdgeos, when will we have branches merged?10:44
tsdgeosCimi: when some tests we can't reproduce failing don't fail10:44
Mirvmhr3_: ok, but no problems known? should it work fine with the unity itself from october? (since nux+compiz+unity haven't been updated in trusty at all)10:45
tsdgeosCimi: meanwhile, can you review https://code.launchpad.net/~aacid/unity8/preview_header10:45
mhr3_Mirv, sure10:45
Cimitsdgeos, in your code seems all of them are optional10:46
Cimitsdgeos, shall we have title required?10:47
tsdgeosit's not required afaics10:47
tsdgeosat least the tryCard doesn't make it mandatory either10:47
Mirvmhr3_: hmm, I updated libunity (the packages that come from the source package) from daily-build and now my windows don't have decorations for some reason10:47
Cimitsdgeos, but if you set to use it, you might have the title no?10:47
Cimitsdgeos, what's the point of using the header if you have all the json null?10:48
mhr3_Mirv, ?? compiz weirdness?10:48
tsdgeosCimi: makes no sense10:49
tsdgeosCimi: but that's the guy that created the json fault10:49
tsdgeosCimi: what do you suggest us to do?10:49
Mirvmhr3_: hmm ok I guess compiz weirdness, not seeing the problem on guest account10:49
Mirvand yes I was testing compiz+nux+unity for fun before that, probably related10:50
Cimitsdgeos, fix the json10:50
tsdgeosCimi: right, so if the solution is "fix the json", what change do you want me to do in the qml code of that branch?10:53
Mirvmhr3_: ok thanks, I should be able to test the desktop side10:53
Cimitsdgeos, 38-        title: root.widgetData["title"] || ""10:53
Cimi+        title: root.widgetData["title"]10:53
tsdgeosCimi: but that makes no sense10:54
Cimiwhy?10:54
tsdgeoswhy are you forcing me to have a title?10:54
Cimitsdgeos, because if I use a header, I must provide a title10:54
tsdgeoswhere does it say that?10:54
Cimitsdgeos, it's like having a button without a label and an icon10:55
Cimiit makes no sense10:55
mhr3_Mirv, and if desktop didn't break, unity8 won't either :)10:55
tsdgeosCimi: but i can have a header with an emblem and no title10:55
Cimitsdgeos, title is always important10:55
Cimiit's the title of the app, no?10:56
tsdgeossure10:56
tsdgeosit's the title of something10:56
tsdgeosthis is a preview10:56
tsdgeosnot a preview of an app10:56
tsdgeostitle is important10:56
Cimitsdgeos, well you got my point10:56
Cimitsdgeos, I'd kinda force developers to keep things right10:56
tsdgeosbut since we provide stuff for randomguy to do a preview, i don't see why we should force title on him10:56
Cimibecause otherwise he uses no title making it not consistent?10:57
tsdgeosCimi: honestly your change won't force anything10:57
tsdgeosonly will give us a console warning10:57
tsdgeosand the developer will still don't care10:57
Cimitsdgeos, following your thought we should have those checks for empty strings all around unity10:57
tsdgeosand we mostly do10:58
tsdgeosand it's not a check for empty string10:58
tsdgeosis a check for undefined data in a map10:58
tsdgeos./plugins/Unity/Indicators/qml/MenuItemFactory.qml:229:            text: menuData && menuData.label || ""10:59
tsdgeos./qml/Dash/Card.qml:71:        title: cardData && cardData["title"] || ""10:59
tsdgeosmhr3_: about the addSpecialCategory thing, can you explain why are we doing that?11:02
mhr3_tsdgeos, because of the running apps11:02
tsdgeosmhr3_: but it works as we have it now, no?11:02
tsdgeosso, why are we doing it?11:02
mhr3_tsdgeos, i'm not sure i understand, the new plugin didn't allow shell to "override" a category11:03
mhr3_the old one did yes, so we're mostly bringing it back11:03
mhr3_in a slightly different shape11:04
tsdgeosmhr3_: ok, so overrideResults is gone11:04
mhr3_right11:04
tsdgeoshmmm11:05
tsdgeosso we need addSpecialCategory for running apps and for the dashhome then11:05
mhr3_tsdgeos, there's no dashhome with new scope11:06
mhr3_s11:06
tsdgeosah right11:06
tsdgeosforgot about that11:06
mhr3_tsdgeos, so far we don't have apps scope, so try to test it with music or something, but fwiw apps scope id will most probably be "clickscope"11:07
Cimitsdgeos, this is not always11:12
Cimitsdgeos, I'm scared of developers adding empty headers11:12
tsdgeosCimi: ok11:12
tsdgeosCimi: do you understand that your change won't fix anything?11:13
CimiI do11:13
tsdgeosok11:13
Cimibecause just gives a warning11:13
tsdgeosthat noone will see anyway11:13
Cimiok11:13
tsdgeosif you want to force CardHeader to have a title, discuss with design and propose a code change that actually breaks the thing if it's not there11:13
Cimitsdgeos, but warning is better than nothing, no?11:13
tsdgeosbut later please11:14
tsdgeoswe need to get all this done by friday11:14
mhr3_if i do `system-image-cli -b 0` i'm getting the same thing as if i did a full reflash, right?11:23
mhr3_ie i can do it on dirty device? (one with ppa pkgs installed)11:25
mhr3_also, is it faster than phablet-flash?11:27
sil2100tsdgeos: anyway, I know it's all a very risky topic, but did anyone of you have any success with those maguro unity8 failures in overall? I see one, test_hide_hud_click, seems to happen on almost every maguro test in smoketesting11:28
sil2100tsdgeos: you think it would be easy to identify and/or fix?11:29
tsdgeossil2100: i don't have a maguro11:29
tsdgeosi've been running the test for 1 hour in a loop11:29
tsdgeosand nothing failed11:29
tsdgeosin my nexus411:29
tsdgeosif we are fine being blocked, fine11:30
greybacksil2100: is a test app crashing occasionally on maguro?11:30
sil2100Do you know if unity8 tests are going fine on the emulator now?11:30
sil2100greyback: yes, but this failure seems to be unrelared to the qmlscene-crash11:30
tsdgeossil2100: i have not touched the emulator yet, and honestly don't feel like doing11:31
tsdgeossil2100: we have one target which is nexus4, and stuff works there11:31
tsdgeosif people feels we need to get stalled fine11:31
sil2100tsdgeos: I'm thinking that if the problem here is the slowness of maguro, maybe if the timeout could be bumped for the failing assert in that test?11:32
tsdgeosbut i'm not going to take any blame for stuff not working on stuff we don't support and stuff i can't reproduce11:32
greybacksil2100: ok11:32
sil2100A hacky way around it, but hmmm11:32
tsdgeossil2100: hey, maybe, if i had a maguro, i would get a fix, but i don't11:32
tsdgeossil2100: i doubt very much the problem is slowness11:36
tsdgeosi've run the test on nexus411:36
tsdgeoswhile running "stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M " also11:36
tsdgeosand it's just fine11:36
mhr3_tsdgeos, if you want i could give you ssh tunnel to a maguro :)11:36
tsdgeosmhr3_: i guess that could help11:37
sil2100\o/11:37
mhr3_tsdgeos, you sure? you won't see much :)11:38
tsdgeosmhr3_: i don't need to see anything11:38
tsdgeosmhr3_: just need to run the test11:38
tsdgeosand make it succeed11:38
tsdgeoswell11:38
tsdgeossee if it fails first11:38
tsdgeosand then make it succeed11:38
tsdgeosseeing would help11:38
tsdgeosbut it's not critical11:38
tsdgeosi can just add billions of prints11:39
tsdgeosmhr3_: can you phablet flash it with latest stuff?11:39
mhr3_ok, let me try to setup everything11:39
mhr3_first i need to charge it a bit though11:39
tsdgeosmhr3_: thanks11:39
sil2100mhr3_: thanks!11:40
=== mhr3__ is now known as mhr3
mhr3tsdgeos, :/ someone changed our network setup, can't open ports, so.. not good11:49
tsdgeos:/11:49
mhr3tsdgeos, i can do it at the office tomorrow, if that's good enough for you11:49
tsdgeosunity: anyone has a galaxy nexus ?11:50
tsdgeos@unity: anyone has a galaxy nexus ?11:50
tsdgeosi mean11:50
Cimitsdgeos, I have11:50
* mzanetti too11:50
tsdgeosCimi: mzanetti: you have two options, fix the autopilot failures we have or give me ssh so i can try to11:51
sil2100Cimi, mzanetti: can anyone of you flash it to the latest version and provide ssh access for tsdgeos ? :)11:51
tsdgeosCimi: mzanetti: you choose :D11:51
sil2100(or that)11:51
sil2100;D11:51
sil2100It seems to be something easily reproducible on maguro from what I see11:51
mzanettiok... need to charge and flash tho11:52
Cimitsdgeos, I can do both11:52
Cimitsdgeos, I have to run to the doctor though now :)11:52
Cimitsdgeos, maybe i can setup ssh before11:53
tsdgeosCimi: that'd be great11:53
Cimioh yeah11:53
Cimitsdgeos, so what want me to do?11:53
tsdgeosCimi: setup ssh so i can login from here, if you have time to phablet-flash it first the better11:53
tsdgeosif not i guess i can manage from here11:54
Cimitsdgeos, you want a linux pc or ssh to the phone?11:54
tsdgeosCimi: ssh to the phone11:54
tsdgeosor ssh to a pc where i can adb to the phone11:54
tsdgeosyou choose11:54
tsdgeosbut i guess the first is easier11:54
Cimitsdgeos, ok if I set static ip11:55
Cimitsdgeos, battery is dead11:55
Cimitsdgeos, hah11:55
mhr3tsdgeos, don't forget that flashing would remove the ssh server11:55
Cimitsdgeos, charging then flashing11:55
Cimitsdgeos, 30 mins+11:55
tsdgeosCimi: ok11:55
sil2100Bad luck!11:55
sil2100:\11:55
mzanettiyeah... mine won't turn on even with power attached11:56
mzanettiwill take a little here too11:56
mzanettiCimi: if you gotta run to the doctor I can set it up11:56
Cimimzanetti, I can do it11:57
mzanettiok11:57
Cimimzanetti, I don't have appointment, just grab medicine11:57
mzanettiah ok11:57
tsdgeosmhr3: about the progress preview type11:58
tsdgeosmhr3: i don't understand this11:58
tsdgeos"id": null, // mandatory here! action $id triggered on completion/error(/cancel) with argument for status11:58
mhr3tsdgeos, there should be just a regular widget_id11:59
mhr3tsdgeos, when triggering actions, we're sending widget_id + action_id11:59
tsdgeosis this something i care at all from the UI POV?12:00
mhr3tsdgeos, for progress it should be the widget_id as specified by the scope author + action_id specified by us12:00
tsdgeosi mean for progress i just show stuff, don't send anything back, no?12:00
mhr3tsdgeos, the action should be auto-triggered when stuff happens12:01
mhr3http://developer.ubuntu.com/api/devel/ubuntu-14.04/cplusplus/libunity-scopes/classunity_1_1scopes_1_1_preview_widget.html#progress12:01
tsdgeosmhr3: what do you mean with auto-triggered?12:02
mhr3tsdgeos, download finishes - shell triggers "finished" action on the progress widget12:02
tsdgeoscan i say that doesn't make any sense?12:04
mhr3no12:05
tsdgeosi knew it :)12:05
mhr3tsdgeos, the entire progress widget really needs to tied to the progress provider service12:06
tsdgeosmhr3: why is that on the frontend and not the backend?12:06
tsdgeosimho the frontend all it should care is "show 50", "show 75", "done"12:06
mhr3tsdgeos, it is, but shell is the bridge12:07
tsdgeosok, i don't think it makes sense12:07
mhr3tsdgeos, scope might not be running to receive those notifications12:07
tsdgeosbut we're of course not going to change it12:07
mhr3tsdgeos, all it wants is result of the operation12:07
tsdgeosso let's pretend i think it makes sense12:07
mhr3tsdgeos, and since shell does know both the progress and the result, it makes sense to notify the scope when the result is available12:08
mhr3tsdgeos, plus the completion will change the preview12:08
tsdgeosmhr3: the contract we have for previews right now is http://paste.ubuntu.com/6908739/ does it mean that besides triggered your model is also going to expose finished and failed?12:14
tsdgeosdoes it do that already?12:14
mhr3tsdgeos, no, that's the progress provider's job12:15
mhr3(the thing that gives you progress == 60%)12:15
tsdgeoswhat is its job?12:16
=== MacSlow is now known as MacSlow|lunch
mhr3to notify you of the progress and whether the operation was successful/failed12:16
tsdgeosyou're killing me :D12:17
tsdgeosyou told me the shell has to notify the scope12:17
mhr3wait, let me try to find something12:17
tsdgeosyes?12:17
mhr3yes, as in you're supposed to call .triggered(progress_widget_id, "finished", meta)12:18
mhr3but you do that in response to progress indicator telling you that is what happened12:18
mhr3*provider12:18
tsdgeosok12:19
tsdgeosso that is what i was asking12:19
tsdgeosif we use triggered12:19
tsdgeosor something else12:19
tsdgeosbut the docu you pointed says12:19
tsdgeos"Upon completion the scope will receive preview action activation with id "finished" or "failed" depending on the outcome of the operation."12:20
tsdgeoswill you take care of converting that .triggered(progress_widget_id, ) to that?12:20
mhr3sure12:20
mhr3that is what's happenning with any "triggered" method call12:20
mhr3tsdgeos, this might help to see the entire flow https://docs.google.com/a/canonical.com/drawings/d/1AKbddm35Tw9IoxZ8T33HBO30qO8c35B_IwEzacmf3bI/edit12:21
mhr3the 3rd part especially12:21
tsdgeosmhr3: so can you tell me what triggered call exactly you want for success and failure?12:21
sil2100mhr3: the unity-scope-scopes landing - will this have some impact on the current image? i.e. is this scope enabled by default now?12:22
mhr3sil2100, no12:22
mhr3.triggered(progress_widget_id, "finished", progress_widget_properties_map)12:22
mhr3tsdgeos, ^ + same for "failed"12:23
dednickmh. my nexus 10 keeps showing device out of space when installing packages...12:23
tsdgeosmhr3: but s/finished/failed12:23
mhr3right12:23
tsdgeosmhr3: what's in progress_widget_properties_map ? the same thing that you gave us?12:23
mhr3tsdgeos, yep12:24
tsdgeosmhr3: we don't do that on buttons, saviq told me not to, do you expect it too for buttons?12:24
mhr3yea, it should be there12:24
tsdgeoswhy?12:24
mhr3tsdgeos, but needs to per-action12:25
mhr3to be*12:25
tsdgeosi mean you gave it to us, you sure know its contents, no?12:25
mhr3tsdgeos, cause scope can push there extra data that you don't care about, but it does12:25
tsdgeosok12:26
tsdgeosso that needs changing in the regular actions too12:26
sil2100mhr3: did this package get pre-NEWed by an archive admin already?12:26
mhr3tsdgeos, ie if actions = [{"id": "foo", "label": "Foo", "session-id": "0x1234ef"}, {...}], i expect triggered(widget_id, "foo", {"session-id": "0x1234ef", ...})12:27
mhr3sil2100, no idea, robru was dealing with that12:27
tsdgeosmhr3: you'll get back id and label too12:27
mhr3tsdgeos, yea, fine12:27
tsdgeosok, i added it to my todo12:28
tsdgeosthing is growing too much :D12:28
mhr3tsdgeos, btw i saw designs where there is an action combo + regular button on the right side, do we support that?12:29
tsdgeoskind of12:30
tsdgeoswe don't support "combos"12:30
mhr3tsdgeos, https://docs.google.com/a/canonical.com/file/d/0B-a_7E3tDxOgUUY0MjFTQThBZFE/edit12:30
tsdgeoswe support a button that when you click on it12:30
tsdgeosit grows12:30
tsdgeosso it's an "ugly combo"12:30
tsdgeosbut yes12:30
tsdgeosif you give us 3 actions12:30
tsdgeosyou'll end up with the first action in the right and then on the left a More/Less buttons that shows the other 2 actions12:30
mhr3ah, ok12:31
mhr3so the right one is "primary" action?12:31
tsdgeosso yes but if looks a bit ugly because there's no proper combo in the SDK yet and we didn't feel like coding one :D12:31
tsdgeosyep12:31
mhr3ok12:31
tsdgeosalso if you give us two actions12:31
tsdgeosthey are laid right to left12:32
tsdgeosso first is on right and second on left12:32
mhr3makes sense12:32
tsdgeossee make tryPreviewActions12:32
mhr3tsdgeos, how hard is it to get support for "image" and "video" widget types?12:35
mhr3we kinda... use those12:36
tsdgeosmhr3: saviq doesn't want to do video12:36
tsdgeosuntil it's out of process12:36
tsdgeosso basically never :D12:36
mhr3tsdgeos, let's just make it same as image, but on click it will open the uri?12:36
tsdgeosnon zoomable?12:37
tsdgeosthe uri would be a new param in the json?12:37
mhr3tsdgeos, it's already defined12:37
mhr3see the json def12:37
tsdgeosis it?12:37
tsdgeosi'm looking at it :D12:37
tsdgeostype, source, zoomable12:38
tsdgeoswhiere's uri?12:38
mhr3tsdgeos, oh you meant image itself, no, it's there only for video12:38
mhr3tsdgeos, but the source is a uri12:38
mhr3in both cases12:38
tsdgeossure12:38
tsdgeosthe source of the image :D12:39
mhr3but in video's it's video/*12:39
tsdgeosbut ok, in video we have screenshot12:39
mhr3indeed12:39
tsdgeosso you want video to show the screenshot and when the guy presses launch the video12:39
mhr3tsdgeos, if not specified, just use the thumbnailer12:39
=== alan_g is now known as alan_g|lunch
mhr3tsdgeos, yep12:40
dednickanyone know if it's possible to redistribute freespace on touch device? i keep running out of root partition space!12:40
tsdgeosdednick: i clean the apt cache manually12:41
tsdgeosbut not anything else12:41
tsdgeosif you know how to do it, 'll be interested too!12:41
tsdgeosmhr3: well, it should not be "hard", but we need more work in getting stuff to have feature parity with what we had12:42
dednickonly 540MB free on root partition on clean install. it's a bit useless12:42
mhr3tsdgeos, that's what this week is about :)12:42
tsdgeosmhr3: right, so that's why i'm saying "no" to video and image12:42
tsdgeossince we didn't have that12:42
tsdgeosso let's achieve parity first12:42
tsdgeosand then talk about those?12:43
mhr3tsdgeos, what do you mean we didn't have those? isn't opening an album preview using an image?12:43
tsdgeosand where did we do that in previews?12:44
mhr3tsdgeos, i don't mind if some props will get ignored, i just don't want some of the widget types to be ignored12:44
mhr3tsdgeos, so if "image" is an alias for gallery with 1 image for now... i can live with it12:45
mhr3but ignoring all "image" widget types sucks12:45
mhr3and same for video really, if it's aliased image.. i'm happy12:47
tsdgeosok12:49
tsdgeoswe'll see if we can get anyone to do it12:49
mhr3cool12:49
=== MacSlow|lunch is now known as MacSlow
=== _salem is now known as salem_
=== tvoss is now known as tvoss|test
=== alan_g|lunch is now known as alan_g
kgunnmzanetti: ping14:06
mzanettihi kgunn14:06
kgunnmzanetti: hey...did Saviq leave landing responsibility with you ?14:07
kgunnor someone else ?14:07
mzanettikgunn: yeah, he asked me if I could do if something needs to be landed14:07
kgunnmainly just needs a shepherd to watch for reasons builds might fail and/or failures on AP's14:07
mzanettibut no list of things to be landed14:07
tsdgeosmzanetti: i can give you a list, we have a list :D14:07
mzanettiI guess so :D14:07
mzanetti53 branches14:08
tsdgeoskgunn: i'm trying to get a maguro setup for me to find out how we fix those two failing autopilot tests14:08
tsdgeosmzanetti: well no, look at the document, it's 13 branches14:08
kgunntsdgeos: is that for this silo ?14:08
kgunnhttps://docs.google.com/a/canonical.com/spreadsheet/ccc?key=0AuDk72Lpx8U5dFlCc1VzeVZzWmdBZS11WERjdVc3dmc&usp=drive_web#gid=2214:08
tsdgeos3 unity-mir and 10 unity814:08
tsdgeosyes14:08
kgunnok14:08
mzanettitsdgeos: yeah... but in total of branches we have was 53 on friday14:08
mzanettitsdgeos: so those 13 should be released this week?14:10
tsdgeosmzanetti: no, those 13 need to be released today14:10
tsdgeoswell14:10
tsdgeoson friday14:10
tsdgeoslast friday14:10
tsdgeosthis week we need to release *much* more stuff14:10
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
tsdgeoselopio: karni: you joining?14:32
elopiohectic morning, sorry.14:32
mhr3tsdgeos, we'll need someone to fix the issues with previews in new-scopes14:37
tsdgeosmhr3: karni, Cimi or me14:37
tsdgeosmhr3: write them somewhere, or tell me and i'll write them down and try to get them passed around14:37
mhr3tsdgeos, k, just reminding that it's another thing for this week :)14:37
tsdgeosi know i know14:37
tsdgeosmhr3: if you know what exactly fails, please tell me14:38
tsdgeosmy todo item says "new preview needs work"14:38
mhr3tsdgeos, 1) preview doesn't open when clicking on non-first result14:38
mhr32) progress indicator never hides14:38
mhr33) i'm hungry14:39
mhr33 might seems unrelated, but it's because i need to check previews :P14:39
Cimihah14:40
tsdgeos@unity: so the news scopes branch is https://code.launchpad.net/~unity-team/unity8/new-scopes/14:42
tsdgeoswe can merge stuff in there14:42
tsdgeosbut we should be as strict as we are with landing to trunk14:42
paulliuIs there any way to test the pinch event if I don't have multiple mouses? Is there any emulators for that?14:45
greybackdandrader: so here's my notepad of nexus7 jobbies to do: http://studio.sketchpad.cc/IOYP51EBZk14:46
dandradergreyback, I'm currently stuck with wifi14:47
dandradergreyback, no wifi device is listed14:47
tsdgeosdandrader: i've heard you need to flash some special android radio firmware or something14:49
tsdgeosgreyback probably knwos which one, but if not ask in #ubuntu-touch14:49
greybackdandrader: that issue was mentioned in the ML thread. Which image did you flash? I flashed ogra's image14:50
dandradertsdgeos, I'm currently poking people on #phablet14:50
tsdgeosokidoki14:50
dandradergreyback, I flashed the regular http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/pending/trusty-preinstalled-touch-armhf.zip14:51
dandradergreyback, ok, I will dig into this e-mail thread..14:51
greybackdandrader: I used http://people.canonical.com/~ogra/ubuntu-touch/ubuntu-touch-4.4.2-mir.rootfs-armhf.zip14:52
mzanettigreyback: kgunn: just to be sure. don't expect the current branch to perfectly work. the question is more if we should focus on fixing mine or fixing trunk during this week14:55
greybackmzanetti: yep, understood14:56
kgunnmzanetti: do you feel like we could ? get it fixed?14:59
=== tvoss|test is now known as tvoss
mzanettikgunn: not 100% I'm afraid. but afaik that wouldn't be the case for trunk too, right?15:01
kgunnmzanetti: possibly...that's why i was asking greyback what he had up his sleeve...15:01
mzanettiif we can make trunk perfectly fine for MWC, I'd vote for trunk15:02
kgunnin fact, greyback why don't you send me a list of any non MP'd branches15:02
kgunni can do a more complete compare15:02
dandradertsdgeos, greyback: rebooting solved my wifi issue.15:03
* dandrader shrugs15:03
tsdgeosall the computer stuff is fixed that way!15:03
tsdgeoselopio: can we change wait_for timeout? do you know how one does that?15:03
tsdgeos@unity: ↑ do you remember?15:04
greybackkgunn: lp:~gerboland/unity8/sidestage-smoothness-tweaks/ and lp:~gerboland/unity8/sidestage-unlock-sidestage-appears/ and lp:/~gerboland/unity8/sidestage-handle-input-area/ will help a bit15:05
kgunngreyback: ta15:05
tsdgeostimeout=something15:06
* tsdgeos tries15:06
dandradertsdgeos, missing context.15:06
tsdgeosdandrader: autopilot wait_for15:06
dandradertsdgeos, ah, no idea15:06
elopiotsdgeos: yes, this is the method signature:15:07
elopiodef wait_for(self, expected_value, timeout=10)15:07
tsdgeoselopio: so i do15:07
tsdgeoswait_for(bla, timeout=5)?15:08
* tsdgeos knows not much python :D15:08
tsdgeosseems to work15:08
elopiotsdgeos: where are you?15:08
elopioit's like self.main_window.visible.wait_for(True, timeout=60)15:08
tsdgeosok15:08
elopiothe timeout is in seconds.15:08
tsdgeostx15:09
=== salem_ is now known as _salem
=== alan_g is now known as alan_g|tea
tsdgeoselopio:15:37
tsdgeosping15:37
tsdgeos:D15:37
elopiotsdgeos: pong.15:37
tsdgeosso i've found i seems to be a "load" thing15:37
tsdgeosif you make the galaxy nexus be busy15:37
tsdgeosit fails more oten than when it's not busy15:37
tsdgeosi thought i had something that made the test more robust15:37
tsdgeosbut just failed15:38
tsdgeosso i'm back to the ddrawing board15:38
tsdgeossorry :D15:38
elopiotsdgeos: but why is the device busy? in jenkins, isn't running one single test at a time?15:38
tsdgeoswell it also fails when it's not busy15:38
tsdgeosbut less often15:38
tsdgeosfor me we could just skip that failure, but i understand we need to have reliable tests15:39
elopiobut it's still not clear to me.15:40
elopiotsdgeos: when the device is busy, does it take more than 10 seconds to open the scope?15:40
tsdgeostakes a lot to start15:41
tsdgeosso you swipe15:41
tsdgeosand stuff is not settled yet15:41
tsdgeosso the swipe is lost15:41
elopiohum, ok, so we need to wait for something before swiping, that makes a lot of sense.15:41
=== _salem is now known as salem_
tsdgeosso my current "fix" is http://paste.ubuntu.com/6909754/15:42
tsdgeosit makes it quite a bit more stable15:42
tsdgeosbut still got it to fail once15:42
elopiotsdgeos: where are you reproducing the errors?15:44
elopioI can't get it to fail.15:44
=== alan_g|tea is now known as alan_g
tsdgeoselopio: Cimi's galaxy nexus15:44
tsdgeoswhile [ true ]; do autopilot run unity8.shell.tests.test_emulators.DashAppsEmulatorTestCase.test_get_details; if [ $? -ne 0 ]; then break; fi; done15:44
elopiotsdgeos: and do you have the patch from https://code.launchpad.net/~elopio/unity8/fix1277591-open_scope_scrolling_waiting_for_wrong_property/+merge/205423 applied?15:45
elopiothat will help a little too.15:45
tsdgeosactually no15:45
tsdgeosi don't ^_^15:45
tsdgeoslet me apply it15:45
elopioI'm leaving the loop running while I walk the dog.15:55
elopiobbs.15:55
om26erMacSlow, ping16:01
MacSlowom26er, yup?16:01
om26erMacSlow, is there a way to disable the OSD notification on touch ?16:01
MacSlowom26er, no16:01
om26erMacSlow, they come during my autopilot test runs over the app's tabbar which results in failing test16:02
om26ersince the app cannot switch tabs16:02
MacSlowom26er, unless you change unity8's sources of course16:02
om26erMacSlow, is there a plan to make them click through like on desktop ?16:02
MacSlowom26er, no... they were made explicitly non-click-through for UbuntuTouch.16:03
MacSlowom26er, do you run your AP-tests on a live device/session... just wondering16:03
om26erMacSlow, yes, we run it on mako16:04
MacSlowom26er, what kind of notifications do you get in your case? I assume you're not getting incoming calls on a test-device :)16:07
om26erMacSlow, its '<number> call ended' non-interactive16:08
MacSlowom26er, how odd... I wonder what app triggers that notification... doesn't make much sense to me.16:10
om26erMacSlow, its the dialer-app, when the call ends16:10
MacSlowWhy would the user need to be notified about that?16:11
MacSlowom26er, he/she certainly knows that the moment the call was hung up :)16:12
om26erMacSlow, I was just told by the dialer-app dev that that notification is going away :)16:12
MacSlowom26er, :)16:12
=== dandrader is now known as dandrader|lunch
Cimitsdgeos, which is the signal I should trigger in rating when I change the rating?16:37
Cimitriggered(string widgetId, string actionId, var data)16:37
tsdgeosyes16:37
elopiotsdgeos: can you capture a video of the failure?16:46
tsdgeoselopio: the thing is running on cimi's phone16:47
tsdgeosnot sure how to do that tbh16:47
elopioI am seeing it like 1/30 runs on this maguro, but that doesn't help a lot to understand where should I add a wait.16:47
Cimitsdgeos, sorry was more a question, which data I sent?16:47
tsdgeosmhr3: which data do you want sent when someone clicks on the ratings? ↑↑↑16:48
elopiotsdgeos: you convince Cimi to hold a camera in front of the maguro until there's an error :p16:48
Cimihah16:48
tsdgeoselopio: doesn't seem cool16:49
mhr3tsdgeos, Cimi, first of all, want a signal only when both rating and review are set16:50
mhr3well.. if "required"=="both"16:50
mhr3then keep the review widget format16:51
mhr3merge the input property dict with "rating", "author" & "review" keys16:51
mhr3see http://developer.ubuntu.com/api/devel/ubuntu-14.04/cplusplus/libunity-scopes/classunity_1_1scopes_1_1_preview_widget.html#rating-input16:52
mhr3and http://developer.ubuntu.com/api/devel/ubuntu-14.04/cplusplus/libunity-scopes/classunity_1_1scopes_1_1_preview_widget.html#reviews16:52
Cimimhr3, rating *and* review?16:54
Cimimhr3, why that?16:54
Cimimhr3, a rating is fine16:54
mhr3Cimi, if required==both, both are needed16:54
CimiI don't usually put a comment16:54
Cimiah ok16:54
mhr3hm, not sure where you'd be getting "author" from... i guess that's server thing, so not needed from the shell16:56
elopiokgunn: how far are we from having the screen casting API to record autopilot tests executions?16:58
kgunnelopio: desktop closer, touch devices further16:59
karnitsdgeos: mhr3: I'm reading scrollback. I haven't looked into it yet, but I know the problem exactly. I believe tsdgeos suggested Saviq to make the property readonly during a code review, while it is actually used to *set* the header size. If you guys haven't fixed this yet, I'll take this on as priority once I finish reading scrollback.17:01
mhr3karni, good morning :)17:01
mhr3fixed17:01
karniThank you. Yes, I had the fix ready, I thought I pushed it already to that MR :/17:02
karniGuess I was distracted with the sprint.17:02
karnimhr3: Morning. FYI It's 9AM here, so I won't be appearing much earlier than 8AM my TZ for next 2 weeks.17:02
mhr3someone's in california17:03
karniYes, sir.17:03
mhr3is that what it takes to hide from us? :)17:03
karnimhr3: lol!17:04
=== dandrader|lunch is now known as dandrader
mhr3karni, you need to go to hawaii, i still get 1 hour overlap with you17:04
karnimhr3: hahahh17:04
karniI wouldn't complain ;)17:04
mhr3actually anywhere between hawaii and central australia17:05
karniThe more overlap we have, the better ;P17:05
tsdgeosmzanetti: so the blocking to fix unstable tests has been lifted, can you take care of the landing that is on the ci train document?17:06
tsdgeoselopio: do you know where the qml output go when running an autopilot test?17:12
mhr3karni, if you're looking for things to do, we'd want "image" widget type (even if it'd be just an alias for gallery with just one source)17:16
elopiotsdgeos: it's added to the test as details, and printed to stdout when it fails.17:16
tsdgeoselopio: you sure?17:21
tsdgeosi only get17:21
tsdgeoshttp://paste.ubuntu.com/6910208/17:22
tsdgeosand not the billions of qml output i've added17:22
tsdgeoselopio: which command line do you use?17:22
mzanettitsdgeos: ok17:25
mhr3tsdgeos, i suppose you didn't have time to look at the special-category branch?17:57
tsdgeosmhr3: i didn't17:57
tsdgeosmhr3: are you expecting me to review it?17:58
tsdgeosor?17:58
mhr3tsdgeos, yes17:58
mhr3:)17:58
tsdgeosmhr3: i know close to nothing of unity-scopes-shell honestly17:58
tsdgeosmhr3: isn't there anyone else that can?17:59
mhr3tsdgeos, mzanetti saw it a few times17:59
mhr3but i thought that as long as you implement the shell side of it and it works you can greenlight it17:59
tsdgeosmhr3: ok, i'll have a look18:01
mhr3afterall it has good enough tests :)18:01
=== alan_g is now known as alan_g|EOD
karnimzanetti: There's an e-mail which perhaps you could address on ubuntu-phone mailing list: [SDK] Expandable items18:18
mzanettikarni: hey... I started to reply but not sure what I should write tbh18:19
karnimzanetti: the interesting part is that I am almost positive I saw an expandable list view in action during the sprint. do we have some older component with similar functionality?18:20
mzanettikarni: not in the sdk... some apps do their own thing. and unity we do it ourselves too18:20
karniI see18:20
=== dandrader is now known as dandrader|bbl
karniI have something that worries me. Not havin Saviq and tsdgeos around, who would I raise this with?19:12
karniA branch has been merged to new-scopes without the prerequisite being merged to unity8 trunk first. https://code.launchpad.net/~unity-team/unity8/newscopes-card-overlay/+merge/20535919:13
karnimhr3: by the way, what did you mean by saying everything will break tomorrow? we expect some minor changes?19:13
mhr3yea, we want to land scopes-api 0.3, and it changes things, see the email19:14
karnimhr3: noted the "image widget". I'll see if I can get to it today (I doubt today, though)19:14
karnimhr3: ok, I'll make sure to shut up now and read my mail :P19:14
mhr3karni, we're already using it in the previews, and shell just ignores it... so not nice19:15
karniack19:15
mhr3karni, second major thing is that opening previews for stuff is mostly not working19:22
mhr3just sometimes it does19:22
mhr3and only when clicking on the first result19:23
karnisometimes? haha ;)19:23
karnimhr3: ack. is someone looking into this, or perhaps something I could take a look at? I guess I should get in sync with folks here how's the preview work coming along.19:23
mhr3karni, i don't think anyone is handling this yet19:24
karninoted19:24
karnimhr3: has the -readonly branch landed? can't find it19:40
cwayne38093919:42
cwayne43117819:42
cwayneagh crap, sorry19:42
karnimhr3: ok, found it. and its merged, great. thank you.19:47
=== salem_ is now known as _salem
=== dandrader|bbl is now known as dandrader
kgunnits so quiet w.o saviq :(21:59
mhr3karni, could you send off a mail by your eod to sync up? (if you manage to do something dash/preview related)22:24
karnimhr3: Yes, although I'm test driving custom scopes atm, so I haven't even gotten to that yet. I'll try to get to the preview bug on items != 1st22:25
karnimhr3: sure22:25
=== jhodapp is now known as jhodapp|afk
karniI'll actually consider starting early tomorrow to make sure I wrap my stuff before Wed22:26
cwaynemhr3, hey, does unity8 no longer look in XDG_DATA_DIRS for scopes?22:41
mhr3cwayne, nope22:41
mhr3cwayne, you might want to comment on https://bugs.launchpad.net/unity-scopes-api/+bug/127442122:42
ubot5Launchpad bug 1274421 in unity-scopes-api "Deployment directories for scopes conflict with packaging" [High,Triaged]22:42
cwaynemhr3, hm, that's bad for us22:43
cwaynemhr3, commented22:43
cwaynemhr3, just FYI, having unity look in XDG_DATA_DIRS is an MWC blocker at the moment22:46
mhr3cwayne, noted, will bring up tomorrow23:03
mhr3cwayne, we might want to change it to look in a specific dir instead of XDG_DATA_DIRS, but i guess you'd be fine with that23:04
mhr3of course it'd be a dir somewhere in /custom23:04
cwaynemhr3, i think we'd prefer XDG_DATA_DIRS, but i think ssweeny feels more strongly about that than I do :)23:04
* ssweeny does :)23:08
ssweenythough really we should focus on where click scopes will go, since that will be how we do it eventually right?23:09
ssweenythe /custom XDG_DATA_DIRS thing is just a workaround waiting for that IIRC23:09
ssweenycwayne, mhr3 ^^23:10
cwaynessweeny, yeah, that was my understanding as well23:31
cwayneso maybe just adding /custom/xdg/data is fine as a stopgap then23:34
ssweenymaybe, but what about the shared libraries? can they go there as well?23:37
ssweenythe bug chatter seems to say they should be split out23:37
ssweenybut i don't think they would be in a click pkg23:38
cwaynehm, good point23:38

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