/srv/irclogs.ubuntu.com/2013/09/04/#ubuntu-unity.txt

mhall119yay, my MP landed!00:32
=== shiznix_ is now known as shiznix
mzanettiveebers: still around?07:54
nic-doffaylarsu, ping08:28
larsunic-doffay: good morning08:29
nic-doffaylarsu, how things?08:30
larsunic-doffay: good thanks, how are you?08:30
nic-doffaylarsu, good!08:31
nic-doffaylarsu, you know that branch you prepped which fixed the icons?08:31
veebersmzanetti: I'm just making/having tea but will be around08:31
nic-doffayCan I take a look at the diff?08:31
mzanettiveebers: wanted to ask how many ottos do we have?08:32
larsunic-doffay: you mean the one that sets the default icon theme to ubuntu-mobile? https://code.launchpad.net/~larsu/unity8/fallback-icon-theme/+merge/18364908:32
dednickmzanetti: if you're available, can i get you to test a couple of branches for me today?08:45
mzanettidednick: yes08:45
dednickmzanetti: it's to do with unitymenumodel and the messaging menu. something larsu and i where working on yesterday. It was working on my machine and device, but for some extremely strange reason, it wasn't working for larsu, but we dont know why08:46
dednickmzanetti: lp:~larsu/qmenumodel/use-full-action-name08:47
dednickmzanetti: lp:~nick-dedekind/unity8/unitymenumodel.messages08:47
dednickneed to work together08:47
dednickneed to check that messages can be replied to and can do a missed call callback.08:48
mzanettidednick: ok08:49
nic-doffaymzanetti, I think the filters branch is ready for a code review. All the points you brought up have been addressed.08:50
mzanettinic-doffay: ok08:50
nic-doffaymzanetti, cheers08:50
nic-doffayIf there's anything else just comment and I'll see to it.08:50
nic-doffayI think it looks good for an alpha now though.08:50
mzanettiI will :)08:50
nic-doffayAs you mentioned the icon isn't right.08:50
dednickmzanetti: larsu was getting this error:08:51
dednickfile:///home/lars/src/unity8/unitymenumodel.messages/builddir/plugins/Unity/Indicators/Messaging/MessageMenuItemFactory.qml:136: TypeError: Cannot read property 'valid' of null08:51
nic-doffayI'll bring that up now...08:51
mzanettinic-doffay: which icon?08:51
larsudednick: might it be that "index" is one of those special property names you're not allowed to use?08:51
nic-doffaymzanetti, the filters one.08:51
dednicklarsu: ah. errr it might be08:51
nic-doffayIn that design preview it has an orange background.08:51
dednicklarsu: dont know why it would be working on mine then08:52
mzanettilarsu: well, inside a Delegate, the word "index" is indeed reserved for the index in the List/Repeater/Whatever08:52
larsuright, we had this befoe08:52
mzanettiaka. an attached property08:52
larsubut wouldn't it give me an error?08:52
dednickmzanetti: you can override properties though. it's just a QObject that has the index proporty08:53
dednick*property08:53
dednickbut i guess maybe the listview passing down of the property is buggering things up08:54
dednicklarsu: worth a try changing it i guess08:54
larsudednick: trying right now08:54
mzanettilarsu: hmm... actually no... its like defining a local variable in a context where that name already exists. the local one will just hide the "global" one08:55
larsumzanetti: this is a property name though, not a variable name08:56
veebersmzanetti: ah err, good question. I've only set up one machine so far, but there are I think 4 more from memory that are to be part of that pool of otto machines08:56
mzanettiveebers: we need them all :D08:57
mzanettiveebers: if apps and unity run tests on the same machine, one is definitely not enough.08:57
veebersmzanetti: agreed, I'll get them setup first thing my morning :-) I need to change one thing with the config too. So will let you know when they are setup and running08:58
mzanettiveebers: awesome. thanks08:58
veebersnw09:01
=== hikiko is now known as hikiko|lunch
mzanettigreyback: you available for a review?10:41
greybackmzanetti: if it's not too big, sure10:41
mzanettigreyback: https://code.launchpad.net/~mzanetti/unity-api/launcher-add-focused/+merge/183843 and https://code.launchpad.net/~mzanetti/unity8/launcher-appmanager/+merge/18383710:41
greybackmzanetti: you mean to have the big debug prints in the latter one?10:42
* mzanetti checks10:43
mzanettigreyback: d'oh. forgot to push my last commit. should be gone now10:44
greybackok10:44
greybackmzanetti: probably due to my not understanding the launcher design, but I had expected the launcher to be connected to the AppManager's list of running apps, and be able to read off the focused one from there10:47
mzanettigreyback: yeah. the applicationFocused will change again I guess. With the current state of the app manager this is the closest I could get10:48
greybackmzanetti: understood. Wanna put in a todo/remove-me comment in the api?10:48
mzanettigreyback: if you think I should... but it's clearly on my todo list to switch to the final App Manager api :)10:49
greybackmzanetti: fair enough :) I'll trust you10:49
mzanettinic-doffay: dude... your branch doesn't even start up :D10:59
nic-doffaymzanetti, ?10:59
nic-doffayworks ok for me10:59
mzanettinic-doffay: http://paste.kde.org/pc6423eb310:59
nic-doffaymzanetti, try using trunk of ubuntu-ui-toolkit11:00
mzanettinic-doffay: better indeed :)11:03
nic-doffaymzanetti, :)11:03
mzanettinic-doffay: but the narrowMode is still broken11:03
nic-doffaymzanetti, just taking a look at your screenshot again.11:04
nic-doffaymzanetti, jenkins needs to rebuild too there was a whitespace issue.11:04
nic-doffaymzanetti, I see about narrowMode.11:05
nic-doffayWhat's it supposed to look like?11:06
=== hikiko|lunch is now known as hikiko
sil2100pete-woods: hi!11:22
sil2100pete-woods: https://code.launchpad.net/~sil2100/unity-voice/add_autopilot_package/+merge/183852 <- could you take a look? ;)11:22
pete-woodssil2100: having a look now :)11:24
greybackmzanetti: I got this when compiling lp:~mzanetti/unity8/launcher-appmanager http://pastebin.ubuntu.com/6062275/11:24
mzanettigreyback: oh noes! fixing11:26
sil2100pete-woods: the merger is down so there's no hurry ;)11:26
mzanettigreyback: added11:28
greybackmzanetti: ta11:28
mzanettidednick: do you still need me to test those branches or did the "index" thing fix your problem?11:32
dednicklarsu: ^ did you test that?11:32
dednickmzanetti: i'm guessing it didnt fix if he hasn't whooped with joy11:37
mzanetti:D11:37
nic-doffaymzanetti, reading your comment regarding the flicking up.11:42
nic-doffaymzanetti, I don't notice any flicker?11:43
nic-doffaywhen dragging after it's been nudged to display that it can be scrolled11:43
mzanettinic-doffay: do *exactly* what I tell you to reproduce:11:44
mzanetti./run11:44
nic-doffaymzanetti, also, I def cannot swipe left or right when the overlay is open?11:44
mzanetticlick on the search text11:44
mzanetticlick on the filter icon11:44
mzanetticlick on applications11:45
mzanetticlick on books11:45
mzanetticlick on books again11:45
mzanetticlick on books again11:45
mzanettinow the optionselector is broken11:45
mzanettinow, to reproduce the jumping:11:46
mzanetticlick on books once again (to expand the optionsleector again)11:46
mzanettiscroll down to the end11:46
nic-doffaymzanetti, ah got it.11:46
mzanetticlick on videos11:46
mzanetticlick on videos again.11:46
mzanettistart dragging the list up/down => it'll jump11:46
nic-doffaymzanetti, good spotting, thanks for that.11:49
mzanettinic-doffay: and for the swiping of the dash:11:50
mzanetti./run11:50
mzanetticlick on the search textt11:50
mzanetticlick on the filter icon11:50
mzanettiswipe it to the right/left11:50
nic-doffaymzanetti, ah I see.11:50
nic-doffayIt's only disabled for Applications.11:50
mzanettinic-doffay: also broken for applications here11:51
mzanettianyways... need some food11:51
nic-doffaymzanetti, strange, I def cannot swipe applications.11:52
nic-doffayAfter the rest of the fixes I'll revisit that though.11:52
=== dandrader is now known as dandrader|afk
=== alan_g is now known as alan_g|lunch
sil2100pete-woods: thanks for the review! The merger is still down, so it'll be around in the form of a merge for a while still ;p12:09
pete-woodssil1200: np!12:09
=== dandrader|afk is now known as dandrader
sil2100pete-woods: btw! Do you know if unity-voice is part of the touch FFe?12:17
larsudednick: I tested it this morning and it didn't solve the problem12:17
pete-woodssil2100: I don't know, but I doubt it to be honest12:19
sil2100pete-woods: so it's not necessary for the touch images?12:23
pete-woodssil2100: I have created the package because HUD has frequently developed memory leaks, and when it leaks it takes the fairly heavyweight voice code with it - e.g. 50MB each time12:25
pete-woodssil2100: so the package is there in-case we have any emergency leaks in HUD12:25
pete-woodswe can switch over to using it12:25
pete-woodsbut it isn't necessary in the mathematical sense for 13.1012:26
=== dednick is now known as dednick|lunch
sil2100pete-woods: ah! Ok, all is clear now12:26
larsupete-woods: talking about the hud, it doesn't respond to any dbus calls on my machine. Starting unity8 takes > 10 seconds until it times out. Do you have any idea what the issue could be?12:27
larsupete-woods: I'm on saucy, no ppas.12:27
pete-woodslarsu: that doesn't surprise me, it seems to break all the time12:30
pete-woodsoften when I / Wellark go in to fix things, it seems strange how those parts ever worked in the first place12:30
pete-woodslarsu: I'll try running it up now on my machine to see how I fare, though12:31
larsupete-woods: thanks. It's not super-urgent as I hardly use it. Just a bit annoying because I have to wait for unity to start up…12:32
larsubut I don't hack on that refularily12:32
larsu*regularily12:32
* larsu learns it's actually *regularly12:33
pete-woodsI prefer your second spelling12:33
pete-woodslarsu: well I can confirm the timeout issue - I also have to wait on HUD12:37
larsupete-woods: I think it's a combination of it not responding and the sleep(10) in dbus-activation-hack.sh12:38
nic-doffaymzanetti, ^5 for the review comments. Most have been sorted out aside from the tests which are next on my list. Just need a second opinion on the scrolling between scopes being disabled correctly.12:38
pete-woodslarsu: I have no idea why we even have that hack, I'm guessing it has something to do with upstart?12:45
larsupete-woods: hm, changing that '10' to something lower doesn't make unity start faster. I guess that's no it, then12:47
larsupete-woods: something about the interaction between dbus and upstart. I've been saying for a long time that we need proper dbus activation support in upstart.12:48
pete-woodslarsu: I totally agree with you there12:50
pete-woodssystemd has it, so upstart should too12:50
=== alan_g|lunch is now known as alan_g
mzanettiom26er: greyback: can you please review this? Apparently Pat would need this fixed for a demo later today: https://code.launchpad.net/~mzanetti/unity8/fix-1219035/+merge/18386612:59
mzanettigreyback: I think my code is ok. however, bad thing is, is that I don't really understand why this has been working before :/13:00
greybackmzanetti: ack, will do now13:00
mzanettithe size of the panel is probably because the Panel was reworked and most likely doesn't live outside the view any mire13:01
om26ermzanetti, looks good to me. I can probably test the fix once the debs are published13:01
mzanettibut why the "hide button on release" did work before is beyond me13:01
larsupete-woods: hm, org.freedesktop.dbus.StartServiceByName('com.canonical.hud', 0) times out, but the name seems to get registered correctly (it appears in ListNames). Maybe the hud manages to register the name and then immediately hangs when dbus-daemon tries to ping it?13:05
* larsu wonders why the daemon would ping it at all13:05
sergiusensis there a plan to update the apps lens on changes to ~/.local/share/applications ?13:07
larsupete-woods: I bet the problem is the script itself - dbus probably wants that the PID it just started registers the name13:08
pete-woodslarsu: I think the real concern I have is that this problem must exist in all services that try to use both upstart and dbus activation13:11
greybackmzanetti: approved13:11
pete-woodsunless there's a better way to do it that is being done in HUD13:13
pete-woods*than13:13
larsupete-woods: I think tedg's idea is to get away from dbus activation, which would circumvent this problem entirely13:14
pete-woodswell all I really care about is there's a proper way for me to copy for any services I write13:15
tedgYeah, the way the HUD does it is kinda a hack, but I thought it'd be temporary until we got DBus activation in Upstart.  But I'm not sure that's happening.13:16
tedgI'm curious if we can't use the dbus monitor in Upstart today to fake it.13:16
tedgThough I haven't tried.13:16
larsutedg: the way the hud does it doesn't work right now...13:17
tedgI don't know if StartServiceByName actually gets broadcast.13:17
tedg?13:17
pete-woodstedg: dbus service activation doesn't seem to work for HUD atm13:17
larsuto be fair, it might be a bug in the hud as well13:17
pete-woodsgood point13:17
tedgHmm, it just worked for me...13:17
larsumaybe it just hangs right after registering its name13:18
pete-woodstedg: our test case is killall hud then start unity813:18
pete-woodsif you have to wait 10s then you also have the problem13:18
tedgpete-woods, Is upstart confused?  Try "stop hud" ?13:18
tedgAlso I think that the shell script needs to have died as well.13:19
pete-woodstedg: I get the same if I stop hud nicely with stop hud13:19
tedgpete-woods, Is dbus-activation-hack.sh still running?13:20
pete-woodstedg: it doesn't seem to be - I made sure I waited >10s13:23
pete-woodstedg: we're not ruling out that this could be a problem in HUD, maybe something has broken in it again13:23
tedgThe only thing that's changed there is the dbus paths... it's pretty innocuous.13:24
tedgAnything in the hud log?13:24
pete-woodstedg: I haven't had time to investigate it beyond confirming that it happens13:27
* tedg has upgraded and is rebooting his phone13:33
kgunnanyone else's mumble freaking out?13:34
tedgSo I stopped the HUD.  Opened the webbrowser and then opened the HUD.  There were entries in the browser.13:36
tedgpete-woods, larsu, is there something else I need to do?13:36
mterrymzanetti, sound came in right at the end  :-/13:36
mterrymzanetti, I don't get mumble sometimes13:37
pete-woodstedg: this is on the desktop13:37
mzanettimterry: no worries.13:37
tedgpete-woods, Unity8 on the desktop?13:37
pete-woodsit means it takes 10s to start unity8 each time you make a change to it13:37
pete-woodstedg: ues13:37
pete-woodsyes, even13:37
nic-doffaypstolowski, ping13:37
tedgpete-woods, How are you running Unity8 on the desktop?13:38
pstolowskinic-doffay: pong13:38
larsutedg: I also don't see any results in unity713:38
larsutedg: it doesn't react to any dbus message13:38
* tedg is confused13:39
tedg13.10.1+13.10.20130822.4-0ubuntu1 right?13:39
larsuyep13:39
larsuis there a log I could send you?13:40
tedgYou guys should come use my computer, it is seemingly much better than yours.13:40
tedg:-)13:40
tedglarsu, Check ~/.cache/upstart/hud.log13:40
larsuthere's one problem with that though: your computer is in Texas13:40
tedglarsu, So you'd upgrade your location AND your computer!13:40
larsuI've got a couple of those: (process:17380): hud-service-WARNING **: SIGTERM recieved13:41
larsunothing else13:41
tedgThat'd be just when it shutsdown.  Probably shouldn't be a warning.13:41
larsuright13:41
tedginitctl list | grep hud13:41
larsuhud start/running, process 3127413:41
kgunnmzanetti: ping13:41
mzanettikgunn: pong13:41
tedglarsu, $ hud-cli test13:42
* larsu installs indicator-appmenu-tools13:43
larsuinteresting, that doesn't contain hud-cli13:43
tedglarsu, hud-tools13:43
larsutedg: thanks. Bash told me it is in indicator-appmenu-tools13:44
tedgHuh, I thought that was autogenerated... perhaps it needs to be updated.13:44
larsutedg: "search token: test", then nothing for a while, then "** (process:32182): WARNING **: Unable to get a HUD proxy: Error calling StartServiceByName for com.canonical.hud: Timeout was reached"13:45
tedglarsu, try stopping it "stop hud" and then do it again.13:45
kgunnmterry: ping13:46
larsutedg: same result13:46
tedgWonder if I'm running the old dbus in my session.13:46
larsutedg: actually, the error is different: ** (process:32208): WARNING **: Unable to get a HUD proxy: Error calling StartServiceByName for com.canonical.hud: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Activation of com.canonical.hud timed out13:47
larsuwell, for some values of "different"13:47
tedglarsu, I'm going to reboot a second to see if that's the case.13:47
nic-doffaymzanetti, apparently a lot of the backend scope unit tests already test the functionality. What else would you recommend testing in the filters QML side?13:50
tedglarsu, Huh, no, still works: http://pastebin.ubuntu.com/6062728/13:50
larsutedg: weird. I assume this is plain saucy as well?13:52
tedglarsu, Yeah, nothing special besides being in Texas.13:52
tedglarsu, Try covering your laptop in BBQ sauce.13:53
larsuhm, maybe that's it :P13:53
larsuHAHA13:53
kgunnmterry: ping13:54
mterrykgunn, hi13:56
mzanettinic-doffay: I want a test that checks if that overlay indeed shows up when I click the filter icon, if clicking the bottom area dismisses it, and if interacting with the optionselector inside that overlay actually works13:56
nic-doffaymzanetti, gotcha13:56
mzanettikgunn: here's the branch with the code: https://code.launchpad.net/~unity-team/unity8/ofono/+merge/17781413:57
mzanettikgunn: and here's the video of it: http://ubuntuone.com/4mdKuE6k2KvdQE9ie2nYF813:57
mzanettidednick|lunch: let me know when you're back. have some results for your branches14:10
tedgdednick|lunch, It looks like the multi-icon branch landed \o/  But I'm still not getting multiple icons... anything I need to do?14:12
=== dandrader is now known as dandrader|afk
=== dednick|lunch is now known as dednick
dednickmzanetti: i'm back. just forgot to change status14:16
dednicktedg: not that i know of. if you give icons they should be displayed14:17
tedgdednick, Are you getting a cell signal level on your panel?14:17
dednicktedg: nope14:17
tedglarsu, Just tried the guest session and that worked for me as well, can you try that?14:18
dednicktedg: sometimes i do14:18
tedgdednick, Hmm, that's weird.14:19
tedgI'm definitely exporting it.14:19
mzanettidednick: so, I've installed a package of lars's branch and ./run_on_device yours14:19
tedgdednick, http://pastebin.ubuntu.com/6062829/14:19
dednicktedg: hm. let me take a look14:20
mzanettidednick: the messages icon in the panel is missing, but I do get missed calls in the messages tab. calling back works fine. need to test with SMS still14:20
dednickmzanetti: cool.14:20
larsutedg: no output at all and the process exits immediately. Also, no indicators in the guest session...14:21
tedglarsu, You need to start it from lightdm, not the session menu :-(14:21
larsutedg: because upstart?14:21
larsuwill try again14:21
tedglarsu, Yeah, for some reason they're starting the session differently.14:21
tedgWhich seems really bad, but I don't understand why yet.14:22
larsutedg: works as it should when I log in from lightdm14:23
larsulet me try restarting my own session14:23
tedglarsu, Delete everything in your home directory and try again.14:24
tedg;-)14:24
dednicktedg: gsm-3g-medium doesnt exist in the theme14:25
dednicktedg: https://bugs.launchpad.net/ubuntu-themes/+bug/121218414:26
ubot5Launchpad bug 1212184 in Ubuntu theme "Missing ubuntu-mobile indicator icons" [High,Confirmed]14:26
larsutedg: doesn't time out anymore, but no output either14:26
larsutedg: the hud itself also doesn't work, but doesn't show the never ending spinner anymore14:26
tedgdednick, I've got one as well: https://bugs.launchpad.net/indicator-network/+bug/122041814:27
ubot5Launchpad bug 1220418 in Network Menu "Remove temporary icons" [High,Confirmed]14:27
tedgdednick, Those exist in the mono set, do we not fall back to that?14:27
dednicktedg: dont think it is installed on phone14:27
tedgdednick, They're in Humanity as well.14:28
dednicktedg: apparently not then14:28
tedgOkay, so I'll put them in as temp icons in indicator-network.14:28
tedglarsu, Interesting, but at least it's running :-)14:28
tedglarsu, This is on Unity8 in the emulator thing or Unity 7?14:29
=== alan_g is now known as alan_g|tea
=== dandrader|afk is now known as dandrader
larsutedg: unity714:31
tedgdednick, Cool, I copied the icons manually into the mobile theme and they work!  \o/14:32
* tedg has two bars!14:32
dednicktedg: deisgn is working on it, but dont know when they're actually going to put them in.14:33
tedglarsu, Stupid question, but making sure, do you have unity-gtk-module installed?14:33
tedgdednick, Eh, I can put temp ones in.  We can't block on them.  We already have a bunch.14:33
larsutedg: yes :)14:35
larsutedg: I already said this to pete, this is not the most pressing issue. Just wanted to let you guys know.14:36
mzanettidandrader: added tests. can you review/approve?14:42
mzanettidandrader: https://code.launchpad.net/~mzanetti/unity8/fix-1219035/+merge/18386614:42
dandradermzanetti, sure14:45
tedglarsu, Okay.  It is odd.14:46
tedglarsu, Were you able to figure out the unity menu model thing for custom actions?14:46
=== alan_g|tea is now known as alan_g
mzanettidednick: replying to an sms works too. only thing is that the notification icon doesn't show up in the panel14:51
larsutedg: nope, I still have the same problem14:51
larsutedg: apparently mzanetti doesn't, though^^14:51
dednicklarsu: i'm going to approve14:52
mzanettiI built a package from larsu's branch and installed that to the phone. rebooted and used run_on_device to run dednick's branch14:52
larsuI'm throughly confused about what is going on :)14:53
larsubut anyway, glad it works for all of you14:53
* tedg took a walk and tested one bar, two bars and three bars of signal level... now I need a cell tower to test four.14:53
dandradermzanetti, how do I run autopilot tests. I'm getting a "RuntimeError: Unable to locate unity8 binary: CalledProcessError()"14:53
dandradermzanetti,  but unity8 is build14:53
dandraderbuilt14:54
mzanettilarsu: you can close the bug with status WORKSFORYOU :P14:54
dednickdandrader: you need to install14:54
larsumzanetti: haha!14:54
mzanettidandrader: need to do a make install in the builddir14:54
dandraderoh no14:54
dednickdandrader: just to local. make install in build folder.14:54
dednickdandrader: i think it goes to ./builddir/install14:55
dednickby default anyway14:55
* mzanetti whishes the make install wasn't needed14:55
dandraderdednick, right. thanks!14:55
dednickmaybe mzanetti should fix it such that it isnt ;)14:56
mzanettior... if the make autopilot target would be able to filter tests. then it would solve the problem too14:56
dandradermzanetti, then I run autopilot from where? I'm a bit lost now14:56
mzanettidandrader: to run all tests, simply do a make autopilot in builddir14:56
mzanettidandrader: to run single tests, you need to do the make install in the builddir every time you change some code and then go to tests/autopilot14:57
mzanettidandrader: and run with "autopilot run unity8...."14:57
mzanettidandrader: ah, fyi: the notifications autopilot tests will fail unless you either kill your notifyosd or launch a new dbus session bus before starting the test suite15:02
nic-doffaymzanetti, any idea how to run individual tests with the Unity.Test module?15:08
mzanettinic-doffay: do you mean a single test, or a single test suite?15:09
nic-doffaymzanetti, a single test with qmltestrunner15:09
mzanettinic-doffay: the problem is, qmltestrunner doesn't restart the app during the run of a whole suite. so running a single test would give you different results15:10
mzanettinic-doffay: but the test suites aren't that big. which one are you working on?15:10
nic-doffaymzanetti, qmluitests15:10
mzanettinic-doffay: how do you run them?15:10
nic-doffaymzanetti, from the builddir make qmluitests15:11
mzanettinic-doffay: ah ok... you're running all test suites15:11
mzanettinic-doffay: use "make testXXX" where XXX is the test suite you want15:11
nic-doffaymzanetti, right I figured that was one suite, my mistake.15:11
mzanettinic-doffay: for example "make testPageHeader" runs the PageHeader tests.15:12
dandradermzanetti, reviewed15:12
mzanettinic-doffay: to see your test while working on it, you can use "make tryPageHeader"15:12
mzanettidandrader: thanks15:12
mzanettidandrader: done15:14
dandradermzanetti, likewise15:17
mzanettidandrader: lol. yes you are :) I was actually thinking about adding "except on the button itself" :)15:17
dandraderhehehe15:18
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
dandradermzanetti, actually, on a second thought, won't the hud button always disappear anyway (HUD being activated or not)?15:22
mzanettidandrader: yes. indeed15:23
dandradermzanetti, therefore shouldn't we be checking whether the hud is being activated or not instead?15:23
mzanettidandrader: but this test deals only with releasing it outside. the next test is the one that releases it on the button15:23
mzanettidandrader: right... fair point. I'll add that check too15:23
=== dandrader is now known as dandrader|afk
mzanettidandrader|afk: pushed15:27
dednickmzanetti: ping15:39
mzanettidednick: pong15:39
dednickmzanetti: how goes the sim pin ui?15:39
mzanettidednick: what you mean with how goes?15:39
dednickhow is it going? :)15:39
mzanettidednick: havent managed to integrate it as a notification yet15:40
dednickok15:40
dednicki've got the network indicator sending of a notification, but for now i'm just using wifi-auth ui. now just got to get the pin back...15:42
dednickmzanetti: ^15:42
mzanettidednick: oh wow, cool15:42
kgunngreyback: ricmm ... the switch we've been dicussing will be boot-time right ?15:47
kgunnbased on qt plugin15:47
dednickmzanetti: problem is that i have no idea how MacSlow intended to get data back to the backend. He's got some feedback interface, but actually using it might be a different story.15:47
mzanettidednick: at which branch are you looking?15:48
dednickmzanetti: lp:~macslow/unity-notifications/extended-snap-decisions15:48
dednicklp:~macslow/unity8/extended-snap-decisions15:48
mzanettidednick: ok, will look at it now15:49
nic-doffaylarsu, ping15:52
kgunndednick: do you know jussi who does the backend for notifications?...not sure, would it help to chat with him ?15:53
kgunnhe's finnish so might be eod15:53
dednickkgunn: thanks15:55
larsunic-doffay: yep15:55
nic-doffaylarsu, any idea how I can enable the icon themes for Unity qmluitests?15:55
larsunic-doffay: no... what's the problem?15:56
nic-doffaylarsu, not seeing the icon again.15:56
nic-doffayrunning the pageHeader test.15:56
larsunic-doffay: how do I run that manually?15:57
nic-doffaylarsu, go to the builddir15:57
nic-doffayrun make tryPageHeader15:57
nic-doffayor make testPageHeader15:57
nic-doffaylarsu, from my branch though.15:58
nic-doffaylarsu, lp:~nicolas-doffay/unity8/filter-selector15:58
* larsu branches away15:58
larsunic-doffay: I'm guessing your test is not running the unity8 binary?16:00
nic-doffaylarsu, no.16:03
larsunic-doffay: so most likely the theme isn't set to "ubuntu-mobile", and the "filter" icon is only in there16:03
larsunic-doffay: call QIcon::setThemeName("ubuntu-mobile"); in your test startup16:04
larsuthe test does pass though......16:04
larsu:)16:04
nic-doffaylarsu, at the moment16:04
nic-doffayI haven't pushed anything else.16:04
nic-doffayYou'll see the filter's icon isn't visible too16:04
nic-doffayand you can't click on it for whatever reason16:04
nic-doffayNeed to get to the bottom of this.16:04
nic-doffaylarsu, since this is a qml test how can I call that function from qmlside?16:05
larsunic-doffay: not sure if you can call it from qml at all. Is it one of those QUICK_TEST_MAIN deals?16:06
nic-doffaylarsu, as I suspected16:06
nic-doffaylarsu, not sure tbh16:06
larsunic-doffay: ah, qmltestrunner. So I don't think this will be possible, unless we can add it to some module that your test imports16:10
larsubut it doesn't look like there's any testing-specific c++ plugin16:10
nic-doffaylarsu, hmm it might be detrimental to some of the visual tests16:11
nic-doffayBut I guess if they pass they pass.16:11
larsunic-doffay: adding it to the Unity.Test module might be okay16:17
larsunic-doffay: http://paste.debian.net/35020/16:18
larsunot sure _how_ ugly people would find that, but at least it solves this problem :)16:18
nic-doffaylarsu, I'll take a look at the test case code.16:19
nic-doffayMaybe there's another place to put it.16:20
nic-doffaylarsu, cheers though16:20
nic-doffaymzanetti, you there?16:26
mzanettinic-doffay: yes16:26
nic-doffaymzanetti, simple mouse test isn't being executed, is there anything I need to be aware of?16:27
nic-doffayhttps://pastebin.canonical.com/96871/16:27
nic-doffayI can click it in a qmlscene16:27
mzanettinic-doffay: is it inside a UnityTest {} ?16:27
nic-doffayThe test fails though, I'm not sure what more I need to do than trigger a mouseClick on a MouseArea at 0, 016:27
nic-doffaymzanetti, yeah16:28
mzanettinic-doffay: don't know whats going on. you'd need to push the code16:29
mhr3pete-woods, ping?16:32
pete-woodsmhr3: hi16:32
mhr3pete-woods, hey did you already with the zeitgeist tracing?16:33
mhr3already start*16:33
pete-woodsmhr3: not yet, the other stuff I was working on has taken longer than I anticipated16:33
mhr3oh, so it's not just me :)16:34
pete-woods;)16:34
mhr3pete-woods, ok, so i'll try it16:34
pete-woodsmhr3: as in you're going to do the profiling?16:34
mhr3yeah16:34
pete-woodsokay, well I'm never going to complain about less work for me16:35
pete-woodsjust wish I'd been able to take it off hands sooner16:35
pete-woods*your16:35
nic-doffaymzanetti, the inverseMouseArea works fine.16:54
nic-doffayThe test16:54
nic-doffayhttps://pastebin.canonical.com/96879/16:54
nic-doffayThat fails.16:54
nic-doffayBecause it's collapsed after selected the inverseMouseArea16:54
nic-doffayhowever the normal mouse area still doesn't click in the test.16:54
mzanettinic-doffay: you're clicking the inverseMouseArea, that's the one that make it collapse, right?16:56
nic-doffaymzanetti, yes that works.16:56
nic-doffaymzanetti, the other doesn't.16:56
=== alan_g is now known as alan_g|EOD
mzanettibut after clicking, you check if its expanded16:57
nic-doffaymzanetti, yeah that fails which is expected from the inverseMouseArea.16:57
nic-doffaySince it's not 'expanded'16:57
nic-doffaymzanetti, here's the whole test currently: https://pastebin.canonical.com/96880/16:57
nic-doffaymzanetti, if I replace line 6 with "filterSelector.state = 'expanded'" it works16:58
mzanettinic-doffay: try to use tryCompare()16:58
mzanettiand maybe click in the center of the mousearea, instead of 0,0, or try with 1,1 at least16:59
nic-doffaymzanetti, I've tried offsetting the values.17:01
nic-doffayno luck with tryCompare either.17:01
mzanettinic-doffay: can you push the code so I can try to find out?17:03
nic-doffaymzanetti, yeah just trying some last ditch efforts17:04
nic-doffaymzanetti, pushed17:06
mzanettinic-doffay: found it17:14
mzanettinic-doffay: so, you need to call pageHeader.triggerSearch() in the beginning to make the search label appear17:14
mzanettinic-doffay: and then use some tryCompare() to wait for the textField to become visible17:14
nic-doffaymzanetti, ah I tried triggerSearch without an asynchronous call. Guess that's where I went wrong. cheers17:17
mzanettinic-doffay: also 2 other hints:17:17
mzanettinic-doffay: it's better to click on the icon instead of the mousearea. because the user will click on the icon too. so you will catch the case if the mousearea doesn't work for some reason17:17
mzanettinic-doffay: and also make sure to restore the pageheader at the end of your test to not cause other tests to fail (collapse the overlay and hide the searchfield17:18
nic-doffaymzanetti, gotcha17:18
=== dandrader|afk is now known as dandrader
mterryjenkins seems mad about some launcher api change?19:15
greybackmterry: there was an api change in unity-api, could be causing it. This needs to land to fix it: https://code.launchpad.net/~mzanetti/unity8/launcher-appmanager/+merge/18383719:21
mterryboiko, heyo!  I was just thinking about the phone again.  Is there a bug I can watch for progress on qml-ification?19:24
mterry(for the benefit of the greeter integrating the dialer)19:25
=== dandrader is now known as dandrader|afk
* greyback eod19:45
=== dandrader|afk is now known as dandrader
fajung1how do style a toolbar GTK_STYLE_CLASS_PRIMARY_TOOLBAR in Qt 5.1 ?20:07
mhall119it would be nice if, in addition to Unity getting the "average" color of a wallpaper, it could also identify a "highlight" color to replace the orange we use21:01
mhall119or at the very least, a way of setting it manually21:01
Daekdroommhall119, would that fit the icon theme?21:03
DaekdroomThe orange window close button is an image as well.21:03
mhall119Daekdroom: looks red to me21:05
DaekdroomI think how it has a color that is not monochrome-ish is the point.21:06
Daekdroom(also, that depends on your monitor calibration and perception)21:06
boikomterry: hmm, there is no bug to track that one, let me create one21:13

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