=== chriadam|away is now known as chriadam === chihchun_afk is now known as chihchun [07:00] good morning [07:20] Morning === chriadam is now known as chriadam|away === chihchun is now known as chihchun_afk === JMulholland_ is now known as JMulholland [11:23] Is anyone able to have a look at this: http://paste.ubuntu.com/11863268/ and let me know when the page disappears under the header when the keyboard pops out? I want the label to resize when the keyboard is out. === snwh_ is now known as snwh [12:34] Hi! I have made a small app in Python as a small present for someone, but I cannot figure out how to make it work on another computer. [12:34] The target machine has Ubuntu installed, my machine has an Ubuntu-based distro called Zorin OS 9 Core. [12:35] I set the permissions for the file to be allowed to be executed as a program and I made a soft link to it. [12:35] I put the whole thing into a folder and compressed it into a zip file. [12:36] Now the person I sent this over to reported that it just won't start. [12:37] Oh yeah, first I compiled the .py file into a .pyc and made it into an executable with cx-freeze, *then* I did what I just described. [12:37] Also, it worked just fine on my machine. === _salem is now known as salem_ [13:31] Good bye! === chihchun_afk is now known as chihchun === karni is now known as karni-brb === karni-brb is now known as karni [14:18] alecu: hey buddy o/ Do you know where's the thumbnailer documented? [14:19] alecu: I'd like to know if I can also pass the output path to the thumbnailer.get_thumbnail(video, size) call [14:19] hi karni! let me find it. [14:20] alecu: just found this, looking at http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/thumbnailer/vivid/files/head:/src/ [14:20] path, size, policy :( [14:20] karni: why do you need the path? [14:21] alecu: for start, I have no idea where it puts the thumbnail (from the docs, I know it returns the path). am I expected to take the path and copy the file? it would be so much easier to just pass it in. [14:22] karni: the thumbnailer returns a path to its cache [14:22] karni: you should not make a copy, just point your qml component to that [14:22] I see, okay [14:22] alecu: question still holds - do we have this documented anywhere? [14:23] I think it would be nice, if we had such a useful component documented [14:23] I wasn't able to find it (my search skills may have failed) [14:24] karni: ah, I see the problem. [14:25] karni: my team has been working on a rewrite for the thumbnailer, but since it was deferred from landing in ota-5, it seems that the docs have not been deployed either. [14:25] I see [14:25] alecu: also, to answer your question - I needed the path mostly to fit a thumbnailer call in an external library, who's signature is (QString video, QString output, QString ffmpegPath) (ignore the last argument) [14:26] hence, the path is given where the thumb is expected [14:26] karni: I expect that you'll need a copy then :-( [14:27] karni: but please open a bug for that: https://launchpad.net/thumbnailer [14:27] alecu: lucky me, the output is a non const reference, and from the source I see I can simply swap out the path from the inner method (which I would patch). cool [14:28] alecu: for the docs, or for that path use case? [14:28] karni: for your use case of specifying the path [14:28] okay [14:30] karni: hmmm... now that I'm watching the code, I recalled that the client api has not changed for the new thumbnailer, only the backend. [14:30] karni: so I expect that there would be no changes on the docs. Or the lack thereof [14:30] alecu: I simply meant lack of thereof :( [14:30] karni: I'll open that bug [14:30] thanks [14:31] karni: thank you for pointing it out! [14:31] sure [14:34] alecu: https://bugs.launchpad.net/thumbnailer/+bug/1474021 [15:19] karni: thanks! I've opened this for the missing docs: https://bugs.launchpad.net/thumbnailer/+bug/1474035 [15:20] thank you [15:28] hey, I notice that after I run a dialog from a page, when the dialog closes, the header for the page is gone [15:28] anyone see anything like this before? [15:31] jhodapp: any idea what that might be? ** Media playback error: 2 [15:32] karni, take a look at the media-hub log, I print out the specific error to stderr [15:32] * karni nods [15:32] karni, /home/phablet/.cache/upstart/media-hub.log [16:03] are there any plans to add the option to change the icon row number? (ie current way is 3 icons across [16:04] no, its four :P [16:05] noope [16:05] its 3 on mako [16:06] 4 on arale :) [16:06] get a device with a biger screen then :) [16:06] *bigger [16:06] ogra_: no options in the US [16:06] works fine in the US [16:07] (well, on HSPA+) [16:07] arale? [16:07] yeah [16:07] what is that? [16:07] MX4 [16:07] oh [16:07] Meizu [16:07] I did not know the codename [16:07] I have the OPO [16:08] i think the opo ubuntu images even uses 5 icons per row (because they drive the resolution a bit to hih) [16:08] *high [16:08] it does not work fully yet to be a daily driver sadly [16:09] yeah [16:09] mario is working very hard on it [16:10] and once he gets it Sailfish will be much easier as well === chihchun is now known as chihchun_afk [17:30] zsombi, thanks for looking at those listitem issues, we have another issue in music where because we have a dark bg when you drag the trailing actions to far you get a white background instead of the dark colour, note this doesn't happen on the leading actions as that is red from the action itself. Is there anyway i can specify this overflow colour for the trailing actions? or even better should it be transparent ? === dpm is now known as dpm-afk [17:53] bfiller, is there still no way to turn off or mute calendar events [17:54] ahayzen: in 1.3, you could use StyleHints to configure this, however this should be taken from the style. Yet, we don't have ListItemStyle for SuruDark, so I'd file a bug against toolkit so we can get that sorted out as well. [17:55] pmcgowan: don’t think so [17:55] zsombi, i don't think we are using SuruDark per say ... but should the colour of the overflow not just be transparent ? [17:55] zsombi, instead of white, then it would solve the issue [17:56] bfiller, do you know if design covers this? [17:56] ahayzen: the panel color was explicitly set to red/white, so... but if you're setting a dark color, doesn't that change the theme to SuruDark? [17:56] pmcgowan: I have not seen any updated designs that cover it, but it’s possible they exist [17:56] I know we’ve discussed it [17:57] bfiller, ok might be worth a bug, its very annoying [17:58] zsombi, maybe if i write a small demo it will be clearer ;-) the actions themselves are the correct colour its when you pull too far [17:58] bfiller, where would I file it [17:58] ahayzen: ok, pls do so, and eventually a screenshot attached would also be helpful!! [17:58] pmcgowan: ubuntu-system-settings and ubuntu-ux projects [17:59] zsombi, cool i'll ping them across after dinner :-) [18:00] ahayzen: I'll be away in a minute, but I'll get the logs anyway, so just drop the link here, I'll check it tomorrow [18:00] zsombi, will do thanks [18:38] A new icon for Files: https://github.com/snwh/suru-icons/blob/master/Suru/512x512/apps/filemanager-app.png [18:40] there’s a merge proposal for it :) [18:51] balloons: ping [18:51] I like the new icon snwh [18:51] :) [18:51] akiva-thinkpad, hey! [18:51] thanks. the old one was incredible dated [18:51] akiva-thinkpad, been some time. Lovely to hear from you! [18:52] balloons: Is Jenkins on Vivid yet? My tests for filemanager app are failing :P [18:53] balloons: heh, thanks~ [18:53] https://code.launchpad.net/~akiva/ubuntu-filemanager-app/img-thumbnail-support/+merge/264241/comments/662638 [18:54] akiva-thinkpad, sadly it is not. Did popey explain things to you? Perhaps a mail letting everyone know what's happening might be useful [18:55] akiva-thinkpad, in a nutshell, there's a bug with vivid and we can't move to it. CI is working on an alternative solution for us at the moment. [18:55] I gathered from popey that this was the issue [18:55] ah okay [18:55] so just hold on for the time being? [18:55] akiva-thinkpad, if this needs to land, we can test and land outside of jenkins if needde [18:55] I don't want to hold things up [18:56] balloons: meh, not really; I just want to figure out what is wrong with my autopilot [18:56] sadly Alan is away; so I'm not sure what was decided for file manager. Clock for instance has tests off on jenkins in the interim [18:56] balloons: for example, the trunk in ubuntu-filemanager-app fails 10 tests, but passes on jenkins [18:57] akiva-thinkpad, fails locally, but passes on jenkins? [18:57] balloons: yep. [18:58] balloons: anyways, I can wait. Being a bit free from the sdk project; is there any core apps that specifically need some polish? I was thinking maybe even contributing to unity8~ [19:11] akiva-thinkpad, did you have plans to do more to the autopilot plugin? [19:11] akiva-thinkpad, I was hoping to discuss some ideas with you [19:11] balloons: honestly I wanted to do some work on the core apps to get a feel as to what would be most useful for improving the autopilot plugin [19:12] I also filed some bugs as you some :-) [19:12] *saw [19:12] akiva-thinkpad, ahh, that makes sense too [19:12] balloons: sec, let me double check [19:12] I remember some of your bugs were from an older version that was obsolete. [19:13] ah I see [19:13] for the phone... planned feature, once I actually get a phone :P [19:14] definitely on the fence whether I should just grab a nexus 4 [19:15] balloons: oh and the other bug was fixed! [19:15] I just coincidently changed the dimensions to 400x600 [19:20] in the US then akiva-thinkpad? [19:20] ahoneybun: Canada [19:20] oh ok [19:20] eh [19:24] akiva-thinkpad, did you really change the resolution? [19:24] hehe [19:25] balloons: yep; i'll grab the diff for you [19:26] ahh.. the other part of that bug can't be solved just yet, unless we incorporate the script ourselves [19:26] that is, using a window manager during test runs. Without it, clock tests will fail [19:26] akiva-thinkpad, also, it's been noted proprietary drivers don't like Xephyr. Have you noticed this? [19:27] I need to file a bug about it, but we should fallback to Xfvb in those cases I think [19:27] I can't say. Not enough experience with this yet. [19:28] balloons: https://code.launchpad.net/~akiva/qtcreator-plugin-autopilot/fix-segfault-fix-winsize/+merge/263616 [19:29] akiva-thinkpad, ok, let me file the bug based on the driver issue [19:29] do you think you could change your call to a custom script instead of autopilot3-sandbox-run? [19:30] balloons: actually one question on dimensions; I was wondering whether any of those tests will actually require greater dimensions than 320x600? If yes, I was thinking of adding some options in the runconfiguration [19:30] balloons: yessish? For the locator, it will be a bit tougher. [19:30] 400x600 actually. And it's a reasonable default, but an option would be nice if for some reason someone wanted to run at tablet resolution for instance [19:30] balloons: yeah okay fair enough. [19:32] if you could do a custom script, we could add the window management now. It's been stuck waiting on the autopilot release [19:32] if it's work though, it's probably not worth it.. we'll get it soon enough [19:32] the Xephyr / xfvb issue with non-free drivers is a bigger concern [19:33] brb, battery issues [19:39] balloons: sorry back [19:40] no worries akiva-thinkpad [19:40] So I added the abilities to change the dimensions to the wishlist. You want the ability to change the default script added? Anything else? [19:41] akiva-thinkpad, I'm thinking making a custom script instead of the ap-sandbox-run call is overkill and needless [19:41] I'll just be more patient and push that team to update it on their end :-) [19:41] okay will do then [19:42] balloons: I'm thinking of also placing failed autopilot tests into the issues pane, and getting them to direct to the code in question [19:42] what do you think? [19:44] akiva-thinkpad, mmm.. even if you output in std format, you'd also have to parse the python traceback [19:44] might also be a bit overkill atm [19:44] balloons: I was thinking of just grepping for the string in the python file. [19:44] balloons: one thing I do want though is a easier way to parse and identify failed tests. [19:45] that's fair enough. I'm also curious if you had any ideas about selecting which tests to run [19:45] I don't like the way the logs currently output the failure. [19:45] are you happy with the run config now? [19:46] balloons: It needs memory, and some intelligence as to which ones failed [19:46] balloons: what about you? [19:57] akiva-thinkpad, what do you mean memory? [19:58] balloons: uncheck a bunch of boxes, change active projects, and return [19:58] bug 1474108 [19:58] all the boxes will be checked again. [19:59] akiva-thinkpad, ahh.. yes, that makes sense [19:59] does select all / unselect all option make sense? [20:00] balloons: yeah, should put it in there [20:00] good idea [20:01] also this is what I was talking about: https://bugs.launchpad.net/qtcreator-plugin-autopilot/+bug/1474108. So my thought is to run autopilot-sandbox-run without the -X in those cases [20:01] that will stop the window from spawning and should work on non-free systems [20:01] do we want to detect this automagically, or simply offer it as an option or ? [20:01] I don't want to get too many options ! [20:02] balloons: automatically may be an issue if you update tests... [20:03] what do you mean update tests? [20:04] balloons: there is a refresh button that allows you to update your list of tests when you make changes to your autopilot tests in the python file. [20:04] akiva-thinkpad, yes, right. So why would detecting if you have non-free drivers be an issue? [20:05] oh nvm, i thought we were speaking of something else [20:06] balloons: a bit tired atm, so apologies, but from what I understand, this issue only affects nvidia users? [20:08] akiva-thinkpad, affects me with an amd card; if I use non-free drivers [20:08] so it's fair to say it's all non-free drivers [20:08] has to do with how Xephyr works [20:09] okay so we just need a bool to check if non free drivers are activated, and then change the command to... what? [20:09] balloons: ^ [20:10] akiva-thinkpad, the difference in runs is with -X and without it. autopilot3-sandbox-run -X runs under Xephyr. autopilot3-sandbox-run runs under Xfvb [20:11] balloons: so then if you have those drivers, you will just have to suffer from not being able to do anything else while the tests run? [20:11] akiva-thinkpad, no, it will run in the background. No windows will spawn at all [20:11] it will be truly nested [20:11] you could run it on a server :-) [20:11] balloons: oh okay [20:12] right.. so the experience only suffers in that you can't visually see the test runs [20:12] balloons: so do you want automagically then, or just a checkbox on the run config ? [20:12] akiva-thinkpad, I think automagically would more or less be best. But I'm curious about how to convey that to the user [20:13] balloons: well trouble is; if they fix this, will we remember to take the patch out? [20:13] balloons: oh to convey it, we can just put it in the issues pane [20:19] Well okay then. If you file a bug for it, I'll make sure it gets in there. I'll leave it to your discretion as you would know better than I if the drivers will be fixed eventually. [20:28] balloons, o/ did anything happen about the idea of a common appdev highlight? https://lists.launchpad.net/ubuntu-phone/msg13474.html as both me and nik both thought it was a good idea as well ? [20:35] zsombi, for when your back, this is the code http://pastebin.ubuntu.com/11874253/ and the screenshot https://drive.google.com/file/d/0B3XynHVKfrvMWXM2MlJZM0pNQkE even a workaround just for the 1.2 period would be nice until we get proper theming for 1.3. Otherwise if we land these listitems it does look quite odd having this white area in the generally dark music-app [20:35] zsombi, ..can it not take the colour of the last trailing action and just continue that ? [21:16] ahayzen, basically we simply need to update the title to reflect the highlight. The implementation is up to everyone to implement [21:16] I think it's a great idea. [21:16] let me see if I can change the title :-p [21:16] akiva-thinkpad, yea, the bug won't be fixed in the drivers [21:17] akiva-thinkpad, so it's totally safe for us to do. It's been that way for some time now [21:17] akiva-thinkpad, the bug is: https://bugs.launchpad.net/qtcreator-plugin-autopilot/+bug/1474108. I'll add a comment on how to fix [21:32] balloons, hehe what highlight are you thinking? coreappdevs? appdevs ? [21:33] ahayzen, appdevs probably. So long as it's uniform it's fine [21:33] i'd agree [21:33] yea, no op powers here [21:33] probably should revive the thread and Alan can make the official switch when he's back [21:34] i'll poke him when he is back from his holiday/beer drinking [21:48] ahayzen, good plan :-) [21:48] meanwhile time to remember how to write AP tests/mocking :-) [21:57] balloons, so the old weather app replaces the database to 'mock' theweatherchannel, is it best todo that rather than trying to mock a Http requests ? === salem_ is now known as _salem