/srv/irclogs.ubuntu.com/2015/02/25/#ubuntu-unity.txt

josharensonmterry: I know!00:00
mterryjosharenson, if you follow that dep error chain to its root, you should find the real error00:00
mterryjosharenson, I WISH apt-get did that for you00:00
mterryjosharenson, or sometimes apt-get -f install is a magic bullet00:00
josharensonmterry: last night, I built/installed unity-settings00:00
josharensonfixed a lot00:00
josharensonmterry: tried -f, does nothing00:00
josharensonmterry: I'll do it the sad way00:00
mterryjosharenson, I haven't installed manually built software into system paths in...  like a decade00:00
mterryOh, but you meant build a deb and install that00:01
mterryThat I've done for sure00:01
mterryI was thinking you were doing just a make install00:01
josharensonmterry: nah00:01
josharensonmterry: liboxide is complaining that it can't install a dep, but that dep is already installed... this is dumb00:03
greyback_josharenson: watch the version strings, they're probably different. You may just be unlucky trying this at a time that packages are migrating00:04
mterryjosharenson, yeah I bet a version mismatch somewhere00:05
josharensongreyback_: was same error almost 24 hours ago, but I'll try waiting it out00:05
mterryjosharenson, maybe look and see if there is a newer version of something in proposed?00:05
greyback_"apt-cache showpkg package" will help you see if package has multiple versions00:05
josharensonack * 200:05
mterrygreyback_, huh interesting, I usually use apt-cache policy package for that, but this output is interesting too00:07
greyback_mterry: ah that's less verbose than mine, thanks :)00:07
mterrygreyback_, "policy" is an awful name for it, though I can get where they are coming from00:08
greyback_yeah00:08
josharensonphew, solved00:21
josharensonpurged liboxide and downgraded, everyone is happy now00:21
mterryjosharenson, \o/00:32
josharensonmterry: and mouse works now! woot00:35
=== duflu_ is now known as duflu
Cimitsdgeos, do you know if the soundcloud scope is broken because of a unity bug or their?08:50
tsdgeosCimi: i didn't know it was broken at all :D Is there a bug or you found it while using it?08:50
Cimitsdgeos, for me, the cards have a black background08:52
Cimitsdgeos, they always had08:52
tsdgeosCimi: investigate it if you think it's a bug :)08:53
tsdgeosCimi: errr09:13
tsdgeosCimi: black background?09:13
tsdgeosCimi: it's the sound wave of the song, isn't it?09:13
Cimitsdgeos, let me try again09:17
Cimitsdgeos, some of my soundcloud songs are completely black, no title09:19
tsdgeos well09:20
Cimitsdgeos, "Stream" are all black09:20
tsdgeosinvestigate it then :)09:20
Cimitsdgeos, Explore are fine09:20
Cimitsdgeos, looking at another bug09:20
Cimicurrently09:20
CimiI just asked in case you knew09:20
tsdgeospete-woods: there?09:50
pete-woodstsdgeos, Cimi: it looks to be a bug in unity8, or maybe lower level than that?09:51
tsdgeospete-woods: what?09:51
pete-woodsoh, sorry, thought you were asking about what Cimi was asking about09:51
tsdgeospete-woods: no :D09:52
tsdgeospete-woods: so i was trying https://code.launchpad.net/~unity-api-team/unity8/scopes-active-depends-on-screen/+merge/25061009:52
tsdgeosand the logcat still never shuts up09:52
tsdgeosif i'm on the weather channel of the dashboard09:52
tsdgeosdo i need some other branch?09:52
tsdgeosi do09:52
tsdgeosobviously09:52
tsdgeosit's linked on the bug09:53
tsdgeosah no09:53
tsdgeosit's the same branch twice09:53
* tsdgeos needs to learn to read 09:53
pete-woodstsdgeos: all that bug fixes is the dash part. I've verified that I'm sending the correct signals to the location service09:53
pete-woodsI suspect that the location service is broken also09:53
pete-woodsI think there are two bugs09:53
pete-woodsone that we weren't sending the right stuff when the screen goes off09:53
pete-woodsand the other that the location service isn't correctly updating the GPS status09:54
tsdgeosi see09:54
tsdgeospete-woods: is anyone looking at the location service side?09:55
pete-woodstsdgeos: tvoss has provided a branch for the location service https://code.launchpad.net/~thomas-voss/location-service/be-verbose-about-starting-and-stopping-updates-for-testing/+merge/25060009:57
pete-woodsbut it just enables logging, like my branch for the shell plugin09:57
tsdgeosright09:58
tsdgeosok09:58
tsdgeosi'll code approve the branch but i don't think we should land it until the whole puzzle is fixed09:59
tsdgeosin case it is shown later that this is not the right approach09:59
tsdgeosand we end up with half-fix in the dahs09:59
pete-woodstsdgeos: yeah, that makes sense. the silo should include the complete fix10:26
pete-woodsor QA will probably reject it, anyway10:26
dpmmorning pete-woods, quick q - how do you write tests for scopes? That is, which type of tests do you write (unit, integration, etc.) and which frameworks are you using to write them?10:32
pete-woodsdpm: well at the minute, we write unit tests for them. however we have a harness in development to enable more complete functional testing of them10:33
dpmpete-woods, ok, thanks. What framework do you use for writing the unit tests?10:34
pete-woodsdpm: google test http://bazaar.launchpad.net/~unity-api-team/unity-scope-youtube/14.10/view/head:/tests/unit/youtube/scope/test-youtube-scope.cpp10:36
pete-woodsthey look like that atm10:36
pete-woodswhich is pretty horrible10:36
pete-woodsthis is why we are making the scope test harness10:36
dpmpete-woods, ok. The reason I'm asking these questions is because we're updating the Quality pages on developer.ubuntu.com. We seem to have a good story for QML apps, but I'm not too familiar with scope testing. What will the scope test harness cover (e.g. can you still use autopilot for functional testing)? Is it based on an existing framework? And does it have a name :-)?10:39
pete-woodsdpm: the idea was to avoid using autopilot for testing scopes. we talk directly to the QML model behind unity8's dash10:48
pete-woodsyou can still write the tests in python, so it's nice and easy + quick10:48
pete-woodsbut it doesn't use autopilot10:48
pete-woodsand you have the option of either controlling the actual installed scopes, or starting up a private instance of the scope machinery and testing in isolation10:49
dpmwas there any particular reason for not using AP? Or was that the one? ^10:49
pete-woodsdpm: yes. we considered it vital to be able to functionally test scopes without having to have a real user session, and unity8, etc10:50
dpmso this scope test harness, what does it look like? does it cover unit and functional testing? which languages do you write tests in?10:51
pete-woodsdpm: you can either write tests in C++ or Python10:51
pete-woodsdpm: an example of usage http://paste.ubuntu.com/10406012/10:53
pete-woodsC++ test10:53
pete-woodsdpm: http://bazaar.launchpad.net/~stolowski/unity-scope-click/scope-harness-tests/view/head:/scope/scope-harness-tests/apps-scope-harness.py10:54
pete-woodsan example of python tests10:54
* dpm looks10:54
pete-woodsthose last tests are still WIP afaik10:55
pete-woodsbut they do work10:55
dpmI understand this is all still wip and there is no documentation?10:55
pete-woodswell we obviously plan to release documentation10:56
pete-woodssome is definitely going to be written for the python interface10:56
pete-woodsbut right now, I don't think we've done that, no10:57
dpmthanks a lot pete-woods, that was very helpful11:02
pete-woods:)11:02
=== greyback__ is now known as greyback
tsdgeosMacSlow: answered back on https://code.launchpad.net/~macslow/unity8/unbreak-notification-positioning-fix-1422711/+merge/249998 we can have the discussion here if you prefer :D12:08
MacSlowtsdgeos, already put the anser there... to not dump qml-code here on irc12:10
pete-woodsright, I've got a vivid VM now12:10
pete-woodsbut I still don't seem to be able to run unity8-dash12:11
tsdgeospete-woods: what porlb12:11
tsdgeosdo you have?12:11
tsdgeosporlb = problem12:11
pete-woodsjust going to paste the log :)12:11
tsdgeosMacSlow: if it's already happening why we need to new code?12:11
pete-woodstsdgeos: http://pastebin.com/C8W1xJhk12:12
pete-woodsmaybe I'm supposed to set some env var or something?12:13
tsdgeospete-woods: and what do you get?12:13
MacSlowtsdgeos, the reset of the topmostIsFullscreen is not working correctly otherwise.12:14
tsdgeoswhich makes no sense12:14
tsdgeosand means your other code is not doing it correctly12:14
tsdgeosor i'm not understanding how notifications work12:14
pete-woodstsdgeos: just a white window (in the correct shape, i.e. a portrait rectange)12:14
tsdgeospete-woods: have you started the registry?12:14
MacSlowtsdgeos, wait... I'll pull away from the ap-test for a moment...12:14
pete-woodstsdgeos: yes. unity-scope-tool works normally12:15
pete-woodsbut I'm trying to do something with temporary scopes, so need to run the real unity8-dash12:15
tsdgeospete-woods: now that you mention12:17
tsdgeosi get nothing either12:17
tsdgeosbut i guess i'm missing stuff12:17
tsdgeossince i get http://paste.ubuntu.com/10407027/12:18
tsdgeosah12:18
Saviqtsdgeos, start smart-scopes-proxy12:18
tsdgeosstarting the smart-scopes-proxy fixed it12:18
tsdgeosyeah12:18
pete-woodsthis is basically just a fresh vivid install, updated, and unity8 + scopes installed12:20
pete-woodsI haven't built anything myself12:20
tsdgeospete-woods: have you started the smart-scopes-proxy too?12:20
pete-woodsyep12:21
tsdgeosthen there's probably broken dependencies somewhere12:21
pete-woodsyou can get away with just starting smart-scopes-proxy, it also starts the registry12:21
tsdgeosi don't have anything other than vvid installed12:21
pete-woodsI don't think it's anything specific to scopes, as unity-scope-tool works12:22
pete-woodsit makes me think there's something more related to the QML-y UI side12:22
MacSlowtsdgeos, *sigh* my branch is broken again... setting it back to wip :/12:22
tsdgeosMacSlow: ok12:23
pete-woodsSaviq: do you have any other suggestions? packages I could try installing? I'm kinda stuck here12:29
Saviqpete-woods, so you can't get unity8-dash working?12:30
pete-woodsyeah12:30
Saviqpete-woods, anything in the console?12:31
pete-woodsSaviq: http://paste.ubuntu.com/10407027/12:31
pete-woodssorry, wrong pate12:31
pete-woodshttp://pastebin.com/C8W1xJhk12:31
pete-woodsSaviq: ^12:31
Saviqok so nothing interesting12:31
pete-woodsI've tried commenting out that line, just in-case it was the problem12:32
pete-woodsand it didn't fix it12:32
* Saviq kicks off a vivid chroot12:32
Saviqgimme 512:32
pete-woodsthanks!12:33
dandraderSaviq, tsdgeos, any of you guys get this failure with trunk, running "make testShell"? http://paste.ubuntu.com/10396487/12:35
tsdgeosdandrader: test passes fine here12:36
dandraderdang it12:37
tsdgeosdandrader: is it clean unity8?12:37
dandradertsdgeos, yes12:38
dandradertsdgeos, here, it passes with "make xvfbtest" but fails with "make test"12:38
tsdgeosweird12:38
dandraderyeah... :(12:39
tsdgeosdandrader: try making it a tryCompare maybe? maybe my pc is faster/slower than yours12:39
tsdgeosfood12:40
pete-woodsSaviq: interestingly, running it all through "strace -etrace-file" shows that it's loading all the scope header pngs, etc12:41
pete-woodsso it's certainly getting a fair way through loading up12:41
pete-woodsit kinda feels like there's just some top level property that's just set visible: false or something12:41
Saviqpete-woods, is it blank as in white, or can you see the paper background?12:48
pete-woodsSaviq: you can see the grey folder paper12:49
pete-woods*folded12:49
=== MacSlow is now known as MacSlow|lunch
Saviqpete-woods, are you seeing «Unable to add overview scope, can't find with ID: "scopes"» ?12:52
Saviqpete-woods, it seems to be some timeout12:52
Saviqpete-woods, as every 4 or 5 runs I actually get stuff on screen12:52
Saviqin which case I don't see the above12:52
Saviqright, but I'm getting a timeout then, that you don't12:54
pete-woodsSaviq: that error is usually caused by not having the "scopes scope" (unity-scope-scopes) not installed I thought12:54
SaviqUnable to add overview scope, can't find with ID: "scopes"12:55
pete-woodsand yes, I don't get any timeout errors12:55
Saviqpete-woods, yeah I have it installed, but registry times out:12:58
SaviqERROR! Caught unity::scopes::TimeoutException: Request timed out after 5000 milliseconds (endpoint = ipc:///run/user/1000/zmq/Registry-R, op = list)12:58
pete-woodsSaviq: to be honest, I've never tried running all this in a chroot12:58
pete-woodsI've no idea if the scopes support working like that12:58
Saviqpete-woods, they (sometimes) work here after a bit of twiddling12:59
Saviqin any case, that's not your issue12:59
Saviqpete-woods, can you try installing ubuntu-desktop-next and see what packages are being installed, maybe that will spring an idea13:01
Saviqpete-woods, or just build-dep unity813:02
pete-woodsSaviq: http://paste.ubuntu.com/10407643/13:03
pete-woodsinstalling the build-deps hasn't helped13:04
Saviqpete-woods, add "packagekit" to the ubuntu-desktop-next install line13:06
dandradertsdgeos, it's actually because my computer is too fast. adding a wait() in the test fixes it13:07
pete-woodsSaviq: http://paste.ubuntu.com/10407685/13:07
pete-woodsthat's a lot of packages!13:07
dandradertsdgeos, so I have to refactor those tests to make them more stable. but it's still annoying that I seem to be the only guy to get them failing :/13:08
Saviqpete-woods, well, it's the whole set of packages we have on the desktop-next install13:08
pete-woodsyeah, fair enough13:08
pete-woodsinstalling now to see if it helps13:09
Saviqpete-woods, but meh, nothing there jumps out, really not sure what's going on /13:09
pete-woodsI guess I'd have expected actual errors (symbols fail to resolve, QML imports fail) really if a package was missing13:10
Saviqyeah, well...13:11
pete-woodsunfortunately the install hasn't helped :(13:12
pete-woodsSaviq: is there anything else I can do to help debug this?13:23
Saviqpete-woods, what if you "start unity8-dash" instead of just running it?13:24
Saviqpete-woods, oh, and also - how's your favorite list?13:24
Saviqgsettings get com.canonical.Unity.Dash favorite-scopes13:25
pete-woodsSaviq: I've also tried that. I get the same result13:25
pete-woodsI thought maybe there was something special in the upstart config13:25
pete-woodsgoing to try killing the fav list13:26
Saviqpete-woods, tried on a guest user?13:26
pete-woodsI have a feeling you've just hit the nail on the head13:26
Saviqwe should have UI saying you have no favourited scopes ;)13:27
Saviqpete-woods, also, to be able to use the bottom edge, pass -mousetouch if you don't have a touchscreen13:27
pete-woodshaha!13:27
pete-woodsSaviq: it was the favourites!13:27
pete-woodsgreat idea13:27
Saviqwe should have a UI to show you've no favourites... owait!13:28
Saviqmanage dash anyone? ;)13:28
tsdgeosdandrader: so wait -> tryCompare and it'll work13:28
dandradertsdgeos, no, that's not the proper fix. I'll post it shortly13:29
tsdgeosdandrader: ok13:29
pete-woodsSaviq: thanks v. much for the assistance! have been stuck on this for nearly a day!13:30
Saviqpete-woods, sounds like some wasted time for a stupid thing :(13:30
pete-woodswell I made the mistake of assuming it was a code failure13:31
pete-woodsSaviq: no worries. my own fault for forgetting I'd played with the favourites manually a few months ago13:31
Saviqpete-woods, top tip: try in the guest account to see if stuff's maybe b0rked in your user account13:32
pete-woodsyeah13:32
pete-woodsdefinitely a good idea13:32
Saviqfor any issue, realy13:32
Saviq+l13:32
dandradertsdgeos, there you go: https://code.launchpad.net/~dandrader/unity8/stabilizeShellTest/+merge/25092013:34
tsdgeosdandrader: interesting, which machine do you run?13:58
dandradertsdgeos, a desktop pc with an i713:58
tsdgeosi have an i7 too, i guess either it being a laptop or probably the awful disk make an impact13:59
mterrydandrader, brilliant stabilize branch, will test / review13:59
mterrydandrader, oh did you hand to tsdgeos?  nm then.   will just appreciate them13:59
mterrydandrader, that might want to be a generic helper function: "LightDM.Greeter.showGreeter(); wait-for-shown; removeTimeConstraints()"14:00
dandradermterry, I thought about that, but in test_suspend the greeter is summoned in a different way14:01
mterrydandrader, ah right, more indirectly14:02
mterrydandrader, but still, in other tests I think we do similar showGreeter stuff14:02
dandradermterry, ok, will look into making a helper out of it14:02
mterrydandrader, but only these tests failed, so I doubt it's urgent14:02
mterryjust some convenience cleanup14:03
dandradermterry, because only those two tests reload the greeter and them swipe it away14:04
dandradermterry, others just reload and do some checks, etc14:04
mterrySure14:05
=== MacSlow|lunch is now known as MacSlow
tsdgeosChrisTownsend: branches approved, sorry it took so long14:31
ChrisTownsendtsdgeos: Thanks!  And no worries.  I know you guys have been under the gun.14:32
dandradermterry, it's all there now: https://code.launchpad.net/~dandrader/unity8/stabilizeShellTest/+merge/25092014:40
mterrydandrader, cool14:41
mterrydandrader, is the verify(spy.valid) just paranoia?14:41
dandradermterry, makes it easier to spot test failures due to code changes that leave the test outdated14:42
dandraderbecause the sinal name has changed, for instance14:43
dandraderwell, you could call it paranoia :)14:43
=== dandrader is now known as dandrader|afk
ChrisTownsendtsdgeos: Hey, are those MP's of mine candidates to land in Vivid?14:50
tsdgeosChrisTownsend: i understand yes14:50
tsdgeosthey're bugxies to me14:51
tsdgeosbut i'm not the landing guy14:51
tsdgeosSaviq: ↑↑↑ ?14:51
ChrisTownsendtsdgeos: Ok14:51
Saviqtsdgeos, ChrisTownsend, yeah, totally14:56
ChrisTownsendSaviq: Cool, thanks14:56
=== dandrader|afk is now known as dandrader
dandradertsdgeos, I added more stuff to https://code.launchpad.net/~dandrader/unity8/stabilizeShellTest/+merge/250920 and jekins results have arrived15:32
dandradertsdgeos, so need a review of the new stuff and can now be top approved if there no review concerns? :)15:33
tsdgeosdandrader: ok, will have a look after meeting15:33
dandradertsdgeos, sure, thanks15:34
mterryjosharenson, I split the greeter card into 3 checklist items, which may help for at least hitting some targets this cycle15:54
josharensonmterry: cool ill look them over15:54
mterryjosharenson, and maybe that means we should simplify the branch we have going to only do the first checklist item instead of trying to do all at once like I was15:54
josharensonmterry: /me likes things that are nice and discrete15:55
mterryjosharenson, first one means just the --mode argument and some Shell.qml finagling to only load some components15:56
mterryjosharenson, second one is linking against real liblightdm and using a SessionManager plugin etc15:56
mterryjosharenson, third one is just shipping some .desktop files and testing everything together15:56
josharensonmterry: how much #1 _isn't_ already done? Are there still some loose ends in Shell?15:56
mterryjosharenson, #1 is still a large chunk of work.  Like, we could stuff the Greeter object under a loader, but there are still greeter.XXX references in Shell.qml that need to do something smart in that case.  Same for stage.XXX if the stage isn't running.  Etc15:58
josharensonmterry: gotcha15:58
mterryjosharenson, but it is mostly contained to Shell.qml at this point.  And the stage object is already basically a Loader15:59
mterryjosharenson, landing #1 will be a little odd though, because we'd be supporting modes that don't make sense -- like running just a greeter as your desktop session isn't very functional.  But maybe we just don't actually expose the functionality yet16:00
josharensonmterry: sounds good to me, and if its not well received, wouldn't be so bad to have to implement all the checklist items at once16:01
mterryjosharenson, yeah, I just figure the smaller the items are, the more likely we will have landed something by end of three weeks  :)16:02
josharensonmterry: a sure16:03
=== dandrader is now known as dandrader|lunch
=== alex_abreu is now known as alex-abreu
=== alan_g is now known as alan_g|EOD
=== dandrader|lunch is now known as dandrader
dandradermterry, could you please review this one when you have the time? https://code.launchpad.net/~dandrader/unity8/unifyShellTests/+merge/25098620:28
dandradermterry, it's not high priority20:29
mterrydandrader, ok20:29
dandraderthanks20:30
semitonesHello :) I googled this and I can't find an answer, so gonna ask you experts. Is there a currently a way to ask unity to move open applications above unopened applications in the sidebar, so they're easier to access?20:33

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