/srv/irclogs.ubuntu.com/2014/12/12/#ubuntu-unity.txt

=== duflu_ is now known as duflu
didrocksmzanetti: Saviq: hey, did you submit any talk for FOSDEM? I don't see them now that the proposal period is over07:37
Saviqdidrocks, yeah, I did, and bregma, too07:46
didrocksSaviq: what's the title of your conference?07:52
didrocksI see bregma's one07:52
Saviqdidrocks, "Ubuntu on phones and beyond"07:53
didrocksSaviq: ah, typo in your name :)07:53
didrocksSaviq: ok, all good, it's listed ;)07:53
* Saviq was worried did not fill the forms right, they're rather convoluted07:53
didrocksSaviq: I won't even mention the backend-voting-side :p07:55
didrocks(we are back to using some google spreadsheet for easyness, due to that)07:55
Saviq;)07:58
Saviqspreadshits FTW!07:58
didrocksheh08:08
Saviqtsdgeos, hey, could you work today on making the apps scope non-unfavouritable?08:34
tsdgeosyep08:35
tsdgeosi was talking with xavigarcia about some card stuff08:35
tsdgeosi will do that now08:35
tsdgeosand then maybe fix the race in qtmir we indentified with gerry yesterday08:36
tsdgeosthat = non-unfavoritable08:36
tsdgeosbign landing btw \o/08:37
tsdgeos-n08:37
tsdgeosnow if Cimi would review the moreAsyncDash ;)08:37
tsdgeosSaviq: do you know if ci is back ?08:38
Saviqtsdgeos, yeah, it should mostly be back08:39
Saviqtsdgeos, if you're touching cards, maybe you can have a look at bug #139300808:39
ubot5bug 1393008 in unity8 (Ubuntu) "Horizontal cards don't get backgrounds" [Critical,Triaged] https://launchpad.net/bugs/139300808:39
tsdgeosyeah08:39
tsdgeosthat was what we were talking about08:39
Saviqoh good08:39
tsdgeosthat's not a bug according to spec08:39
tsdgeos:08:39
tsdgeos:D08:39
Saviqorly?08:40
tsdgeosyeah08:40
tsdgeoswell if you read the spec in a certain way08:40
tsdgeosof course08:40
Saviqah ok ;)08:40
Saviqthostr_, says it was working before ;)08:40
tsdgeosnever08:40
tsdgeosthe code says08:40
tsdgeoshasBackground = !isHorizontal && stuff;08:40
tsdgeosdon't think that changed lately08:41
Saviqheh08:41
tsdgeosSaviq: can you log into http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/5023/rebuild ?08:41
tsdgeoswell log08:41
tsdgeosdoes it even show up?08:41
Saviqtsdgeos, do you have the new VPN set up?08:43
tsdgeosprobably not08:43
Saviqtsdgeos, kicked that rebuild08:43
Saviqtsdgeos, ok and as far as the spec goes, where did we read it that horizontal cards can't have backgrounds?08:44
tsdgeosi'm writing it down08:44
Saviqthanks08:45
tsdgeosdone08:45
tsdgeosSaviq: imho our bug should be back to incomplete and add ubuntuux there for them to decide if what i understand is what they wanted to write08:48
Saviqtsdgeos, sure08:48
tsdgeosand bring back the designer that wrote that ^_^08:48
Saviqtsdgeos, yeah, you're right08:49
Saviqtsdgeos, it clearly says it can't be shaped, so no background08:49
tsdgeoswell that's how we coded it yes08:51
Saviqpstolowski, I'll start prepping the unity8 counterpart for dash bottom edge08:59
Saviqpstolowski, but we'll have to wait for apps-special-after-all09:00
pstolowskiSaviq, yeah, i'm going to prepare MP for that09:04
Saviqpstolowski, you want to ensure that plugin side?09:05
tsdgeosin case our 1 line of code fails :)09:06
Saviqtsdgeos, truth is we might need to have multiple special scopes for OEMs, or at least replacing the apps one09:07
Saviqtsdgeos, but then we don't need to implement that right now09:07
tsdgeosi'll go back09:08
tsdgeosto what we had09:08
tsdgeosi.e. lame09:08
tsdgeosshowStar: model.scopeId != "clickscope" && (root.isFavoritesFeed || root.isOtherFeed)09:08
tsdgeosdamn, that also makes it unmovable09:08
tsdgeosand we want it movable, right?09:09
tsdgeoshmmm09:10
tsdgeosand we need to make it unfavoritable also from das09:11
tsdgeosh09:11
pstolowskiSaviq, yes, I had it before in the plugin as a safeguard, i just need to find and revert that commit09:11
tsdgeosis that something we do09:11
tsdgeosor that the plugin does09:11
* tsdgeos checks09:11
pstolowskiSaviq, but you also need to special case it in the shell (not to show star)09:11
tsdgeossomething we do09:12
Saviqpstolowski, yup09:12
tsdgeosit's again something the scope should tell us09:12
tsdgeosif we're going to make this generic for the FUTURE09:12
Saviqtrueth09:12
Saviqor at least the registry09:13
tsdgeosbtw i just found a bug09:14
tsdgeosnot sure if it's ui or backend09:14
tsdgeosbut if you open manage dash, go to edit mode, reorder, leave edit mode and now click some scope, it will bring you to the "before reordering" position09:14
tsdgeospstolowski: if i had to say something i'd say that's on your plate ↑09:15
tsdgeosbut maybe not :D09:16
Saviqtsdgeos, worked fine here09:16
Saviqtsdgeos, is "some scope" favourited or not?09:16
pstolowskiotp09:16
tsdgeosSaviq: yes, otherwise that's the point of the reordering breaking it09:16
tsdgeosand now it works09:17
Saviqoh there's one more thing09:17
tsdgeos:S09:17
Saviqthe scope gets refreshed every time I click in Manage Dash09:17
Saviqsounds wasteful09:17
tsdgeosah made it fail again09:17
tsdgeosit may be on our side09:17
tsdgeoswill debug more09:18
tsdgeosmeanwhile https://code.launchpad.net/~aacid/unity8/apps-special-after-all/+merge/24454809:19
tsdgeosSaviq: ok my way to reproduce, have 3 fav scopes, move 2 to 1, click on 3rd09:20
tsdgeosend in first09:20
Saviqtsdgeos, confirmed09:21
tsdgeosand it's probably our09:21
tsdgeoss09:21
tsdgeoslooking at it now09:21
Saviqtsdgeos, could we have a test for apps-special-after-all?09:22
tsdgeosyou want to test that !== works? :D09:22
Saviqtsdgeos, no, I want to test that there is no star next to the click scope09:24
Saviqor in the click scope's header09:24
tsdgeosSaviq: which is basically testing !==, it will still break when backend decides to rename the click scope to "mooscope" and we're still checking for !== "clickscope"09:24
Saviqtsdgeos, great, we'll have a failure that we might even be able to catch in proposed thanks to that test being executed on autopkgtest09:25
Saviqsoon09:25
tsdgeosSaviq: no, we won't have a failure, why would we?09:26
Saviqtsdgeos, because if they changed, the star would be there when it shouldn't be?09:26
tsdgeosit's not like we use real scopes in tests09:26
Saviqtsdgeos, oh well, right09:26
tsdgeosso as i said, we're testing that !== works09:26
Saviqmeh09:26
tsdgeosbut if it makes you happy09:26
tsdgeosit's 10 minutes of my time09:26
tsdgeosso doing09:26
Saviqtsdgeos, I think we should have that test indeed09:27
Saviqtsdgeos, and while right now it might not make all kinds of sense09:27
Saviqit hopefully will once we have a property on scopes that decide whether they can be unfav'ed or not09:28
tsdgeosand nobody will remember to update the tests :D09:28
pstolowskiSaviq, tsdgeos i guess I can add new role for such property in OverviewResultsModel09:30
Saviqpstolowski, not enough09:31
Saviqpstolowski, we need to know it for the scope as well, to show the star in the header or not09:31
pstolowskiSaviq, tsdgeos and I'd special case apps in shell plugin for now (no configurability), but at least it won't bubble up09:31
pstolowskiah right09:31
pstolowskiSaviq, so, new property in Scope interface? again special cased for now in shell plugin09:33
pstolowski?09:33
tsdgeosi'd leave it as it is now tbh09:33
Saviqpstolowski, ↑09:33
Saviqpstolowski, once we know we do need to replace / add special scopes09:33
Saviqis when we'll deal with that09:34
pstolowskiSaviq, tsdgeos ack09:35
facundobatistaHola!09:47
tsdgeosSaviq: tests added09:52
Saviqtsdgeos, thanks09:52
Saviqtsdgeos, did you push?09:57
tsdgeosnope :D09:57
tsdgeosand even then, there's a bug09:57
Saviqk09:57
tsdgeosnow :)09:59
tsdgeosSaviq: ↑09:59
Saviqtx10:01
tsdgeosi hate listview10:10
Saviqtsdgeos, that's re: went to the wrong scope?10:31
tsdgeosywah, i know what's wrong10:31
tsdgeosmy workaround for a listview "bug" breaks it10:31
tsdgeosi'll add a few tests10:31
tsdgeoswhich we have none10:32
tsdgeosto at least make sure those two things work10:32
tsdgeosin a separate MR10:32
* Saviq starts being afraid of cherry-picking...10:55
=== _salem is now known as salem_
SaviqUUGH11:27
tsdgeosyeah11:27
tsdgeosSaviq: i appreciate you doing the cherry-picking, but it's most probably something the guy that did the original branch should do11:27
tsdgeosSaviq: https://code.launchpad.net/~aacid/unity8/bottom_list_drag/+merge/244563 has the fix for the issue i found with dragging + click with a test for it and some other stuff11:28
Saviqtsdgeos, it's not even that11:28
Saviqtsdgeos, the real problem is the ordering11:28
tsdgeosah11:28
Saviqtsdgeos, like now we're landing the bottom edge11:28
Saviqtsdgeos, but there were things that changed for the performance fixes11:28
tsdgeosright11:28
Saviqtsdgeos, so it's conflicting (a bit) now, and will conflict again later, not to mention that I might actually break things11:29
Saviqtsdgeos, and then... there's unity-api, which has a launcher change that we don't (yet) want in rtm11:29
Saviqtsdgeos, so I need to cherry-pick that and do something weird with unity-api's version so that we don't break that...11:29
Saviqso that we can actually reconcile in the futuer11:30
Saviqbut maybe it's gotta be what it's gotta be...11:30
Saviqand then there's you not being able to make your mind on how the test should work and changing it back'n'forth ;P11:32
Saviqbut well, the test passed, so it must be right, right?11:32
tsdgeostotally11:36
tsdgeos:D11:36
tsdgeosSaviq: which test?11:36
Saviqtsdgeos, test_manage_dash_search_temp_scope11:37
tsdgeosah don't worry about that one, we don't support search yet anyway11:37
tsdgeosso the skip() at the beginning is the important part11:37
Saviqtsdgeos, that's searching in *temp* scope11:37
Saviqtsdgeos, not in manage dash?11:37
tsdgeosno11:38
tsdgeosis searching in manage dash11:38
Saviqok11:38
tsdgeosthat's why it's called manage_dash_search11:38
Saviqtsdgeos, anyway, there was no tryCompareFunction(), then you added it when doing "less delegates" and then removed it again in bottom swipe :P11:38
tsdgeoshe he11:38
Saviqtsdgeos, it's fine, I'm just trying to keep the diff sane11:38
Saviqmzanetti, can you please whip up a quick vivid silo with tsdgeos's fixes for the bottom edge?11:40
mzanettikk11:40
* Saviq tries not to land in rtm before vivid11:40
Saviqmzanetti, https://code.launchpad.net/~aacid/unity8/apps-special-after-all/+merge/244548 and https://code.launchpad.net/~aacid/unity8/bottom_list_drag/+merge/24456311:40
Saviqmzanetti, if you could review the latter one, too, would be obliged11:40
Saviqah and https://code.launchpad.net/~aacid/unity8/scopeListPageHeaderScopeStyle/+merge/244293 too11:41
Saviqtsdgeos, that's it, right ↑ ?11:41
Saviqgreyback__, just discovered hash -d in znc, better'n'wd ;)11:43
tsdgeosmzanetti: Saviq: yeah that one too, though effectively it does nothing at the moment it's "better code"11:45
greyback__Saviq: Sorry, I've no idea what that sentence means. znc the IRC bouncer?11:45
Saviqgreyback__, zsh, of course ;)11:45
Saviqgreyback__, hash -d alias=/some/dir/foo11:46
Saviqgreyback__, cd ~alias11:46
greyback__Saviq: there's a "jump" plugin I like a lot.11:46
greyback__ets you bookmark directories with a name, and then jump from one to another. Is very similar11:47
Saviqgreyback__, sounds the same :), but IIRC jump lets you do more11:48
greyback__and have it aliased to "j" so I can just "j qtmir" to land in my qtmir root11:48
Saviqyup11:51
Saviqtsdgeos, https://code.launchpad.net/~unity-team/unity-api/rtm-14.09-staging/+merge/244567 please11:51
Saviqpstolowski, is there a citrain row for bottom dash rtm yet?11:54
tsdgeosSaviq: looks good, want me to approve?11:54
Saviqtsdgeos, yup11:55
pstolowskiSaviq, no, but i have another silo where i'm currently building two other fixes (including department jumping fix)11:55
Saviqpstolowski, that's for vivid though?11:55
pstolowskiSaviq, and it has shell plugin11:55
pstolowskiSaviq, yes vivid11:55
Saviqpstolowski, I'm talking rtm11:55
Saviqthis silo should only include bottom edge things IMO11:56
pstolowskiSaviq, agree. but we need todays fix in vivid first11:56
Saviqpstolowski, do you have rtm branches yet?11:57
Saviqpstolowski, btw, you know we're limited to "3 fixes" per rtm silo? could we not land bottom edge separately?11:58
pstolowskiSaviq, i only have rtm MP for plugin and it will need updating with todays fix11:59
mzanettitsdgeos: I don't really understand what the issue is this one fixes: https://code.launchpad.net/~aacid/unity8/bottom_list_drag/+merge/24456312:00
Saviqpstolowski, sure, I don't have complete MPs yet, either12:00
Saviqpstolowski, but want to start early12:01
pstolowskiSaviq, yeah, I know of limits. actually, is it 3 MPs or 3 bugfixes?12:01
mzanetti:)12:01
Saviqpstolowski, neither, it's 3 "fixes"12:01
Saviqpstolowski, it can be more or less MPs12:01
pstolowskiSaviq, yeah... i already prepared target rtm-14.09 branch for unity-api (which wasn't branched yet)12:01
tsdgeosmzanetti: without the patch do this, get to manage dash, move second scope to first, click third scope, see how you're not in the third scope as you should be12:02
Saviqpstolowski, yeah, got an MP for that up already12:02
pstolowskicool12:02
mzanettitsdgeos: thanks12:02
Saviqpstolowski, https://code.launchpad.net/~stolowski/unity-scopes-shell/manage-dash-rtm/+merge/244117 is the one?12:04
tsdgeosmzanetti: note there may be a race in the test, i got it failing 1 every 20 or so if i loop it12:04
mzanettitsdgeos: you fixing that?12:04
tsdgeoshaving a look yes12:04
pstolowskiSaviq, also, I've rtm silo 3 (rows #23) that needs qa sign off, or will block other landings of shell plugin12:04
pstolowskiSaviq, yes, that's it12:04
pstolowskiSaviq, it may also need dependency update12:05
Saviqpstolowski, you'll need to chase product folk to accept https://launchpad.net/bugs/139415512:05
ubot5Launchpad bug 1394155 in unity-scopes-shell (Ubuntu) "Crash of unity8-dash possible through Today scope" [Critical,In progress]12:05
Saviqpstolowski, we'll need -api for the new silo too, right?12:06
pstolowskiSaviq, unity-scopes-api? yes12:08
mzanettitsdgeos: this one fails here all the time: test_manage_dash_move_current_click_other12:09
tsdgeosmzanetti: hmmm12:09
tsdgeoswith the patch?12:09
mzanettithis branch: https://code.launchpad.net/~aacid/unity8/bottom_list_drag/+merge/24456312:10
tsdgeosyou didn't revert the change in qml/Dash/Dash.qml12:10
tsdgeosright?12:10
tsdgeoscan you add console.log("setCurrentScope", scopeId, scopeIndex); to Dash.qml::setCurrentScope after the for loop?12:10
mzanettino, didn't revert that12:11
mzanettitrying the debug print12:11
mzanettitsdgeos: qml: setCurrentScope MockScope1 112:13
tsdgeosright12:13
tsdgeosthat's wrong12:13
tsdgeosshould be MockScope5 212:13
tsdgeosyou're probably hitting my race more often :D12:14
mzanettiso far 100%12:14
tsdgeosi have a tentative fix, let me push it and see if it fixes it for you12:14
mzanettiack12:14
tsdgeospull!12:14
mzanettitsdgeos: pass12:17
tsdgeosgood12:18
tsdgeosit's weird how something that was just a one off here was there all the time12:18
mzanettiyeah, I ran it as testDash12:18
mzanettino xvfb12:18
mzanettianyone knows where that "Using blocking call!!!" message is coming from?12:19
mzanettiI see that in my apps too12:19
mzanettiok. passes in xbfb too. fixes the issue12:20
Saviqmzanetti, never saw that12:21
Saviqbut judging by the 3 exclamation marks... Wellark ↑? ;P12:21
mzanettilol12:21
mzanettiactually it's just one... the double ll! gave me that impression12:22
Saviqrofl12:22
mzanetti*that* funny?12:22
greyback__Saviq: wdyt, enough? Or should I implement a signal to be emitted to unity8, so unity does the sigstop: https://code.launchpad.net/~gerboland/qtmir/emitSigstopAtCorrectTime/+merge/24457012:24
Saviqgreyback__, good enough for now12:25
greyback__yep, thought was enough for patch12:25
Saviqgreyback__, later I want to be more granular12:25
greyback__sure12:25
Saviqgreyback__, but that might as well wait for systemd12:25
greyback__that'll fix everything12:25
Saviqyeah, we'll be done then12:26
mzanettitsdgeos: https://code.launchpad.net/~aacid/unity8/scopeListPageHeaderScopeStyle/+merge/244293/comments/60314012:28
tsdgeosmzanetti: honestly i think it's testing again that qml bindings work12:28
tsdgeosbut i can make it happen12:28
mzanettitsdgeos: I'm rather thinking of the chain of qml bindings... if it's just easy please add a small one. if you need to start with creating a mock framework, it's probably not worth it12:29
=== greyback__ is now known as greyback
mzanettitsdgeos: a small glitch I just noticed: go to manage dash, click on a temp scope, see how the arrow label at the bottom slides in and fades out... probably shouldn't do that12:30
mzanettinot related to the above branches I think12:30
tsdgeosshould be fine12:30
tsdgeosyeah i saw that the other day12:30
tsdgeosit's a thing between setting the scope and bla bla12:31
tsdgeoscould be fixed12:31
tsdgeosmzanetti: would you mind creating a bug for me?12:31
mzanettisure12:31
tsdgeostx12:31
Saviqtsdgeos, did you notice how the scope header icons go transparent when you start dragging from the bottom?12:32
mzanettitsdgeos: https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/140186912:33
ubot5Launchpad bug 1401869 in unity8 (Ubuntu) "bottom edge arrow label comes in when it shouldn't" [Undecided,New]12:33
tsdgeosSaviq: i'd say is because of the disabling12:33
mzanettiSaviq: gotta go for an hour. I've tested this branch, works fine: https://code.launchpad.net/~aacid/unity8/scopeListPageHeaderScopeStyle/+merge/24429312:33
mzanettiSaviq: however, we agreed to add a mock and test for it12:33
mzanettiSaviq: so once that's there, feel free to approve12:33
tsdgeosSaviq: not sure how that would be fixed12:33
mzanettithe other branch is approved already12:34
Saviqtsdgeos, right, makes sense12:34
Saviqmzanetti, yeah, thanks, I'll take over now12:34
mzanettikk. see you in a bit12:34
SaviqCimi, you there?12:38
tsdgeosmzanetti: Saviq: wops, actually yep, i think it's wrong ^_^12:41
dandraderSaviq, ubuntu-ui-toolkit with my dialog changes have landed, btw12:41
Saviqdandrader, coolz12:41
dandraderSaviq, bumped unity8 dependency accordingly12:42
Saviqdandrader, I don't think you should have12:42
Saviqdandrader, as you said, it's not actually a requirement12:42
Saviqdandrader, like things will work without it12:42
Saviqdandrader, and then improve when you get new UITK12:42
Saviqdandrader, what I mean by that is dependencies generally represent hard requirements12:43
dandraderSaviq, right... but does it do any harm? "make tryDialogs" look proper at least12:44
dandrader(with the new uitk)12:44
dandraderwhen you rotate things12:44
Saviqdandrader, do the test depend on the new UITK?12:44
Saviqdandrader, the "harm" is unnecessary packaging changes, and suggesting that things won't work otherwise12:45
dandraderSaviq, no strictly. but it will *look* broken without it12:45
dandraderwell, I will revert it then12:45
dandraderSaviq, done12:46
Saviqdandrader, thanks12:47
WellarkSaviq, mzanetti: what!?12:47
Wellark:)12:47
Wellarkwhere is that message?12:48
SaviqWellark, log output from apps sometime12:48
Saviqgreyback, I'll pop qtmir into the silo as well12:48
Saviqah no, you have one already12:49
WellarkSaviq: well, I could write something like that, sure12:49
Saviqgreyback, did you ping folks for publishing silo 14?12:49
Wellarkbut I usually augment my shit with a __PRETTY_FUNCTION__ or something :)12:49
=== dandrader is now known as dandrader|afk
cwayne_anyone have an idea why this renderer wouldn't show up with a background? http://paste.ubuntu.com/9488814/12:57
Saviqlol13:04
Saviqcwayne_, bug #139300813:04
ubot5bug 1393008 in unity8 (Ubuntu) "Horizontal cards don't get backgrounds" [Undecided,Incomplete] https://launchpad.net/bugs/139300813:04
Saviqcwayne_, horizontal == no shape == no background, per spec13:04
Saviqthat is13:04
Saviq(horizontal - summary) == no shape13:04
tsdgeosmzanetti: Saviq: ok, make this work https://code.launchpad.net/~aacid/unity8/scopeListPageHeaderScopeStyle/+merge/244578 good call for testing ;)13:05
tsdgeosnow food!13:06
greybackSaviq: I just set as tested, I didn't ping13:14
Saviqgreyback, yeah, it helps to ping, gets them off their a$$es quicker13:15
Saviqgreyback, but I think we're low on landing team atm13:15
* Saviq hates to be blocked by that13:15
greybackSaviq: ok, wasn't aware, but wasn't in rush either13:15
greybackSaviq: I removed one qtmir branch you added, as it's caused visual errors. Forgot to set it unapproved, done now13:17
Saviqgreyback, ok thanks13:18
cwayne_Saviq, oh, is that new? this renderer used to work (even if it shouldn't have :P)13:19
Saviqcwayne_, no, the spec is old, we might just not have enforced it until recently (due to some refactoring)13:20
cwayne_right, that's what i meant13:20
cwayne_i know the specs haven't changed recently :)13:20
cwayne_but ok, so if i add even a blank summary it should work then?13:21
Saviqcwayne_, yeah I think so13:21
* Saviq checks13:21
cwayne_didn't seem to work for me, hm13:21
Saviqcwayne_, on that note, yeah13:22
Saviqcwayne_, so there's the bug13:22
Saviqcwayne_, it should work where there is summary13:22
cwayne_hm, damnit13:23
cwayne_ok13:23
Saviqgreyback, should we drop the ::started() altogether then?13:28
Saviqgreyback, or is there no default impl?13:28
ChrisTownsendHmm, seems I'm not getting any scopes in the scope window on the new Unity 8 desktop mode.13:32
ChrisTownsendSits there with the circle turning.13:33
greybackSaviq: empty implementation in keeping with the other empty listeners in the file. Could probably remove the listener class entirely, but that for later MR IMO13:35
greybackSaviq: and anyway yeah, no default impl13:36
Saviqgreyback, kk13:36
ChrisTownsendAfter closing the window and letting unity8-dash restart, it's now to a window that has no scopes.  This is the unity8-dash log after restarting: http://pastebin.ubuntu.com/9489239/13:37
=== dandrader|afk is now known as dandrader
ChrisTownsendSaviq: Any ideas? ^^^^13:37
SaviqChrisTownsend, is scope-registry running?13:38
ChrisTownsendSaviq: Is "scope-registry" the name of the process?  If so, then no.13:39
SaviqChrisTownsend, it's an upstart job13:40
SaviqChrisTownsend, process is, you guessed "scoperegistry"...13:40
ChrisTownsendSaviq: Yes, "scoperegistry" is running.13:41
SaviqChrisTownsend, 'gsettings get com.canonical.Unity.Dash favorite-scopes'?13:41
ChrisTownsendSaviq: Output:13:42
ChrisTownsend$ gsettings get com.canonical.Unity.Dash favorite-scopes13:42
ChrisTownsend@as []13:42
SaviqChrisTownsend, wonder how you got there13:42
SaviqChrisTownsend, bottom swipe in the dash and add scopes to favorites13:42
ChrisTownsendSo it seems it's empty.  How did that happen.  I only did a dist-upgrade and this is what happened.  It was fine yesterday in the pre-window mode.13:43
SaviqChrisTownsend, you can `gsettings reset` it, too13:43
ChrisTownsendSaviq: I'll try that.13:44
SaviqChrisTownsend, I just dist-upgraded my -next vm and that didn't happen, not sure how you got to that state :/13:44
* ChrisTownsend shrugs13:45
Saviqgreyback, btw, we could use a test for that sigstop... any idea how to attack that?13:46
* greyback thought u8 had one13:47
greybackautopilot/unity8/shell/tests/test_upstart.py13:47
ChrisTownsendSaviq: fyi, the reset worked, so we'll chalk it up to an anomaly for now.  Thanks for your help.13:49
Saviqgreyback, yeah, but that doesn't test the timing of it13:49
SaviqChrisTownsend, sure, thanks13:49
Saviqgreyback, we'd need to somehow add there a check that appmanager is ready when sigstop is emitted13:50
greybackSaviq: hmm, would need way for AP to be notified when AppMan is created. Am not sure how to do that with AP13:52
Saviqgreyback, as long as we get a signal/property, we can wait for that13:52
Saviqgreyback, on the AppManager object, that is13:53
Saviqgreyback, just tell me what to wait for and I'll hack the test up13:53
greybackSaviq: there is no signal emitted by AppMan on construction. Only idea I have is figuring out what its parent object will be, and listening for children being added to it to see if one is AppMan13:56
Saviqgreyback, it doesn't have Component.onCompleted does it13:57
Saviqgreyback, and it's a singleton, its parent is the plugin...13:58
greybackSaviq: the qml engine might attach that property to it, I've never had that thought13:58
Saviqstupid, I'll get the onCompleted of the Connections object...13:59
Saviqor nothing, for that matter14:00
Saviqoh ok, that's all not gonna work, AP does polling14:00
Saviqso before it gets an object, the process is going to stop14:01
Saviqgreyback, ok, I'll have to chat with QA folk on that14:01
greybackyeah, it's kinda tricky14:01
greyback34 tag(s) updated. - uh ohs, is qtmir getting infected14:05
mterryIf I wanted to have a tst_XXX.qml file that ran ALL tests against two different configs (like a constant _data() for each test function), is there an easy way to do that without actually specifying the _data() methods?14:23
dandradermterry, that's for you: https://code.launchpad.net/~dandrader/unity8/unifyLightDMMocks/+merge/24459314:28
Saviqmterry, other than making the _data() a wrapper returning some common data set, not that I know of14:28
dandradermterry, I thing you could create a separate component inheriting from UnityTestCase and instantiate it twice you your tst_Foo.qml14:30
dandraders/thing/think14:30
Saviqdandrader, I think he wants to share the _data between different test_ functions, too14:30
dandradermterry, like MyTestCace { foo: "this" } MyTestCase { foo: "that" }14:30
dandraderSaviq, he wouldn't use the _data feature in that case, but would achieve the same result14:33
mterrydandrader, but wouldn't I have to specify each test_ function twice?14:34
dandradermterry, the "foo" property in the example would be the config you want all tests in the TestCase to use14:35
mterrydandrader, sure sure but say I have a test like test_foo().  Wouldn't I have to put that inside both MyTestCase objects?14:36
dandradermterry, no, you would write it only once in MyTestCase.qml14:36
dandradermterry, you would treat the testcase just like any other qml component14:37
mterrydandrader, oh I see.  A very specific MyTestCase14:37
mterryI was thinking you were suggesting a generic mechanism.  But that could work well yeah14:37
dandradermterry, yeah, like a ShellTestCase.qml14:37
dandraderused only by tst_Shell.qml14:37
dandradermterry, since you changed the approach, you should update the commit message of https://code.launchpad.net/~mterry/unity8/power-button-on-lock/+merge/23907614:53
mterrydandrader, ah yes14:53
mterrydandrader, ah naive young me: "Making the GreeterContent loader asynchronous seems like an easy fix."14:53
dandrader:D14:53
mterrydandrader, done14:55
dandradermterry, thanks14:55
mterrydandrader, and I saw your unify branch, will get to it today14:55
dandradermterry, awesome. thanks14:55
=== vesar_ is now known as vesar
dandradermzanetti, will start working on the mouse task now. what is it exactly?15:20
dandradermzanetti, is that unity8 is not getting or forwarding mouse events to apps?15:21
mzanettidandrader: we don't get mouseMoveEvents15:21
mzanettidandrader: not even to apps only. even inside unity15:21
mzanettidandrader: to test do this:15:21
dandradermzanetti, right15:21
mzanettiMouseArea { hoverEnabled: true; onMouseXChanged: print("it works!");  }15:21
mzanettidandrader: and then make it print "it works!" without clicking :)15:22
dandradermzanetti, we don't get *any* mouse events at all right? (no button presses or anything)15:22
mzanettidandrader: well, we do get that, but can't distinguish between mouse or tap I think15:22
mzanettidandrader: that's not really critical at this point in time. the mouse hovering is more important as a first step15:23
mzanettiand I guess by then you'll have figured what exactly is missing15:23
dandradermzanetti, interesting. I would guess it would be an all-or-nothing for mouse events15:24
dandradermzanetti, so, I have to setup that mir+unity8 in a VM thing15:24
mzanettidandrader: interestingly I do even get mouse scroll events in the vm15:24
greybackright/middle click & scrollwheel would be nice too15:24
mzanettidandrader: you can choose between a VM or just setting up a second user15:25
mzanettihowever, switching vt might hang your computer... so a VM is desirable from that pov15:25
mzanettiotoh, the VM is slower15:25
mzanettigreyback: strangely I do get those15:25
dandradermzanetti, but is it slow to be point of being unusable?15:25
mzanettigreyback: two-finger scroll on a touchpad at least15:25
mzanettidandrader: no. it usable15:25
greybackmzanetti: yeah I am surprised. It's not implemented in the code anyway15:26
mzanettidandrader: no. it is usable15:26
mzanettidunno :D15:26
greybackit's better than the emulator :)15:26
mterrydandrader, in the unify branch, the demo plugin shares some code with the liblightdm mock.  Any chance they could actually share the file?  Like have the mock version subclass the demo version or something?  Also, we've been meaning to rename the demo plugin because we are actually using it in producton now15:27
greybackI'm told this works now too, if you have the 3.18 kernel: http://unity.ubuntu.com/mir/setup_kvm_for_mir.html15:27
dandradermterry, ok, I will look into it15:30
dandradermterry, so, should I rename the plugins/LightDM/demo dir to something else15:31
kgunn_mterry, looks like you're having internet fun, so you prolly missed it....can greeter be made to "scroll up a bit" in the case where keyboard is covering the text box ?15:47
mterrykgunn_, this is when rotated?  I thought we didn't rotate the greeter15:47
kgunn_mterry, so on n7, greeter in landscape15:48
kgunn_fixed15:48
kgunn_can't see how many characters i've entered15:48
mterrykgunn_, oh when in tablet mode?15:48
kgunn_right15:48
mterrycurious15:48
mterrykgunn_, well yes the answer is we can...  would take a little work but sure -- we never ran into that before?  huh15:48
mterrykgunn_, does design have opinions on how that should look?  (like just shift everything up?  rotate name up in list?  something else)15:49
kgunn_mterry, yeah, ppa:unity-team/demo-stuff on vivid n7 shows the example15:49
kgunn_mterry, no input from design...more about having something workable for mwc15:50
mterrykgunn_, ah ok15:50
mterrykgunn_, so this is relatively high priority15:51
mterrykgunn_, is there a bug?15:52
kgunn_mterry, only on the team punch list...not on lp15:53
kgunn_https://docs.google.com/a/canonical.com/spreadsheets/d/140Icn5zcZwMvg1SONrwRKXYip-Pie7jtbEARpWwgxfw15:53
mterrykgunn_, I'll make one and assign to me15:53
kgunn_ack15:53
=== dandrader is now known as dandrader|lunch
kgunn_mterry, wait.... dandrader|lunch might have fixed this?15:55
mterrykgunn_, he was doing rotation work...  I don't recall him mentioning a fix for this, but that would be a nice bonus!15:56
kgunn_mterry, yeah...hmmm, dunno what changed, but i can see the text box....looks like he resized the osk ?15:56
mterrykgunn_, dandrader|lunch: well https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/140195115:56
ubot5Launchpad bug 1401951 in unity8 (Ubuntu) "[greeter] Password entry isn't visible when OSK appears in tablet mode" [Undecided,New]15:56
mterrykgunn_, I guess mark in progress then?  His branch is cleared to land if I recall15:57
kgunn_ack15:58
willcookeSaviq, heyhey - can you tell me the magic incantation to get wm working?  I have to modify Shell.qml ?16:07
tsdgeosgreyback: not thrilled about it, but seems to work https://code.launchpad.net/~aacid/qtmir/create_observer_sooner/+merge/24462216:08
greybackwillcooke: gsettings set com.canonical.Unity8 usage-mode Windowed16:08
willcookeSaviq, scratch that.  Just works16:09
willcookethx greyback16:09
tsdgeosgreyback: will gladly accept architectural suggestions16:09
greybacktsdgeos: will have a look, thanks16:09
seb128willcooke, greyback, Saviq: I updated ubuntu-settings to set that key on desktop, should work out of the box with vivid from today16:09
seb128on desktop-next16:09
greybackseb128: ah nice16:09
willcookeseb128, \o/16:09
seb128willcooke, I mentioned it early on #ubuntu-desktop btw, but I guess you didn't follow the channel today :-)16:10
seb128willcooke, feeling better btw?16:10
willcookeseb128, not really, but rickspencer3 is a slave driver :)16:10
seb128lol16:12
kgunn_mzanetti, so should seb at a toggle for windowed vs full screen shell mode ?16:45
mzanettikgunn_: where?16:46
kgunn_in system settings16:46
kgunn_just thinking...maybe a user might wanna override16:46
mzanettihmm... not sure we want that16:46
kgunn_back to hypoth-generator16:46
mzanettiyeah... I guess it would a good task to figure what we want the user to be able to change16:46
=== dandrader|lunch is now known as dandrader
* greyback eow16:49
greybacko/16:49
Saviqo/16:50
=== alan_g is now known as alan_g|EOW
=== salem_ is now known as _salem

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