/srv/irclogs.ubuntu.com/2014/03/06/#ubuntu-unity.txt

=== _salem is now known as salem_
=== duflu_ is now known as duflu
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== hyperair is now known as minefield
=== minefield is now known as hyperair
mardyTrevinho: ciao! LIM work very well here, but I miss the double click to maximize the window. Do you plan to add it?08:14
Trevinhomardy: ciao!08:14
Trevinhomardy: it's already there :)08:14
Trevinhomardy: you only have to tune it08:15
mardyTrevinho: ah, dconf?08:15
Trevinhomardy: yes, see https://bugs.launchpad.net/unity/+bug/1283695/comments/208:15
ubot5Ubuntu bug 1283695 in Unity "LIM breaks double-tap title to maximise" [Undecided,Won't fix]08:15
mardyTrevinho: cool, thanks! :-)08:16
Trevinhomardy: np08:17
mardyTrevinho: works like a charm :-)08:17
Trevinhomardy: I did that at the beginning, then designers preferred to avoid the delay it causes (no other way, unfortunately... I can't go into people's mind :P)08:19
tsdgeosthis is very confusing09:13
tsdgeosi'm having poblems with LVWPH not scrolling to the end09:13
tsdgeosand i've converted it to a regular LV and it doesn't scroll to the end either (it bounces a bit early)09:13
tsdgeosbut if instead my own QQuickView i use qmlscene09:13
tsdgeosthen it works09:14
tsdgeos:S09:14
tsdgeoswhat is qmlscene doing!09:14
* tsdgeos digs09:14
tsdgeosbuuuuuuuuuuuuuuuuug09:32
greybacknow why isn't my tablet showing up in adb devices...09:42
mhr3Saviq, could you pls add https://code.launchpad.net/~mzanetti/unity-scopes-shell/activate-appid-2/+merge/205443 if you plan to land right-edge before new-scopes?09:45
mhr3add to unity8 landing ask that is09:45
tsdgeosSaviq: do you have 5.0 or 5.2 installed?09:48
tsdgeoson desktop09:48
Saviqtsdgeos, 5.210:02
Saviqmhr3, there isn't a landing ask for right edge yet, but will make sure to add it there10:02
Saviqmhr3, but anyway, isn't -scopes blocked due to 5.2 already?10:03
tsdgeosSaviq: i have a weird behaviour of using a qquickview vs using qmlscene10:03
Saviqtsdgeos, yeah, I read above, want me to downgrade to 5.0?10:03
tsdgeoswanted to know if it was new in 5.010:04
tsdgeosor somehow compiz had a regression since last time i tried :D10:04
tsdgeosSaviq: it's ok, i can do it too, just wanted to know if you had it at hand10:04
* tsdgeos ppa purges10:04
Cimigreyback, usually killing adb and/or rebooting pc solves10:05
greybackCimi: did the first one, second didn't make sense as phone connects fine with adb10:05
mhr3Saviq, yea, it is.. any idea when the 5.2 migration might finish?10:06
Saviqmhr3, we're down to two last issues as of yesterday10:07
mhr3Saviq, so i take it you're not leaving today until that row says Landed? ;)10:09
Saviqmhr3, you mean the new scopes one? didn't I tell you it's not gonna happen before Tuesday, probably? :P10:10
mhr3Saviq, no, 5.210:10
Saviqmhr3, ah, not mine to say10:10
* greyback needs more cpuz10:47
Saviqgreyback, hey, there's three of your branches that I reverted from new-scopes to be merged into trunk separately - see history of https://code.launchpad.net/~unity-team/unity8/new-scopes-clean-to-trunk/10:49
Saviqgreyback, would be good to get those in (with tests) sometime10:49
greybackSaviq: sure10:49
Saviqgreyback, not hugely pressing, though10:50
SaviqCimi, hey, please let me know when you have the carousel changes ready10:51
CimiSaviq, I was still testing the zoomable branch :)10:52
CimiSaviq, trying to see why wasn't working properly here10:52
CimiSaviq, I can switch back to carousel now10:52
SaviqCimi, please do, higher prio10:52
CimiSaviq, I don't understand why we have to split10:53
CimiSaviq, I basically have to restart from scratch10:53
SaviqCimi, because we want to reduce new scopes diff where possible, and CardTool and such are already in trunk10:53
Cimiok10:53
CimiSaviq, I'll do from scratch10:54
SaviqCimi, should be easy to cherry-pick10:54
SaviqCimi, I can do it if you're not sure how10:55
CimiSaviq, I'm not good with bzr, but I know well to copy-paste ;)10:55
SaviqCimi, sure10:55
CimiSaviq, how shall we write comments?10:55
CimiSaviq, I started doing /// because you asked me so weeks ago10:55
CimiSaviq, not we are back to /*10:56
SaviqCimi, not /* but /*!10:56
SaviqCimi, just look at style in the file10:56
SaviqCimi, we want to be consistent within files at the least (until we become consistent across them) ;)10:56
mzanettiwhat was the last time someone executed all our autopilot tests on the phone? successfully that is11:16
mzanettiI can't manage to get a successful run11:16
mzanettielopio: hey, you around yet?11:17
tsdgeosmzanetti: Saviq did the other day i think11:19
Saviqmzanetti, if you get "process not found" that's Qt 5.0 crash11:19
mzanettiright. I get 2 of them for the emulator tests elopio did, and one of the notifications tests failing reliably11:20
Saviqmzanetti, which notification one? and apt-cache policy libautopilot-qt ?11:25
mzanettiSaviq: unity8.shell.tests.test_notifications.EphemeralNotificationsTests.test_append_hint11:25
Cimidid unity become longer to compile in the last month or is it just my pc?11:25
mzanetti1.4+14.04.20140303.is.1.4+14.04.20131106.1-0ubuntu1 011:26
Saviqmzanetti, what's the failure?11:26
SaviqCimi, apt-get install ccache11:26
mzanettiyeah, process not found11:26
Saviqmzanetti, ah then that's the crash11:26
mzanettiinteresting that its always this one tho...11:26
CimiSaviq, don't have much storage11:26
CimiSaviq, how much it takes?11:26
Cimiin .cache ?11:26
SaviqCimi, 1GB on my home11:26
CimiSaviq, ok, might be enough11:26
CimiI mean, fine11:27
CimiSaviq, https://code.launchpad.net/~unity-team/unity8/carouselTool/+merge/20965511:49
SaviqCimi, cheers11:49
SaviqCimi, no need for type:int, it's only needed for aliases and in case you want to override what the property type actually is11:50
CimiSaviq, I forgot to take carousel as grid11:50
CimiSaviq, is it required?11:50
SaviqCimi, yes11:50
SaviqCimi, let me get you a diff11:51
CimiSaviq, i can merge11:51
Cimino problem11:51
SaviqCimi, http://paste.ubuntu.com/7043700/11:51
SaviqCimi, that branch is against new-scopes I think, so you don't want it whole11:52
CimiSaviq, I override those changes11:52
CimiSaviq, so I don't need it11:53
Cimiapart cardfiltergrid11:53
SaviqCimi, all of them?11:53
SaviqCimi, ah, in that case is fine11:53
SaviqCimi, sentence case in docs, please11:53
SaviqCimi, what's 32+ property var carouselTool used for?11:55
dandradermzanetti, question on your right-edge-2 behavior (still flashing a second device to try out your branch again, as I'm doing development on the first one)11:55
CimiSaviq, not used now11:55
CimiSaviq, it is used with the new scopes11:55
dandradermzanetti, when there's no application running and I do a right edge drag on the dash, what happens?11:55
CimiSaviq, but since I added cardtool to dashrenderer11:56
CimiSaviq, it can be added11:56
mzanettidandrader: it should do that animation on the dash11:56
dandradermzanetti, same as currently?11:56
mzanettidandrader: where it shrinks a bit and gets black11:56
mzanettiyeah11:56
CimiSaviq, I tried to reduce the diff for new scopes indeed11:56
dandradermzanetti, ok11:56
SaviqCimi, I just wonder, why do we want the whole carouselTool as property, and not just the needed props directly?11:57
CimiSaviq, because carousel in new scopes needs to read cardtool11:58
Cimicarouseltool11:59
SaviqCimi, yeah, that's fine, but why do we need the QtObject?11:59
Cimisorry hold on11:59
Cimithe property is cardtool11:59
SaviqCimi, why can't CardTool just deal with it directly11:59
Saviq94/*!11:59
Saviq95+ \brief Tool component for Carousel.11:59
Saviq96+ */11:59
Saviq97+ property var carouselTool11:59
CimiSaviq, doesn't seem to be required from outside indeed12:00
CimiSaviq, I don't know if it was some sort of future-proofing I did when I wrote the branch or a leftover of an old test12:01
CimiSaviq, I don't think it's necessary to expose carouselTool from outside12:02
SaviqCimi, ok, please kill it then12:02
CimiSaviq, I think that I used it to calculate from the cardcarousel the dimensions of the tiles12:02
CimiSaviq, then you said to use the static values we set in cardtool12:02
CimiSaviq, so I removed from cardcarousel but I left in cardtool12:03
=== MacSlow is now known as MacSlow|lunch
Cimiyep that might be it - removing12:03
CimiSaviq, done12:04
SaviqCimi, ok, will do a proper review asap12:04
elopiomzanetti: I'm here.12:30
mzanettielopio: good morning. Again, everything resolved by now :)12:30
elopiomzanetti: I like that :D12:30
mzanettiI guess so12:31
elopiomzanetti: I'm watching your presentation, because yesterday the stream was broken for me. I need to turn many autopilot tests on the notes app into qml tests.12:32
mzanettielopio: +1 on that one :D12:32
elopioI'll probably be asking dumb questions12:32
mzanettielopio: no problem... as long as we get more reliable tests, feel free to ask me any time12:32
mzanettielopio: is the whole presentation up by now?12:35
mzanetti'cause the stream broke down somewhere in the middle and cut the video in 2 parts12:36
elopiomzanetti: I see two videos of ~20 minutes on david's youtube channel.12:37
mzanettiok. that should be everything then12:37
dandradertrying to turn my N10 display on. "powerd-cli display on bright" doesn't seem to be enough...12:44
=== smb` is now known as smb
dandradergreyback, Saviq: any ideas? ^12:47
greybackdandrader: just had same issue here. Rebooting worked. Unsure why however12:47
dandradergreyback, heh, screen lit up just after I issued "reboot" :)12:49
greybackdandrader: yeah, suspect powerd isn't doing quite the right thing on manta12:49
=== alan_g is now known as alan_g|lunch
=== boiko_ is now known as boiko
Saviqdandrader, it won't power it on, it will keep it on13:36
Saviqdandrader, you need mir to actually talk to the hardware to turn the display on13:36
Saviqdandrader, powerd-cli only overrides the policy, but without mir executing it there's nothing that will actually tell the hw to turn it on13:37
dandraderSaviq, I have unity8 manually running...13:38
dandraderSaviq, does that count as "mir"?13:38
Saviqdandrader, yes, should, assuming it listens to powerd's commands to turn the display on...13:40
Saviqfginther, hey, it looks like https://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/5673/console isn't using unity8's helpers for unlocking the screen, could it start doing so?13:41
Saviqfginther, we're removing the BottomBar... thing13:42
Saviqmhr3, oh, you're back, just posted on #ferrets:13:43
Saviq<Saviq> pstolowski, we need to do something so that scope-registry is always started when unity8 is13:43
Saviq pstolowski, /me thinks "start on unity8 starting" or something similar13:43
mhr3Saviq, why would that be necessary?13:43
Saviqmhr3, install unity8, no scopes13:43
pstolowskiSaviq, it currently starts with dbus, what's the issue?13:44
mhr3Saviq, zmq sockets are kinda connectionless13:44
Saviqmhr3, pstolowski, then maybe it just needs to start on installation13:44
Saviqbut that's probably difficult13:44
Saviqmhr3, pstolowski, as right now you need to "start scope-registry" the first time you install it, as otherwise without restarting the session there won't be a "dbus started" event13:44
mhr3yea well... log out after installing unity8 :)13:44
=== MacSlow|lunch is now known as MacSlow
Saviqmhr3, tell that to the test runners13:45
pstolowskihmm13:45
mhr3Saviq, make the test runners start the registry then :)13:45
Saviqmhr3, I can make unity8 job start the registry13:45
mhr3well... why not13:46
Saviqmhr3, but then that's what events are supposed to be, aren't they...13:46
pstolowskiSaviq, then you should probably start smart-scopes-proxy13:46
pstolowskiSaviq, as registry depends on it13:46
Saviqpstolowski, right13:46
* Saviq looks for an upstart expert...13:47
SaviqCimi, we can't merge the new getRenderer into trunk13:51
SaviqCimi, https://code.launchpad.net/~unity-team/unity8/carouselTool/+merge/209655/comments/49327913:52
=== dandrader is now known as dandrader|afk
=== alan_g|lunch is now known as alan_g
fgintherSaviq, can you point me to what the unlock should be doing?14:22
=== dandrader|afk is now known as dandrader
Saviqfginther, so, is it decided that it's ok for unity8 to always run under testability to do the unlocking? if so, there's unity8.autopilot.process_helpers.unlock_unity14:27
mhr3Saviq, still ok to to merge trunk to new-scopes? people are still using the demo ppa, and the pkg there is superseded14:27
Saviqmhr3, the recipes are disabled anyway14:28
mhr3Saviq, not a big deal to trigger them :)14:28
fgintherSaviq, so just run that with phablet-test-runner and the magic happens?14:28
Saviqfginther, .restart_unity_with_testability first14:29
fgintherSaviq, ack14:29
Saviqfginther, and yes, those two calls would be it14:29
Saviqmhr3, we'll merge new-scopes soon enough, people could just force the versions after all14:29
mhr3oh, nvm there isn't much to merge14:29
fgintherSaviq, is remaining on the old method going to be a blocker to testing?14:29
mhr3Saviq, i'll just kick the build for now14:30
Saviqfginther, yes, since it relies on a dbus interface that's going away14:30
fgintherSaviq, ok14:30
fgintherSaviq, I'll get the work on the queue and prioritize it14:31
Saviqfginther, thanks14:33
mhr3Saviq, re attributes, i'll expose them to shell as a single role which will hold the classical array of dicts, right?14:34
Saviqmhr3, yup14:35
Saviqmhr3, no need for a model14:35
mhr3Saviq, and in preview header widget?14:35
mhr3i guess you also want it there as a single attribute?14:36
Saviqgreyback, standup?14:36
greybackd'oh14:36
Saviqmhr3, yeah, same exact thing14:36
Saviqmhr3, as it's meant to be the same widget ;)14:36
mhr3which means it will be different two things for scope authors... but you don't care about that :)14:36
Saviqmhr3, not really ;D14:39
om26ermzanetti, hey14:39
om26ermzanetti, regarding https://code.launchpad.net/~mzanetti/unity8/disable-hud/+merge/209701 it seems the unlock script depends on an interface that is being removed14:39
mzanettiom26er: one sec. in the standup right now14:39
Saviqom26er, read up my conv with fginther14:39
om26ersure14:39
om26erSaviq, I just came in ;)14:40
Saviqom26er, right, yeah, we know, fginther will fix :)14:40
om26erSaviq, fginther if you want I can work on it14:41
om26erits a great time to clean that script14:41
Saviqdednick, standup?14:41
Saviqdednick, still have a minute or so to join :)14:41
mzanettiom26er: so, yeah... known, we're working on it. for now I've proposed another branch that just disables the hud tests which are blocking the apps14:42
om26ermzanetti, yeah, saw that as well.14:44
mhr3didrocks, question about 0replaceme - when is that going to be actually replaced?14:48
fgintherom26er, if you have some cycles, that would be awesome, I won't be able to get to it for a few hours14:48
mhr3didrocks, and since we might build the binaries at the same time as when the dep pkgs are built, isn't there going to be a problem?14:49
mhr3didrocks, or is it replaced already when going to a landing silo?14:49
didrocksmhr3: when it will be published in distro14:49
om26erfginther, yeah, I have many ;)14:49
didrocksmhr3: the dep packages requires the new version?14:50
mhr3didrocks, they might if we have them in the same silo, right?14:50
didrocksmhr3: you need to bump the build-dep in that case14:50
didrocksotherwise, everything will start to build at the same time (as you didn't require latest version)14:51
mhr3didrocks, sure, but when the dep pkg will be building it will see that it needs version 0replaceme instead of the real version14:51
mhr3...i hate this wifi chip so much14:51
didrocksmhr3: nothing to do with that, this is for binary deps, not build-time14:52
didrocksmhr3: so if you need latest one at build-time, you need to bump the build-deps14:52
didrocksthen, if you do that14:52
didrocksand let's say 0replaceme is replaced with "42"14:52
didrocksB will depend on A (=< 42)14:53
didrocksif it's using one of the new symbols14:53
mhr3hmm, i guess i don't really understand when is the version from the symbols used14:54
mhr3but if you say it's going to work, i'll trust you14:54
didrocksit's easy14:54
didrocksso you have A and B14:54
didrocksB depends on A14:54
didrocksA provides new symbols: aaaaa 4214:55
didrocksif B uses "aaaaa"14:55
didrocksit will be B depends on A (=< 42)14:55
didrocksbut for that, you need to have B built against the new A14:55
didrocksif you use new symbols14:55
didrocksso, if you want B wanting on A to be built14:56
didrocksyou need to have B bumping the build-dep version on A14:56
didrocksand you need to do that manually14:56
mhr3didrocks, hmm, i thought it's also helping with upgrades, when for example soname of A doesn't change, but there are new symbols in A and B is using them, then it would make sure that B doesn't get upgraded unless A is as well14:58
didrocksmhr3: yeah, it does, once the packages are built14:58
didrocksas you will get:14:58
didrocks B depends on A (=< 42)14:58
didrocksas a consequence14:58
didrocksbut nothing build-time wise14:59
mhr3right, but at the point when B builds, all the symbols in A are 0replaceme, so how can that work?14:59
mhr3*all the NEW symbols15:04
didrocksno15:05
didrocksbefore B builds, my script is changing those15:05
didrocksand then uploading to the ppa15:05
didrocks(with the correct version)15:06
mhr3 didrocks, or is it replaced already when going to a landing silo?15:06
mhr3<didrocks> mhr3: when it will be published in distro15:06
mhr3^^ you're confusing :P15:06
didrockswell, not sure why you want implementation detalis15:06
mhr3if it's when being uploaded to ppa then yea, sure everything fine15:06
didrocksso, it's replaced when I prepare the branch15:06
didrocksthis branch is used to build a source package15:07
didrocksthis source package goes to the silo ppa15:07
didrocksbut this branch is only available to you (and trunk) when the package is published :p15:07
didrocksI just talked about the last part as I thought it was what matters to you ^15:07
mhr3i see... this time i was more interested in the details :)15:08
mhr3didrocks, but ok cool, everything working fine, so awesome :)15:08
didrocks;)15:08
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
Saviqmzanetti, since you're on fire, https://code.launchpad.net/~unity-team/unity8/themeing-font-and-mascot/+merge/207282 please :)15:37
mzanettiSaviq: ack15:37
Saviqmzanetti, I just pushed tests for it15:37
mzanettiSaviq: am I talking bullshit here or does it make sense? https://bugs.launchpad.net/ubuntu-weather-app/+bug/128881915:37
ubot5Ubuntu bug 1288819 in Ubuntu Weather App "font.pointSize should not be used together with units.gu()" [Undecided,New]15:37
Saviqmzanetti, definitely15:37
Saviqmzanetti, making sense ;)15:38
mzanettiI do wonder a bit why it looks ok on the phone15:38
mzanettiprobably because the phone doesn't properly set the font DPI for that display15:38
mzanettias we're not using it anyways15:38
Saviqmzanetti, or just because they selected the fonts right ;)15:38
mzanettiwell, it looks good on desktop with 8 px/gu and also looks good on phone with 18 px/gu, but it breaks on desktop with 18px/gu15:39
Saviqmzanetti, ah, and a pretty small one https://code.launchpad.net/~unity-team/unity8/newscopes-design-tweaks/+merge/20949215:40
mzanettiack15:40
* greyback in VT land15:44
mzanettiSaviq: make testCard segfaulting, known 'cause of 5.0?15:52
Saviqmzanetti, no, probably fails15:52
Saviqmzanetti, might need try* instead of verify15:53
Saviqmzanetti, let me fix15:53
Saviqmzanetti, that's for the font/mascot tests?15:53
mzanettiPASS   : qmltestrunner::Card::test_mascotShape(Art and summary)15:53
mzanettiSegmentation fault (core dumped)15:53
mzanettiSaviq: ^15:53
Saviqmzanetti, yeah, qmltestrunner segfaults on failing tests in there....15:53
mzanettiok...15:53
mzanettiok, summed it up in here too: https://code.launchpad.net/~unity-team/unity8/themeing-font-and-mascot/+merge/207282/comments/49343115:54
Saviqmzanetti, http://bazaar.launchpad.net/~unity-team/unity8/themeing-font-and-mascot/revision/742 http://bazaar.launchpad.net/~unity-team/unity8/themeing-font-and-mascot/revision/74316:06
dandradermzanetti, greyback: so an app is running and its tile on the dash is clicked. code "ApplicationManager.activateApplication(application.appId)" is called. Anything against having "application.activate()" instead?16:07
Saviqmzanetti, pushed a small change to the tests, too16:09
greybackdandrader: not really. AppMan API could do with a review tbh16:10
Saviqdandrader, sounds like should be fine (and it should be going away anyway), and even when we start actually killing apps (and keeping them in Recent ones), we'll keep the Application object still, I think16:10
Saviqdandrader, (it going away → running apps in dash going away)16:10
mzanettidandrader: greyback: fine with me...16:10
mzanettidandrader: ah, if you're changing this...16:11
greybackyep we keep the Application object16:11
mzanettiI'd vote for startApplication() to emit requestFocus() and only the shell then to actually grant focus by calling focusApplication(appId) too16:11
mzanettito keep it aligned with activate()16:11
mzanettigreyback: ^ jfi16:12
greybackmzanetti: agreed. Makes sense on desktop too, where if you launch app2, then focus on existing app1, when app2 appears afterwards, shell can know not to remove focus from app116:14
CimiSaviq, my branch breaks things16:14
SaviqCimi, not any more it doesn't16:14
SaviqCimi, http://bazaar.launchpad.net/~unity-team/unity8/carouselTool/revision/75816:15
dandraderthe thing is, the current AppMan API doesn't make all that much sense anymore on the "unity8 as mir compositor" work16:15
CimiSaviq, hah, had same one locally16:16
dandradere.g., the focus management will live entirely in the unity8 qml scene16:16
mzanettidandrader: well... not entirely16:16
mzanettidandrader: we still will have a model holding all the apps and their info16:16
mzanettidandrader: the activate/focus/etc might go away indeed16:16
SaviqCimi, we need a branch on top of that to be merged into new-scopes, please16:16
mzanettidandrader: but all the rest (applicationAdded() appRemoved() etc will continue to make sense imo)16:17
dandradermzanetti, I didn't mean that the AppMan API itself won't make sense, just part of it16:17
dandraderwe will still need it for sure16:18
mzanettiyeah. and I think most of is actually ok.. everything related to the model16:18
mzanettijust the focus() unfocus() calls yeah... but right. I get your point... makes my previous request obsolete indeed16:18
=== dandrader is now known as dandrader|lunch
Saviqmzanetti, top-ACK https://code.launchpad.net/~unity-team/unity8/newscopes-design-tweaks/+merge/209492 please?16:31
Saviqmzanetti, https://code.launchpad.net/~unity-team/unity8/new-scopes-clean-to-trunk/+merge/209459 would be the next one I'd like you to look at (see description for things that are not ready for it still)16:33
mzanettiSaviq: done... as of now I'll do 5 push ups whenever I forget to top approve16:33
Saviqmzanetti, ;D16:33
Saviqmzanetti, in that case: https://code.launchpad.net/~unity-team/unity8/themeing-font-and-mascot/+merge/207282 ;D16:33
mzanettiSaviq: commit message missing16:33
* mzanetti is doing push ups16:33
Saviqmzanetti, it's WiP still16:34
mzanettioh... its the full thing16:36
mzanettimeh... /me starts rebasing its right-edge stuff :P16:37
mzanettiwon't get through this today16:38
mzanettibut I'll start tomorrow16:38
Saviqmzanetti, yeah, for sure16:38
Saviqmzanetti, well now ;) you can always make the review take long enough so that right edge gets in first ;D16:38
Saviqmzanetti, and make sure right edge review is ready soon ;)16:39
SaviqI'm sure there's someone on the team in need of a case of beer ;D16:39
mzanettiSaviq: haha16:39
mzanettiSaviq: did you revert the conflicting stuff?16:39
mzanettiShell.qml looks quite clean16:40
mzanettiso probably not even many conflicts after all16:40
Saviqmzanetti, yeah, see the last few commits16:40
mzanettithanks for that :)16:40
Saviqmzanetti, I cleaned it up to just be new-scopes-related16:40
=== robru-sick is now known as robru
SaviqCimi, please make sure to recreate carousel-dynamic-fallback on top of carouselTool, MP'd into lp:~unity-team/unity8/new-scopes-clean-to-trunk16:42
CimiSaviq, sure16:42
SaviqCimi, with carouselTool as prereq16:42
kgunnelopio: hey there17:02
kgunni was looking at http://ci.ubuntu.com/smokeng/trusty/touch/mako/223:20140306:20140304/7006/17:02
elopiokgunn: hello.17:02
kgunnand trying to square the tests listed there with the wiki17:02
kgunnhttps://wiki.ubuntu.com/Touch/Testing#Testing_your_Ubuntu_Touch_Code_before_submission17:02
kgunn....specifically...is keyboard not run as part of smoke testing ?17:02
kgunnor is it hiding under another test somehow ?17:02
elopiokgunn: I don't know much about keyboard. veebers was the one working on it.17:03
elopioI know that keyboard has its own autopilot tests, and if they are not listed here is because they are not being run.17:03
elopiobut they should17:03
elopioalso I know that none of our autopilot tests are using the osk yet.17:04
kgunnelopio: ok...this is the one listed in the wiki "phablet-test-run -p ubuntu-keyboard-autopilot ubuntu_keyboard"17:04
elopiokgunn: yes, that's the suite.17:05
elopiokgunn: and there's one discussion we need to have in order to let all the autopilot tests on the phone to use the osk.17:06
elopioit's about starting malit with testability.17:06
mhr3mhall119, ping17:06
mhall119mhr3: in an appdevweek hangout atm17:07
elopiokgunn: but if on top of new scopes, qt5.2 and android 4.4 we also switch to use the osk, we will be lynched.17:07
mhr3mhall119, k, sending a mail instead17:07
mzanettielopio: ping :)17:23
mhr3Cimi, the rating input and output widgets are merged in unity8 trunk already?17:29
Cimithink so mhr317:29
mhr3Cimi, how is the review text and star rating passed back to the scope?17:29
mhr3(need to document that)17:29
=== dandrader|lunch is now known as dandrader
=== alan_g is now known as alan_g|EOW
Cimimhr3, ah, actually I am not sure I finished that18:07
CimiSaviq, https://code.launchpad.net/~unity-team/unity8/carouselTool-new-dash/+merge/20974618:08
Cimimhr3, was merged I think18:08
Cimimhr3, https://code.launchpad.net/~cimi/unity8/previews.PreviewRatingDisplay/+merge/20762518:09
mhr3Cimi, ok, found it, think we'll need to adjust it a bit18:17
elopiomzanetti: I branched ubuntu-sdk-tutorial and the currency converter tests there are not using UbuntuTestCase18:26
elopiooh, I've found your branch.18:27
mzanettielopio: https://code.launchpad.net/~mzanetti/ubuntu-sdk-tutorials/use-ubuntutestcase/+merge/20945518:27
mzanettiah18:27
mhall119Saviq: any specific day/time next week that is bad for you for the Unity API docs website discussion?18:37
mhall119Saviq: http://summit.ubuntu.com/uds-1403/meeting/22199/client-1403-api-website-for-unity/18:39
Saviqmhall119, any place that's free in my calendar is fine18:44
Saviqmhall119, bonus points if it's before 7pm UTC :)18:45
elopiomzanetti: what's the package that installs UbuntuTestCase?18:51
mzanettielopio: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/128893719:10
ubot5Ubuntu bug 1288937 in Ubuntu UI Toolkit "UbuntuTestCase.qml missing in installs" [Undecided,New]19:10
elopiomzanetti: I was looking at the right place then :)19:10
mzanettielopio: not sure when this happened (in unity we use our own UnityTestCase.qml)19:10
mzanettielopio: for now you can copy it yourself from the repo to that place19:11
elopiomzanetti: why are you duplicating it? Isn't the toolkit a dependency of unity?19:11
mzanettielopio: unity hat this before the toolkit, and unity's has more19:11
mzanettielopio: but as soon as this is fixed in the sdk I'll drop the findChild() stuff from UnityTestCase and inherit that from UbuntuTestCase19:12
elopiomzanetti: yes, that would be nice. We also need a suite that hits everything from the API, so this doesn't happen again.19:12
elopiotst_UbuntuTestCase, that's a dangerous hole to go into :)19:13
mzanettielopio: well, we do have a tst_UnityTestCase.qml :)19:14
mzanettiin unity-api we even have mocks to test the tests :D19:14
mzanettiseems we've fallen into the hole :D19:14
elopiomzanetti: vila will like you.19:15
vila\o/19:20
elopiomzanetti: now I have a ListView of NoteItems. How can I populate that ListView for the test to have something to click?19:21
vilamzanetti: it's a hole, but also the entry into the real world ;)19:21
elopiowait, I'm sorry, isn't it way past your EOD?19:21
vilaelopio: I just EOD, beer time ;)19:25
elopiovila: get one from me. I'll pay for it on may.19:26
elopiobut I was asking mzanetti :) I don't know if I should stop bothering him now.19:26
mzanettielopio: well, you set a model to that listview :)19:26
mzanettinot really sure what you're asking for19:27
elopiomzanetti: right. It's hard to make a QML test when you don't know QML :D19:27
elopioI'll start reading about models and give it a try.19:27
mzanettielopio: ok... I see19:27
mzanettielopio: so.. do you want to use the real notes or a fake one for the test?19:28
elopioahh, it's easy. All the vars that seem to come out from nowhere on the delegate should be defined on the model.19:28
mzanettielopio: yeah, thats it19:29
elopiomzanetti: I'll fake them. I just need to expand and collapse them.19:29
mzanettielopio: if you want to define a mocked one in qml, just do ListModel { ListElement {name: "aaa"}, ListElement { name: "bbb"}}19:29
mzanettithen you set that model to the listview and inside the delegate there is a variable (aka. attached property) called "name" containing the values for each delegate19:30
mzanettielopio: here's a nice example: http://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/tests/qmltests/Dash/Music/tst_MusicPreview.qml19:33
elopiomzanetti: http://paste.ubuntu.com/7045932/19:34
mzanettielopio: yeah, I guess you need to set it still19:35
mzanettinot sure how NoteList works19:35
elopiomzanetti: but it's still showing a white window.19:35
mzanettiis this the notes app, right?19:35
elopiomzanetti: yes.19:35
vilaelopio: ack, not finished the first one but will drink the next for you ;-p19:36
mzanettielopio: yeah, it's a listView19:36
mzanettione sec, I'll change the paste19:37
mzanettielopio: something like this: http://paste.ubuntu.com/7045954/19:38
mzanettinote: you could also leave the Model definition inside the NotesList, but I think its more readable this way19:39
elopioI can see it now19:39
elopioit's easy when you know what you are doing :D I should go one step back and learn more QML.19:40
elopiothanks mzanetti!19:40
mzanettinp19:40
mzanettielopio: jfi: this would work too http://paste.ubuntu.com/7045961/ (and can be handy in some cases)19:41
elopiomzanetti: got it. Here I like your first paste a little better.19:42
mhall119Saviq: http://summit.ubuntu.com/uds-1403/meeting/22199/client-1403-api-website-for-unity/ 1500 UTC on Wednesday21:46
Saviqmhall119, awesome, thanks22:27

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