[04:27] does anyone know where to find all of the theme names for ubuntu phone in the QML. I know there are names like Ubuntu.Components.Themes.Ambiance, what else? === _salem is now known as salem_ [11:54] Elleo, hey, if I use DownloadManager{} instead of SingleDownload{}, is it still possible to show it in the indicator? If so, how? [11:55] I understand that "downloads" is a list of all the stuff that is going to be downloaded by the download manager. However I need a SingleDownload object to set its metaData [12:01] I looked at the web browser app code, at http://bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/app/Downloader.qml [12:01] It seems they create dynamical SingleDownload{} objects, but I don't see any place where these objects get destroyed/cleaned up. [12:02] I would expect they cleaned up when the download finishes [12:02] oSoMoN, Can you explain this if you're free ^^ [12:03] Is anyone here to help with snappy-ubuntu-core [12:03] Marin_, try #snappy [12:03] first time here thanks [12:04] nik90, Elleo wrote that code so he’s more capacitated than me to explain it, but let me take a look anyway [12:08] oSoMoN, I think I have a vague idea, but I cannot form a complete picture of how the various components are connected. [12:08] I don't mind waiting for Elleo if you have other things to attend to. [12:09] nik90: the downloads list in the DownloadManager component will contain downloads you create via SingleDownload as well [12:10] nik90: it's basically a list of all downloads created by your app, regardless of how they were created [12:10] Elleo, true, but I need to migrate from SingleDownload to DownloadManager to handle multiple downloads in Podbird. Otherwise it will stop downloading after the very first download (while the app is backgrounded). [12:11] So when I use DownloadManager, I am unable to understand, how to set the metaData of individual downloads in DownloadManager [12:11] nik90: you can create multiple SingleDowlnoad components dynamically [12:11] nik90: they'll automatically be queued by DownloadManager for you [12:11] nik90: in the order that they were created [12:12] Elleo, ah ok...so something like http://bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/app/Downloader.qml [12:12] Elleo, and when I received the onFinished signal from the SingleDownload component, I can then destroy it? [12:13] nik90: yeah, but don't listen for onFinished in SingleDownload, listen for onDownloadFinished in DownloadManager, that way it'll also support the app being closed and the download still finishing [12:14] nik90: that provides you with both the path and the relevant SingleDownload component that finished [12:15] Elleo, ack. When I use the onDownloadFinished signal, I will need to compare the finished download ID with the list of temporary singleDownload objects to see which one it was and destroy that? [12:15] DownloadManager gives me the relevant SingleDownload component as well with the onfinished signal? [12:16] s/onfinished/ondownloadfinished [12:16] nik90: yeah, it gives you "download" which a SingleDownload and "path" which is where it ended up [12:16] cool, thnx [12:17] nik90: http://bazaar.launchpad.net/~phablet-team/webbrowser-app/trunk/view/head:/src/app/webbrowser/DownloadHandler.qml <-- this shows what the browser does there, there are other similar signals you can listen to for paused/resumed/etc. [12:17] Elleo, I saw that file earlier..What does DownloadsModel refer to? [12:17] I don't see that as a listed property in DownloadManager [12:18] nvr mind, that comes from the webbrowserapp.private 0.1 import [12:18] nik90: that's just a webbrowser thing, it's basically the webbrowser's own sqlite db listing all old downloads [12:18] yeah [12:18] I can just say download.destroy() [12:19] Elleo, thnx..this makes it clear. [12:19] nik90: yep, also iirc you can set autoRemove on the DownloadManager and it'll get rid of them for you when finished [12:20] Elleo, I only see cleanDownloads property in DownloadManager which just clears up the list. I can't be sure it also cleans up the SingleDownload object [12:21] nik90: yeah, I should probably do another little video explaining how SingleDownload and DownloadManager can be used together, good to have these questions asked and see where we need to improve docs [12:21] nik90: ah yeah, you may be right there [12:22] Elleo, oh man, those videos are freaking awesome. [12:23] nik90: regardless what you do it does actually automatically clean up the real internal download object, so all you're left with is a tiny SingleDownload component keeping the relevant properties in memory (id, state, error, etc.) [12:23] nik90: so there's only a few kbs memory hit if a dev doesn't manually destroy the object [12:23] Elleo, agree [12:24] nik90: thanks :) been away the past few days but going to do some more as soon as I get a free evening [12:26] nik90: I had a play with the dev version of podbird before I left (haven't tried the very latest version yet), seemed really good, only two things I wasn't sure on; one was the removal of the fuzzy background image at the top of the podcast pages; it looks good without it for some podcasts, but not as good for others (e.g. where their logos don't have such well defined edges), so we might want to chat with Kevin a bit about that [12:27] nik90: and I'm really not keen on losing the "Add new podcast" page, the interaction of pressing the "+" to get to a new page with identical header actions seems wierd to me [12:27] nik90: plus I'm planning on expanding that page a lot [12:27] nik90: so that when it's in the empty state it shows charts and recommendations from the podbird.org services [12:28] nik90: which seems more natural to reach via the "Add new podcast" menu option [12:28] at least to me anyway :) [12:29] but overall everything seemed really great [12:29] I'll give the .5 release a go this evening to see what else has changed while I was away [12:37] Elleo, the fuzzy background removal was part of kevin's new design spec at https://drive.google.com/file/d/0B8NjAHEq9cvEY2VZb1lGczRKMVE/view. Although I have to agree that I liked the fuzzy background as well :) [12:38] I see your point regarding the add podcast page. I agree. The headers are too similar at the moment. I will bring that back to the old way. But I like to keep the EpisodesTab as the way it is if you like it. [12:38] Elleo, I think the most cool part is that we have playlists support in 0.7.5..so you should really try that out. [12:48] nik90: awesome, look forward to giving that a go :) [12:51] nik90: and yeah, episodes tap looks really good [12:51] nik90: nice having a way to access all the downloaded episodes from all podcasts mixed together [12:52] tab* [12:53] Elleo, I was thinking of integrating the in-progress downloads to the downloads view. This way users can cancel individual downloads, pause them if required etc. That was another thing that users reported bugs about. [12:53] that and the files indicator integration is my focus atm. [12:53] nik90: yeah, that sounds good === charles_ is now known as charles [14:46] zsombi: so, I have a fix for the XFAIL, https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/apl-dont-change-page-geometry/+merge/289054 [14:46] zsombi: current staging tests it with the old header, and your branch with the new [14:46] zsombi: should we test both? [14:47] t1mp: I wouldn't bother tbh... [14:47] t1mp: we don't have resources to maintain both anyway [14:47] zsombi: the whole error was there because we are trying to support both headers in a single APL anyway [14:47] t1mp: :( [14:48] zsombi: anyway, the fix turns out to be not so difficult [14:48] zsombi: it broke because the updates are not in the ideal order [14:48] I see [14:48] t1mp: I cannto get yr MR [14:49] what do you mean with "cannot get"? [14:58] t1mp: this MR is agains staging... so we shoudl get this prior to the APL MR [15:00] zsombi: it works independently from the APL MR [15:01] t1mp: ok, let's hope CI will wake up and lat it go [15:01] zsombi: I tested it with your MR too [15:01] t1mp: me too :) [15:01] t1mp: happroved [15:01] thanks [15:01] bzoltan_: so your script listed loads of packages... i decided to do a clean install [15:02] bzoltan_: even kernels ... [15:02] zbenjamin: my script? [15:02] bzoltan_: the one that lists packages that are not from the archive? [15:02] zbenjamin: check it if you do not believe :) [15:03] bzoltan_: i do believe, but as i said i had a huge list of packages that came from nowhere. I guess broken or not completely removed ppa'S [15:03] there's an outage going on, FWIW [15:03] bzoltan_: the system was in a very very weird state [15:03] zbenjamin: I figured :) [15:04] bzoltan_: clean install can not hurt from time to time ;) [15:04] zbenjamin: yes [15:06] zbenjamin: indeed many of the packages on a continously upgraded system fall out of the controll net [15:07] woah, new xenial did boot up so fast! [15:07] rest in pieces my jenkins friend [15:07] ahayzen, you about? [15:54] Elleo, I have an issue. I was able to successfully migrate Podbird to DownloadManager. The integration went fine without breaking any existing thing. However, when I tried to batch download a group of episodes using a JS function, Podbird crashes. And now everytime I open Podbird I cannot download any episode since the internal SingleDownload{} objects still persist. Printing downloads.length shows 18 and I cannot do anything to clear it. [15:54] I already have cleanDownloads variable set to true. [15:55] I deleted the mp3 files manually, but not sure how to reset DownloadManager despite several times of reopening podbird. === chihchun is now known as chihchun_afk [15:59] nik90, since you are about, can I get your opinion on always running qml tests on build? [16:00] balloons, hi [16:00] sure [16:00] checkout https://code.launchpad.net/~nskaggs/ubuntu-clock-app/run-qml-tests-on-build/+merge/289065. This means jenkins will always run tests, but so will you on your desktop with this change [16:00] is this a 'good' thing, or should we make things more explicit within jenkins and run make test after? [16:01] * nik90 tests [16:04] balloons, It affects the way I run and build clock app on the phone. The tests are failing because I develop using 14.04 and run it on the phone. Since I am running on 14.04, all qml tests will fail since the sdk libs are unavailable. Also I get QXcbConnection: Could not connect to display [16:04] nik90: odd, you could try killing the ubuntu-download-manager process, it'd be good if you could push the code somewhere so I can give it a try (might not get to it until tomorrow now though), sounds like something might be going wrong in download manager somewhere [16:04] nik90: although I'm not sure why it isn't effecting the browser then [16:04] balloons, so this forces app devs to only use 16.04 or later [16:05] Elleo, sure, I will also provides steps to reliably reproduce it. FWIW restarting the phone fixed it. [16:05] nik90: okay, thanks [16:05] nik90, well you could toggle it off, but I'm concerned that tests will fail, and running by default might upset people [16:06] but it would also ensure the tests are run when people are coding :-) [16:06] nik90, the build should still finish though right, even though the tests faill [16:06] nik90, obviously I don't want to force anyone into running new stuff [16:07] balloons, for me the build fails when the tests fail -> http://paste.ubuntu.com/15392814/ [16:07] the test failures are being considered as errors rather than warnings by qtcreator [16:08] ok, well I have some concerns. I wish cmake made this a little easier [16:09] so I think I will make it explicit inside jenkins and reject this [16:10] balloons, Yes. I am fully aware of cmake's abilities..it could have a ignore option while printing out the errors. But I can't say for sure. [16:10] not fully* [16:12] balloons, what's up ? [16:12] I'll try doing it another way. It was more hoops and harder, but forcing it seems to make things painful, which is what I wanted to know [16:12] t1mp, is there a silo for https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/fasterWindowColor/+merge/288661 yet? [16:13] ahayzen, see above with nik90. I was going to mention how I'm implementing unit testing within jenkins [16:13] balloons, ok! :-) [16:13] the answer is, we'll make an explicit call. That does I suppose make things a bit harder and puts things back into your court perhaps [16:13] it means back to playing with cmake [16:13] ahayzen, secondly, how's the changes coming for weather and music? [16:14] balloons, slowly, i'm coming up to coursework season :-( [16:14] half way through the last semester of uni \o/ :') [16:14] right, no worries. Just thought I'd ask again. [16:15] ahayzen: wow...keep tight! ) [16:15] balloons, so i'd like to have them running each time a dev builds/runs, but as with nik90 i suspect most/all music tests would fail for me due to there being no QtMultimedia 5.6 on Wily [16:15] balloons, so probably best for just explicitly on jenkins, until we get a snappy desktop :') [16:16] + [16:17] balloons, can we have a build configuration for running the tests or something? so that it appears as an option in QtC ? [16:17] ahayzen: no silo yet for that MR [16:17] ahayzen: I wanted to have the fix for this one first https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1555797 [16:17] Launchpad bug 1555797 in ubuntu-ui-toolkit (Ubuntu) "Theme loads MainViewStyle 1.2 when MainView has a dark backgroundColor set." [High,In progress] [16:17] ahayzen, an alternate cmake target might do that? [16:18] balloons, so then if i was running on xenial/latest release ... then i could select to use that config and run the tests while developing [16:18] ahayzen: so the fasterWindowColor MR is still landing in our staging now [16:18] balloons, and then jenkins could use that build config [16:18] that would be ideal. I'm not positive, but I'll try [16:18] balloons, i spotted coreapps like reminders have loads of configs (or whatever they are actually called) [16:19] t1mp, ok thanks :-) i'll watch out for a silo so i can test :-) [16:20] ahayzen: okay. But a silo is the last step. First we verify that everything works, then we land it to staging, then we get a silo to land it in the image (with more testing) [16:21] balloons, like this https://drive.google.com/file/d/0B3XynHVKfrvMc0NlTENvdWRKZmc/view?usp=sharing you can see the different Autopilot ones and reminder ones [16:21] Mirv: where could we find the tgz that has the device deb files for this MR? https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/fasterWindowColor/+merge/288661 [16:21] balloons, if there was a 'jenkins' one [16:21] Mirv: ^ I got a bit lost with all the jenkins results and I cannot find the tgz any more [16:21] t1mp, i you can point me to some debs i could test as well :-) [16:21] ahayzen, right, got it [16:21] balloons, do you think that is the best way ? [16:23] Elleo, you can find the branch and steps to reproduce the bug at https://code.launchpad.net/~nik90/podbird/migrate-to-download-manager/+merge/289069 [16:24] I think it would be the nice yes. However, jenkins first, then sdk, heh [16:24] nik90, what do you think? could a run configuration be enough ? [16:24] :-) [16:24] Mirv: ah, I think I found one :) [16:24] ahayzen: https://jenkins.ubuntu.com/ubuntu-sdk/job/ubuntu-ui-toolkit-ci-armhf-stable/502/artifact/artifacts/copy-to-phone-fasterWindowColor-1895.tar [16:24] t1mp, \o/ i'll try and have a play in a bit [16:25] ahayzen, yes I think that would be best. This way we can use that particular build configuration last when fixing the tests after fixing a bug/implementing a feature and not all the time. [16:27] yeah agreed [16:27] t1mp: please report back too if it works alright, I recently added the new qml-module-* packages [16:28] which are now needed [16:28] nik90: great, thanks; will take a look at that once I've finished off this current bit of work (might not be until tomorrow) [16:31] Elleo, no worries, I will work on something else until then [17:04] balloons, any idea why this wasn't picked up by jenkins? https://code.launchpad.net/~vthompson/music-app/fix-1549557/+merge/288871 [19:22] ahayzen, still about? [19:22] if so, time for a little jenkins lesson [19:23] balloons, o/ i'm about for a few minutes, otherwise i'm around tomorrow [19:24] balloons, maybe best tomorrow :-) [19:27] ahayzen, just note the red jobs on https://core-apps-jenkins.ubuntu.com/computer/ [19:27] ahayzen, if you see things like that, it's safe to cancel them. They generate again. That's why jenkins isn't running on music [19:27] so it's got struct trying to acquire a lock [19:28] ah ok thanks :-) [19:28] you are welcome -- you can cancel them right? [19:28] * ahayzen tries [19:29] balloons, yeah i've managed to cancel the music ones \o/ [19:29] can see it rerunning now [19:29] you can cancel them all, but ;-) Awesome, now you now [19:29] * ahayzen adds to his jenkins doc :-) [19:33] https://wiki.ubuntu.com/Touch/CoreApps/Jenkins#Troubleshooting now has a picture to go with #2 ;-) [20:23] Elleo, I figured it out :D .. well atleast have a faint idea why. There is this episode "Weekly Tech New - March 5, 2016" from the Podcast "Daily Tech News Show". That episode when you try to play/download it, causes Podbird to crash regardless of whether you use SingleDownload{} or DownloadManager{}. [20:23] Elleo, that said, I think in the event of an app crash, it is still important that UDM destroys its internal objects. [20:24] It could be that the URL is buggy. maybe not encoded correctly ..not sure [20:30] Elleo, more specifically (after further testing), it turns out that episode has a blank url. On creating a sample template app, I noticed that if you do downloadmanager.download(""), it causes the app to crash :P [20:31] that's the reason. I just need to check if the url is blank or not before sending it to download manager. === salem_ is now known as _salem