=== chriadam|away is now known as chriadam === chihchun_afk is now known as chihchun [06:01] popey_, Ubuntu App Cats? Oh brother... [06:01] :~] === zequence_ is now known as zequence [07:07] good morning [07:20] dholbach, morning [07:21] hi Akiva-Thinkpad [07:21] dholbach, tell me something unique about yourself. [07:21] or random [07:21] or whatever :) [07:24] ? [07:25] dholbach, like, what colour is your cat? [07:26] I'm a bit busy right now, sorry [07:26] :P [07:26] good enough === oSoMoN is now known as oSoMoN|afk [08:04] balloons: ping !! === justCarakas1 is now known as justCarakas [08:29] Good morning all; happy Monday, and happy Milk Chocolate Day! :-D [08:33] JamesTait: I prefere pure chocolate :p [08:33] I only have dark chocolate here. Would it be wrong to celebrate milk chocolate day with dark chocolate? [08:34] JamesTait, It would be a bitter way to celebrate. [08:34] or rather [08:34] it would be bitter to celebrate with dark chocolate ^_^ === popey_ is now known as popey === chihchun is now known as chihchun_afk [09:59] popey, I'll be 1 minute [09:59] k === chihchun_afk is now known as chihchun [10:07] popey, ok, all set [10:08] dpm: am in the hangout [10:09] is there a hangout going on? [10:09] no Akiva-Thinkpad [10:09] classroom, or live? [10:09] okay carry on :P === seb128_ is now known as seb128 [10:29] popey: DanChapman: Number one dekko bug for me right now, sliding up reply on an email that has come from a mailing list only has the email address of the user that sent the mail to the list :( Bug report shortly if there isn't one already :) [10:30] Honest I didn't spend the entire weekend on my phone test honest [10:31] s/test/testing [10:31] well at least that's what I told me wife anyway, I think she believed it as much as you guys though :( [10:39] davmor2, :-D yes at the moment it basically does a kind of "reply all" action based on the FROM, CC & BCC lists and is indeed annoying for ML's since dekko should really be using the Reply-To header instead. Bug report would be great thanks :-D [10:40] DanChapman: will do as soon as I finish the blocker emails [10:44] dpm: thanks! :D sorry for cutting in the middle of your sentence ☻ [10:45] popey, np, just saying welcome back ;) [10:48] DanChapman: https://bugs.launchpad.net/dekko/+bug/1349365 all yours chap :) [10:48] Launchpad bug 1349365 in dekko "Impossible to auto reply to a mailing list" [Undecided,New] [10:52] davmor2, awesome ... thanks :-) === DanChapman is now known as DanChapman|afk === chihchun is now known as chihchun_afk [11:31] hello is anyone here in the chat [11:31] I don't see anyone in the user list [11:32] I have a question about programming for the ubuntu platform [11:32] shoot [11:33] Can you use java to program your applications for ubuntu? [11:33] The reason I ask is becausethis the language I'm learning. [11:34] Also, I see that the sight is pushing for html 5 and QML. [11:34] site [11:37] hi dev30, java is not supported. You could theoretically use it, but it's not supported for Ubuntu apps [11:38] ok, so I need to learn QML [11:38] ok [11:41] Thanks, Artmello I'm going to call it a day. === lool- is now known as lool [11:45] renatu: ping [11:48] who should I be asking for help with writing unit tests? [11:48] I wonder if there is a way to check that setting a property in qml produces a warning message === chriadam is now known as chriadam|away === _salem is now known as salem_ [13:05] Hi all [13:05] Can someone try my click package on phone? https://yadi.sk/d/ilqqMKz1Y3J4j === oSoMoN|afk is now known as oSoMoN [13:12] qtros what does it do ? I can maybe try it at home if I remember [13:13] justCarakas hello) It's cloud storage client) [13:19] qtros: for what cloud ? [13:22] popey: hey, welcome back :) Had a fun vacation? [13:23] yo! yes, thank you! [13:23] hows it going? [13:23] lots of email to catch up on ☻ [13:23] going good [13:23] I can imagine [13:29] oSoMoN: do you know if it's possbile to write a qml unit test for a compnent that imports webbrowserapp.private ? [13:31] nerochiaro, that’s probably not easy to achieve, which component are you thinking about? [13:32] oSoMoN: if you look at https://code.launchpad.net/~phablet-team/webbrowser-app/webbrowser-app-simplify-address/+merge/224298 I basically just decided that instead of messing around with regular expressions I would just leverage QUrl to parse urls and extract the domain from it. So I wrote a small C++ helper and exposed it to QML [13:33] oSoMoN: and import it from AddressBar.qml [13:33] oSoMoN: but that requires importing webbrowserapp.private [13:33] whcih works but not in tests [13:35] nerochiaro, looks like you just reinvented a simpler version of src/app/webbrowser/domain-utils.h [13:36] (it’s not exposed to QML yet, but could easily be) [13:36] kalikiana: I would need read access to the document you send me :) [13:36] s/send/sent [13:41] oSoMoN: how would you expose that to QML without requiring importing webbrowserapp.private [13:41] ? [13:43] justCarakas Yandex.Disk [13:43] nerochiaro, I’m not saying that it can be exposed to QML magically, just saying that this new code (mostly) duplicates some existing code [13:43] oSoMoN: i'm happy to fold both into one, but I don't know how to expose it to QML without requiring that import. I'm asking for help on it :) [13:45] nerochiaro, well afaik there are only two ways to expose something to QML from C++, either by registering a new component type, or by setting a property on the global context, and in your case the former looks like the correct way to implement it, so not sure qml unit tests can easily be written for it [13:46] oSoMoN: but the problem is also that it will break existing tests that import addressBar so it's not a good solution. why wouldn't exposing things in the global context a good idea in this case ? it might not be the cleanest possible thing to do but it should work [13:47] oSoMon don't forget about singleton type ;) [13:47] qtros: what do you mean ? qml doesn't have singletons, does it ? [13:47] qtros, right, that one too, but it needs to be registered into a module and imported, pretty much like a non-singleton type [13:47] nerochiaro, it does [13:47] nerochiaro C++ can register singleton [13:48] oSoMon you are right too ;) [13:48] how do you use it from QML ? [13:48] nerochiaro, http://qt-project.org/doc/qt-5/qtqml-cppintegration-definetypes.html#registering-singleton-objects-with-a-singleton-type [13:48] nerochiaro something like "MySingletonName.myMethod()" [13:49] ok so it's like context objects just more namespaced [13:50] oSoMoN: actually exposing the helper object in the context won't solve our problem, because it won't be available in tests anyway [13:51] bleh, yet another case where a problem is solved simply and then a ton of time is spent on the tests [13:53] nerochiaro, actually, thinking about it more, you might be able to modify the QML test runner (see tests/unittests/qml/CMakeLists.txt) so that it registers the types we’re interested in before running the tests [13:53] :q [13:53] argh, wrong window [13:53] nerochiaro, the c++ source for the test runner is tests/unittests/qml/tst_QmlTests.cpp [13:55] oSoMoN: all it does is to call QUICK_TEST_MAIN. doesn't leave much room to add anything else [13:56] nerochiaro, man, I’m giving you clues, I’m not gonna do the whole research for you, have a look at how QUICK_TEST_MAIN expands and whether there’s a way to plug something in there [13:56] oSoMoN: yeah, i'm doing just that, no worries [13:57] nik90: dude, use the right google account :-) [13:57] oSoMoN: sorry if it sounded i wasn't doing my homework [13:57] kalikiana: ? :P [13:57] kalikiana: sure give me one with @canonical.com :D [14:00] nik90: hmm I'll try again to add you, thought I had. just my typical problem is I got 3 accounts and it likes to use the wrong one :-P [14:00] kalikiana: hehe..make sure you try krnekhelesh@gmail.com [14:01] nik90: what's the inital k for? [14:01] kalikiana: that's my last and middle name (Kandasamy Ramananthan) [14:05] ah that makes sense [14:06] nik90: btw you should've gotten email with the g+ doc [14:06] kalikiana: yup got it. Looking at doc now [14:08] cool [14:14] t1mp: hey, everytime I use the add icon, I get the following console message, [14:14] file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Icon.qml:85:5: QML Image: Failed to get image from provider: image://theme/add [14:15] t1mp: it isn't critical since I can see the icon, but still annoying to see it [14:15] nik90: do you have suru-icon-theme installed? [14:15] kalikiana: I do [14:15] kalikiana: this is while running on the phone [14:16] oh [14:16] hmmm [14:16] nik90: I don't see an 'add' icon when I do dpkg -L suru-icon-theme|grep add [14:16] nik90: wait, I do see add.svg :) [14:16] nik90: do you have that file as well? [14:16] :) [14:16] t1mp: well i just did name: "add" [14:16] t1mp: I presume I wouldn't have it add .svg to tit [14:17] nik90: the name is converted internally to an icon in the theme [14:17] it* [14:17] nik90: no you don't need to add an extension, it should be auutomatic when you set the "name" of the icon, not the "source" [14:17] actually you can only set the name at the moment :) [14:18] t1mp: ok I may have found a way to reproduce it. It seems when I dynamically increase the size of the icon I get that error [14:19] t1mp: if I set a constant width and height I dont see that message [14:19] Saviq: ^ may be related to the icon source problem that we encountered [14:19] nik90: interesting [14:20] nik90: do you only get the bug on the phone? [14:21] t1mp: no I get it on utopic desktop as well [14:21] nik90: hmm [14:21] nik90: looks like the warnings we get here at the bottom https://jenkins.qa.ubuntu.com/job/ubuntu-sdk-team-ubuntu-ui-toolkit-staging-utopic-i386-autolanding/219/console [14:21] QWARN : components::Icon::test_name() file:///tmp/buildd/ubuntu-ui-toolkit-0.1.49+14.10.20140715bzr1130pkg0utopic219/modules/Ubuntu/Components/Icon11.qml:35:5: QML Image: Failed to get image from provider: image://theme/search [14:22] nik90: that's part of this MR https://code.launchpad.net/~saviq/ubuntu-ui-toolkit/add-icon-source-property/+merge/224122 [14:22] nik90: can you report a bug for that with a small test program to reproduce it? [14:22] t1mp: yup that's the message I get. Sure on it [14:23] nik90: we were stuck with that for a week, and we didn't find a way to reproduce it locally :) [14:23] nik90: looks like you found it now [14:23] t1mp: ooh :) [14:25] * t1mp afk, bbl. [14:26] nik90: can you paste the link to the bug in https://code.launchpad.net/~saviq/ubuntu-ui-toolkit/add-icon-source-property/+merge/224122 so I can find it when I get back? [14:26] t1mp: sure [14:26] oSoMoN: i think we should be good to go with this one: https://code.launchpad.net/~phablet-team/webbrowser-app/webbrowser-app-bookmark-timestamp [14:27] nik90: thanks [14:27] * t1mp off now [14:28] nerochiaro, yeah, I’ll have another look, thanks [14:33] mardy, did you have a chance to look at https://bugs.launchpad.net/reminders-app/+bug/1347905 today? [14:33] Launchpad bug 1347905 in Ubuntu Reminders app "Autopilot tests fail to create fake account on device" [Critical,Fix committed] [14:37] frecel_: hey hey, do you have some time to finish your pdf viewer sometime soon? === seb128_ is now known as seb128 === dpm__ is now known as dpm [14:47] hi nik90, balloons mentioned you had some cmake issues with the clock reboot. I'm aware of the i18n stuff not being there yet, but was there anything else? [14:48] dpm: yeah there were some issues regarding running autopilot tests. The contributor built the project using cmake, but couldn't proceed further [14:49] dpm: also I am not sure how to automatically update the package version depending on the bazaar branch rev no. [14:49] dpm: I tried implementing that sometime back but got cmake errors and couldn't figure out why [14:51] dpm: do you know what these custom targets are defined for ? =>http://paste.ubuntu.com/7885429/ [14:52] dpm: Carla (who is working on the ap tests) moved the tests folder but did not update the cmake file. I am guessing this might be the reason why, but not sure what the custom targets were defined for originally' [14:55] nik90, I don't know, sorry, whenever I've ran autopilot, I've done it manually === gatox is now known as gatox_lunch === chihchun_afk is now known as chihchun [16:08] Hi kenvandine, I was wondering if you managed to make any progress with getting the content-hub test exporter landed? [16:14] kenvandine, the reason being we need that to be in place so we can complete one of our high-level user experience test cases [16:15] rhuddie, not yet, but i plan to get back to that after i finish writing tests for the sound panel stuff i just added [16:15] almost done [16:16] kenvandine, great, thanks === gatox_lunch is now known as gatox [16:33] nik90, ok, I'm about to call it a day, but I'll have a look at it this evening [16:33] dpm: thnx, I will check with bzoltan1 what the custom targets were about [16:45] ahayzen: ping [16:46] nik90, pong [16:46] ahayzen: hey did you implement a listitem with actions similar to https://docs.google.com/presentation/d/1Kkl7xT8BYo9mT8i3IXh6rPrDlNg6cBxTajahlRYIGlI/edit#slide=id.g18883f09d_011 [16:46] nik90, https://code.launchpad.net/~andrew-hayzen/music-app/listitem-actions [16:47] nik90, just waiting on final design/code review and possible this to land before (if i can get it approved first) https://code.launchpad.net/~andrew-hayzen/music-app/refactor-playlist-db [16:48] ahayzen: ok [16:49] nik90, we had a slightly different spec... [16:49] ahayzen: I was looking through the address book which also has the custom swipe to delete [16:49] not sure which one to go for [16:49] nik90, https://docs.google.com/a/canonical.com/presentation/d/1nVsSFstybsOcsu1p9LfuVyYoi9Kuv3GAw7iiWX1QAwY/edit#slide=id.g383df1390_00 [16:50] nik90, slide 2 is our main reference [16:51] ahayzen: ok. Yeah I just need one action which is delete but with a red background. I think I might go with the address book implementation since it is similar to my design spec. [16:51] ahayzen: this is anyway temporary until post rtm when we get these from the sdk anyway [16:51] nik90, yeah probably best we have a delete on the left and actions on the right [16:51] nik90, exactly [16:51] nik90, and we need reordering as well..so ours comes with alot of stuff [16:51] ahayzen: ah yes [16:52] nik90, but we should probably try and make the behaviour consistent between us [16:52] ...until the SDK lands :) [16:52] ahayzen: check out the address book swipe delete to see their behaviour [16:53] ahayzen: that's what I was asked to do as well by the desingers [16:53] ahayzen: it has a slight spring like animation when you let go and other little tweaks [16:53] nik90, blimey yeah! springy [16:53] nik90, other than the springy and red...it is similar to ours [16:54] ...but we have the text showing as well [16:54] ok [16:54] ahayzen: one more thing before I run of, did you try the fastscroll implementation? [16:55] nik90, ah yes it is on our 'list'...but listitem-actions, playlist-db, content-hub, bottomedge support are higher priority atm [16:55] oSoMoN: when you have a minute, if could provide any hints: http://pastebin.ubuntu.com/7886366/ [16:55] ahayzen: I tried it today in the clock app. For the most part it works, so when you scroll to say "B", it highlights that in the fastscroll correctly. However when I press on a letter in the fastscroll, it doesn't move to that section. [16:55] nik90, i think Victor looked at it and thought it should be relatively simple todo [16:55] ahayzen: I will have to talk to renatu about this [16:55] nik90, hmm interesting [16:55] nik90, all i'll say is bottom edge for us is fun :) [16:56] lol [16:56] nearly got it working..but then had this playlist-db chaos to resolve first [16:56] oSoMoN: I unpacked the definition of QUICK_TEST_MAIN essentially, if I don't add the qmlRegisterType everythings is ok. I'm probably just missing some loader flag in the CMakeLists.txt but can't find out what [16:57] ahayzen: ah [16:57] got to go [16:57] * nik90 afk.bbl [16:57] nik90, o/ [17:02] nerochiaro, the undefined reference to symbol suggests you need to add a private module to qt5_use_modules(…) in the corresponding CMakeLists.txt [17:04] not sure if there is a matching cmake definition for said private module though [17:05] popey, (or someone else) could you top-approve https://code.launchpad.net/~dpm/ubuntu-filemanager-app/readable-root-fix-1331699/+merge/224046 ? It's already been approved by Arto, but I should not really be the one top-approving, as I submitted that branch :) [17:06] done [17:06] thanks [17:07] and one more from the red list down :) [17:19] oSoMoN: it's strange you have to do so when qmlRegisterType is part of public Qt [17:20] nerochiaro, but it’s not the use of qmlRegisterType alone that triggers the build error [17:20] oSoMoN: if i remove it everything is fine. but yes, i guess it's a combination [17:22] in 14.04, what is the top bar called? i'm trying to find the canonical and current documentation for how to add custom icons up in the right corner [17:22] they apparently *used* to be called app indicators, but all links on https://unity.ubuntu.com/projects/appindicators/ are dead [17:23] as far as i can tell, that bar is called the unity "panel", and held within the NUX framework [17:23] indicators are then yesterday's news..? [17:24] they are indeed called indicators [17:24] even with unity 7 in 14.04? [17:25] what's the current link to the documentation for it, do you know? [17:25] even http://developer.ubuntu.com/resources/technologies/application-indicators/ is dead [17:27] svenx: the old API docs are still available at http://developer.ubuntu.com/api/devel/ubuntu-13.10/python/AppIndicator3-0.1.html [17:27] mhall119: old, but then also current, i take it ;) [17:27] yes, I don't think those APIs have changed since 13.10 [17:28] thanks for letting us know about the broken links on unity.ubuntu.com, I'll get those fixed [17:29] mhall119: great! [17:29] maybe i'm going about this the wrong way.. i guess i'll have problems with actually accessing the $DISPLAY [17:29] i'm triggering an automatic SD-card sync based on udev rules [17:30] it will spawn processes under udev, not under my x session.. so i can't add stuff to the GUI willy nilly [17:30] ubuntu might have a more unity-friendly way of triggering events based on udev .. events [17:32] ummmm, I'm not sure how you would go about triggering user-session things from a system-level event [17:33] okay [17:33] i've disabled the automount and automount-open things in gconf at least [17:33] i guess there's loads of dbus magic going on [17:39] popey: you might want to get in touch with this guy about working with (or on) the music app: https://plus.google.com/u/0/+TuranMahmudov/posts/UT9ebpMETny [17:40] mhall119, yey more people \o/ .... FYI this sounds similar to the use case? https://code.launchpad.net/~andrew-hayzen/music-app/content-hub-dest-support [17:41] ...which comes from bug 1347444 [17:41] bug 1347444 in Ubuntu Music App "Music app does not expose download handler" [High,In progress] https://launchpad.net/bugs/1347444 [17:42] ahayzen: yeah [17:43] mhall119, we're a little blocked on that at the moment... bug 1205355 .. and we need a way of reloading the mediascanner2 models [17:43] bug 1205355 in ubuntu-download-manager "Content-Disposition is not used to get the file name" [Medium,In progress] https://launchpad.net/bugs/1205355 [18:06] is working? [20:03] hi folks. i am writing a program that needs to include arpa/inet.h. inet.h includes features.h and features.h includes sys/cdefs.h which cannot be found. i have libc6-dev installed and i am runnign gcc 4.8 on ubuntu 14.04 64bit [20:03] any hints? [20:12] no one? :( [20:20] balloons: ping [20:20] gerlowskija, howdy [20:22] Hi. I think I've got a fix for at least one of the test failures on the event-delete bug I've been working on (Bug 1334883) [20:22] bug 1334883 in Ubuntu Calendar App "Deleted events still appear on the day view" [High,Triaged] https://launchpad.net/bugs/1334883 [20:22] oh, that's a nice little feature, didn't know it would autodetect like that. [20:23] anyway, if I push up the fix, can you retrigger the Jenkins build please? [20:29] t1mp, ping [20:36] ping boiko: the dialer tests are failing on trunk on because the dialed number is not being formatted. [20:36] was that an expected change? [20:41] elopio: hmm, not really, the number should still be formatted [20:41] elopio: the formatting now depends on the locale, but renato added code to switch to english before running the tests [20:41] boiko: I'm not sure, but I suspect this is the change that triggered the failures [20:41] https://code.launchpad.net/~renatofilho/dialer-app/locale-phone-formatter/+merge/226760 [20:42] and I have no idea where that defaultRegion comes from, or how to set it properly for the tests. [20:44] elopio: it comes from telephony-service I think: https://code.launchpad.net/~renatofilho/telephony-service/default-region-based-on-locale [20:45] ah, I see, nice. [20:45] boiko: any pointers to where renato set up the tests? [20:46] elopio: let me find it [20:54] elopio: I was sure it got merged, but it seems I'm wrong, let me find where this code was. I saw it on one of renato's MRs [20:55] elopio: so, I looked at the backlog and found why we didn't fix it yet: it is because we didn't find a way to fix it on the device [20:56] gerlowskija, yes I can retrigger jenkins anytime, just ping [20:56] elopio: we were trying to just change the language env vars, but for upstart that doesn't work [20:57] balloons: have you played with upstart and the locale? [20:57] elopio: so, for now we are relying on the system being in english for it to work, not ideal, but we didn't have time to investigate further [20:58] fginther: and you might know, what's the locale on the jenkins utopic runners? [20:58] elopio, hmm.. I think I did at one point with calendar, why? [20:58] balloons: because for dialer, we either need to start with the US locale, or we need to format the expected results. [20:59] elopio, calendar sets it with the fixture; self.useFixture(fixtures.EnvironmentVariable('LC_ALL', newvalue='C')) [20:59] elopio, that said, you can do it more the music_app style and set the env var in the upstart call if you wish [21:01] balloons: Just pushed up the updated branch [21:04] boiko_: we can set environment variables on desktop, and upstart variables on the phone. [21:04] but LC_ALL=en_US ./src/dialer-app doesn't seem to get the numbers formatted for me. === boiko_ is now known as boiko [21:06] LANGUAGE=en ./src/dialer-app [21:06] this works :) [21:06] gerlowskija, building [21:09] boiko: I'll make an MP. [21:09] elopio: nice, thanks! [21:21] balloons: ugh, I forgot to run pep8 again. I pushed an update to the branch [21:50] elopio, en_US.UTF-8 [21:51] fginther: is the LANGUAGE environment variable set? [21:51] elopio, here's the full output: http://paste.ubuntu.com/7888666/ [21:52] fginther: thanks. [21:52] that's weird. Lets see if my branch succeeds. === salem_ is now known as _salem === _salem is now known as salem_ [23:10] balloons: Hopefully last time I need to ask this, but would you mind retriggering the build on my branch when you see this? === salem_ is now known as _salem [23:36] gerlowskija, we should add you to the group [23:37] gerlowskija, set your mp to ready for review [23:38] gerlowskija, I put you in as a dev, so now jenkins will run on any mp you have set to ready for review [23:42] balloons: is "set ready for review" the same option as "propose for merging"? Or is there some option I'm not seeing [23:42] and, thank you! [23:44] gerlowskija, check the option at the top that says 'work in progress' [23:44] click the yellow exclaimation point [23:45] Nice, will that trigger the build on its own then, or is there something else I can do to set it off? [23:46] yep, every commit you do to any mp that is set as 'ready to review' will trigger jenkins to build it [23:48] Ok, looks like it started...I got the email at least ;-p Thanks balloons! [23:50] you are most welcome