=== chriadam|away is now known as chriadam [07:20] good morning [07:43] dpm, do you think we could add some more of current good apps to lp:ubuntu-sdk-tutorials? [07:43] dpm, I'm just trying to reply to https://twitter.com/tom_ubuntu/status/433866264415440896 [07:45] dholbach, kyle is adding some html5 tutorials to that project, perhaps we should point him to those. I agree with adding more apps to the examples, it's just having the time :) [07:46] sure [07:46] maybe I should point the guy on twitter to https://wiki.ubuntu.com/Touch/CoreApps/DevelopmentGuide? [07:46] or something [07:48] dpm, ^ what do you think? [07:48] dholbach, yes, or perhaps to https://launchpad.net/ubuntu-phone-coreapps/ [07:48] ok, thanks [08:21] Laney, no, I meant Header as in http://design.ubuntu.com/apps/building-blocks/header [08:22] (for the set time/date sheet) === alblasch is now known as ablasche [09:03] mpt: hmm, I don't know how to do that within a dialog === chriadam is now known as chriadam|away === Ursinha is now known as Ursinha-afk [09:36] dpm: do you have any other qml ideas for the ubuntu sdk tutorials? [09:41] nik90: hello [09:41] nik90: about that qtdeclarative5-qtgrilo0.1 package [09:43] bzoltan1: hi [09:44] nik90: The qtdeclarative5-qtgrilo0.1 is not included in the phablet image, it is not integrated to the SDK, and it is not backported to the LTS [09:44] nik90: so :) quite a few reasons to wonder why a core app is using it ... and if it is using it, then why it was not flagged out to us? [09:44] bzoltan1: I agree to the "not integrated to the sdk or backported to the LTS part". But I think it should be part of the phone image considering that the music app runs it. [09:45] bzoltan1: I am not a music dev, but I thinnk the plan was to move away from Grillo [09:45] nik90: It is a bit more complex issue ... [09:46] bzoltan1: I see grilo-plugins-0.2-mediascanner and qtdeclarative5-qtgrilo0.1 added as dependencies in the debian/control file [09:47] nik90: by who? [09:47] nik90: and why? [09:47] bzoltan1: in the music app by music devs [09:48] hi nik90, bzoltan1 [09:48] bzoltan1: also those 2 packages are part of the core apps ppa [09:48] bzoltan1, what's up with grilo? [09:49] Laney, if you can’t do everything in a dialog that you can do in a stack page, again that’s a toolkit bug. The print dialog will also use a header, for example: https://wiki.ubuntu.com/Printing#dialog [09:51] nik90: nik90 core apss PPA andd debian/controll does not help to land packages on the phone image and SDK integration [09:51] mpt: The dialog does not provide the same support as a page. It does not provide a pageheader, toolbar etc..Looking at the Printing Dialog, I think they should be using the Sheets Component instead of a dialog. [09:52] what is the Sheets component? [09:53] Laney: Check out the SDK Gallery app. They have a sheets example there. I do not see it at design.ubunut.com however I remember the designers saying that they will be adding it soon enough (during the last vUDS) === Ursinha-afk is now known as Ursinha [10:06] nik90, sounds good to me. :) [10:12] Good morning all; happy World Human Spirit Day! :-D [10:19] rpadovani: ping [10:30] any calendar devs hanging about? I am trying to figure out arguments support for the clock app and need your help [10:30] for alarms [10:39] nik90, pong [10:41] rpadovani: hey, good morning [10:41] o/ [10:41] rpadovani: I wanted to talk to you about your argument's support MP for the clock app at https://code.launchpad.net/~rpadovani/ubuntu-clock-app/09Oct2013/+merge/190139 [10:41] rpadovani: it got reverted at the end of the 13.10 cycle since it stopped the clock app from starting on the phone [10:42] rpadovani: Now I am revisiting that since I need to definitely implement support for arguments for the alarms feature [10:42] nik90, morning! [10:42] dpm: morning :) [10:43] rpadovani: as I review your MP again, I understand you defined "alarms:///" as the default argument. Why? [10:43] nik90, I'll be running an Ubuntu App Developer Week session on internationalizing apps, so that will force me to write a tutorial on it :) [10:44] rpadovani: I would expect "alarms:///" to be an optional argument [10:44] rpadovani: +1 [10:44] sry that was meant for dpm: +1 [10:44] dpm: me and kalikiana will be hosting a u1db session together. I need to start work on it as well :) [10:45] NICE! [10:45] nik90, mhh, no, wait, I'm not sure to remember well, but it is optional, because if there is no option it works [10:45] nik90, so regarding the thread in the mailing list: I think we should not compromise the developer experience for pure qml projects for automation. I'm thinking that one easy thing we could do to get rid of the dependency on cmake to run projects on the device is to simply commit a dummy .desktop file on bzr [10:45] nik90, I have to check api [10:46] dpm: +1...because this cmake migration happened at the wrong time just before the MWC... [10:46] this way Qt Creator would work, and the CI could still generate click packages with cmake and overwrite the .desktop file. What do you think? I think the only issue was with Qt Creator not finding it, wasn't it? [10:46] dpm: how does qml without cmake get translated then? [10:47] dpm: yes the issue was that Qt Creator was not finding it. I will try just adding a .desktop file and see if that works [10:47] rpadovani: I see 2 apps using arguments atm, which are calendar and music-app [10:47] rpadovani: http://bazaar.launchpad.net/~ubuntu-calendar-dev/ubuntu-calendar-app/trunk/view/head:/calendar.qml [10:47] rpadovani: http://bazaar.launchpad.net/~music-app-dev/music-app/trunk/view/head:/music-app.qml [10:48] rpadovani: Both use different approaches...calendar uses what you did for clock app. While music app defines them as optional arguments [10:48] rpadovani: confused as to what approach I should take [10:49] nik90, cool. Please let me know your findings, and then if it works, I'll propose it as the alternative on the mailing list [10:49] nik90, mhh, I don't remember why I chose this approach [10:52] rpadovani: Do you have some time to look at this? Or should I take over this bug? [10:52] rpadovani: It is a critical priority task and needs to be done asap. [10:52] nik90, well, calendar is equal to clock because I implemented both :P [10:52] nik90, after a grep on logs: [10:52] Znc-#ubuntu-calc-app.log:Oct 09 21:33:34 WebbyIT: if no arguments are passed, then the %u does nothing [10:53] nik90, yap, I look at it now [11:02] dpm: adding a ubuntu-clock-app.desktop worked [11:02] dpm: I didn''t have to cmake or modify any other file [11:05] nik90, ok, let's go for that, then. Can you send a MP and I'll approve it? [11:05] dpm: yeah sure..1 min [11:05] cool, thanks [11:19] nik90, ok, so, I chose to use dafaultArguments so you have only to write alarm to invoke it: if you use normal argument you have to set alarm=true [11:19] nik90, the branch you linked works well with qmlscene on PC [11:20] nik90, I have no idea on how test it with cmake [11:21] dpm ^^ [11:22] dpm, how can I pass an argument to an app with cmake> [11:22] rpadovani, can you give me some more context on what you are trying to make? [11:23] dpm, so, we want to start clock app on alarm tab if during the startup an argument is passed [11:23] with qmlscene I simply do: qmlscene alarm ubuntu-clock-app.qml [11:24] dpm, but I want to be sure that it works also as in normal installation. How can I test it? [11:25] rpadovani: but doesn't optional arguments allow you to state the url such as alarm:"alarmid" [11:26] let me have a look [11:27] nik90, is a question? What arguments do you want to implement? Because on old branch there is only alarm to open alarm tab [11:27] rpadovani, you can specify additional launch arguments here: http://bazaar.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/trunk/view/head:/CMakeLists.txt#L26 [11:27] on the EXEC line [11:28] rpadovani: that's a question [11:28] dpm, thanks! [11:28] btw, any cmake expert could clarify the following to me? [11:28] http://bazaar.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/trunk/view/head:/CMakeLists.txt#L18 [11:28] if (CLICK_MODE) [11:28] ... [11:28] else (CLICK_MODE) [11:28] ... [11:29] That doesn't make sense to me, but it might be something obvious I'm missing [11:30] nik90, if you want I can implement an argument like --alarm=name:Try/date:23131212421 [11:30] dpm: option(CLICK_MODE [11:30] at the top [11:31] kalikiana, yes, but the if and the else look for the same value - that's the part I'm not getting [11:32] dpm: pretend it says else() and endif() [11:32] ah, I see... [11:32] dpm: that's the spec of cmake if: http://www.cmake.org/cmake/help/cmake2.6docs.html#command:if [11:33] got it, thanks kalikiana and timp [11:33] rpadovani: so in your current implementation, what argument should I pass? [11:33] nik90, only alarm [11:33] qmlscene alarm ubuntu-clock-app.qml [11:33] rpadovani: so qmlscene alarm ubuntu-clock-app.qml ? [11:33] and it opens alarm tab [11:38] ok [11:38] rpadovani: this time I will ask charles to take a look before merging [11:38] do you have link to mp? [11:39] nik90, just a sec, I update cmake and then I'll do a mr [11:42] nik90, https://code.launchpad.net/~rpadovani/ubuntu-clock-app/17Feb2014/+merge/206693 [11:52] hey m-b-o :) [12:06] m-b-o: you have mail ☻ [13:04] You guys are in for a treat. Going to publish some details about a new patch to the clock app on my blog in an hour hopefully with some videos. Let's just say colin king is going to be delighted ;-) [13:07] \o/ [13:16] nice :) === Pici` is now known as Pici [14:21] http://nik90.com/killing-an-ancient-clock-app-bug/ [14:31] nice one nik90 ! [14:32] popey: thnx :) === gatox is now known as gatox_lunch [15:52] m-b-o: ping === gatox_lunch is now known as gatox [17:48] mzanetti, hey :-) [18:09] nik90: are you aware of PerformanceOverlay? [18:14] kalikiana: ah yes, I recently tried it..pretty cool :) [18:14] kalikiana: I wasn't sure of what some graphs indicated [18:15] nik90: in that case I'm sure Kaleo will be very interested in making it clearer [18:15] maybe it even make sense to have a short demo in the app week [18:16] kalikiana: let me take a closer look at it and then identify any points that is not clear [18:16] kalikiana: looking at #ubuntu-touch channel, it seems both timp and Kaleo are busy during that week (carnival) [18:16] kalikiana: so let's see if zsombi can do that..if yes then that would be nice [18:17] those brazilians what can you say, one month inofficial holidays [18:18] kalikiana: lol [19:49] hello [19:50] hello to you as well [19:50] can u help me [19:50] that depends strongly on what you need help with [19:51] :D its easy look at this code [19:51] a.write("asdj",4); [19:51] i want dont use the size and this done automatcly [19:52] i don't understand the question [19:54] i use fstream in c++ [19:54] fstream a; a.open("/home/mrr/Desktop/out2.txt",ios_base::out); a.write("asdj",4); a.close(); } [19:54] number 4 is size of the character [19:54] oh, you want it to automatically figure out the size? [19:55] hell yeah [19:55] :D [19:57] are u there what happend [19:58] sorry my internet went out [19:58] i just use write so i don't know what to tell you [19:58] np [19:58] maybe one of these guys can help [19:58] ok ty [19:59] i like the control of using an explicit streamsize [19:59] try fprintf [19:59] ok let me try [20:00] how to use fprintf [20:02] FILE *f = fopen("file.txt", "w"); const char *text = "asdf"; fprintf(f, "Some text: %s\n", text); fclose(f); [20:02] rpadovani: hey, new nick :) [20:04] ty i love u thats work [20:04] <3 [20:05] glad to hear it [20:07] "w " what is this? [20:07] "w" [20:07] file mode [20:07] w stands for write [20:08] does it work for binary [20:08] http://www.cplusplus.com/reference/cstdio/fopen/ [20:10] writing to binary files is going to require a streamsize i'm pretty sure. since binary files don't care what data is written to them [20:10] i gotta go [20:10] oh ty , sorry i am so Curious [20:10] no problem [20:10] good luck [20:10] gl [20:22] mzanetti, yap, long story :-) [20:23] mzanetti, so, did you read backlog? I started working on camera, I added camera confirm, and now I'm focused on design [20:28] Kaleo: regarding bug https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1280359, is it crashing because of the dialer widget? [20:28] Launchpad bug 1280359 in Ubuntu UI Toolkit "Ubuntu Layouts causes application to crash while switching from one layout to the other" [Critical,In progress] [20:28] kalikiana: I noticed that other apps seem to use layouts without any such crash [20:29] Kaleo: ^^ [20:29] sry not kalikiana [20:39] nik90, hey [20:39] Kaleo: hi [20:39] nik90, I have just attached an even smaller test program [20:39] nik90, I have not investigated further yet but there must be some sort of race condition [20:39] Kaleo: yes I noticed [20:40] Kaleo: Were you able to notice it without the Dialer? [20:40] nik90, yes [20:40] nik90, with that even smaller test program [20:40] nik90, I posted 2 [20:40] nik90, a ShaderEffectSource suffices [20:40] Kaleo: ah okay..I only saw saw the first small program [20:42] nik90, at least you have a "workaround" for now [20:42] nik90, not using the Dialer :) [20:42] Kaleo: lol :) I cannot really do that :P [20:43] nik90, for tonight it might be your only hope :) [20:43] nik90, but between now and tomorrow I'm sure we'll find a fix [20:43] Kaleo: that's fast enough for me :) [20:44] Kaleo: I don't really need the fix on the phone. Just need it on the desktop because that's where the user will try to change the layout [20:44] nik90, understood [20:44] nik90, however it's the same for us [20:44] nik90, there is only one ubuntu :) [20:44] Kaleo: true, but SDK doesn't get updated on phone too often [20:45] nik90, that is giong to change [20:45] nik90, we will probably have something daily now [20:45] Kaleo: wow..awesome! [20:45] nik90, on trusty that is [20:45] nik90, and I mean for the ubuntu-ui-toolkit [20:46] Kaleo: yeah yeah.. [20:46] :) [21:27] rpadovani: no... lost the backlog somehow. But cool stuff. Is there already something to review? [21:31] Kaleo: Is it possible to add a Flickable inside a conditional layout instead of a row or column? [21:37] if something is started from the command line does it bypass the containment stuff? [21:37] if i'm interested in creating a desktop application (because i don't have an ubuntu phone) am I still best off going to developer.ubuntu.com? it seems mostly targeted at phablet [21:40] nik90, I have no idea [21:40] nik90, I'm not too familiar with these APIs [21:40] nik90, zsombi tomorrow will know [21:41] Kaleo: np..I will ask him tomorrow [21:57] mzanetti, I put the code online, but I want to implement design for camera. My question is: design is equal to camera app, what is the best way to implement it? Take camera-app code? I looked at it, and it simply qml [21:57] https://code.launchpad.net/~rpadovani/reminders-app/cameraImprovement [21:58] i can't get the ubuntu touch templates to show up in the sdk. I have tried a few "solutions" from the internet but nothing has worked. anybody have this issue? [21:58] rpadovani: yeah, I guess you can steal a bit from the camera app. However, please don't just pull all the stuff over, but only the things we really need. [21:59] mzanetti, yes, of course! In design doc there are 5 buttons, are they the same of camera app? [22:00] rpadovani: I'd say so, yes [22:00] rpadovani: but not sure we want to implement all the features [22:01] rpadovani: for example, video is not supported (I think) [22:02] mzanetti, ok, mhh, I think the best is to implement flash, zoom (and shoot, of course). We can add others in the future [22:02] rpadovani: +1 [22:03] mzanetti, great, thanks, I try to implement them before wednsday [22:04] rpadovani: cool [22:06] rpadovani: https://code.launchpad.net/~mzanetti/reminders-app/fix-attaching-images/+merge/206816 === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [22:51] rpadovani: here's another one: https://code.launchpad.net/~mzanetti/reminders-app/reminders-sorting/+merge/206819 [22:52] mzanetti, just finished playing Dota, I'm going to review them :-) [22:53] Where do I store application files? [22:55] I need to store a text file for my application on all user-accounts as well as icons and such used by my application, where do I put that? [22:55] This is for desktop ubuntu by the way. [22:56] RyuGuns: text files per user: /home/user/.config/ or /home/user/.cache/, depending if settings or cached data [22:56] RyuGuns: icons and other application data: /usr/share/applicationname/ [22:57] mzanetti: Thank you, but I need it to be the same text file accessible by all users. [22:57] Is /usr/share/ appropriate for that? [22:57] then its appdata and goes to /usr/share/applicationname/ [22:57] Alright, thank you very much! [23:18] mzanetti, need fixing both, I'm sorry [23:18] rpadovani: :D don't be [23:18] mzanetti, I'm not sure what is wrong with attach file [23:19] rpadovani: "First of all, the gallery is open, and I have to return to the app using a swype." [23:19] what do you mean with that? [23:19] di you minimize the gallery yourself? [23:21] mzanetti, yap [23:21] mzanetti, swipe right to change from gallery to reminder [23:21] rpadovani: hmm... when the gallery is open, you should select a picture and then press the confirm button [23:22] mzanetti, yes, after I press the confirm button it disappear, and nothing happens [23:22] the confirm button disappears [23:22] rpadovani: only the confirm button disappears? [23:22] the whole gallery should disappear [23:23] mzanetti, yap, only confirm button disappears [23:24] mzanetti, it becomes standard gallery [23:24] rpadovani: strange. that sounds like a bug in the gallery picker [23:24] mzanetti, I can try to update to today image [23:24] rpadovani: when did you last flash? [23:25] mzanetti, total reset before r 170, now I'm on 181 [23:25] mzanetti, I can do new reflash [23:25] rpadovani: please try. I don't think that's something in reminders, and it works here [23:29] mzanetti, ubuntu-device-flash is going on devel channel, please be patience, I have not a good connection :) [23:29] ok :) [23:33] Wellark: https://code.launchpad.net/~mzanetti/reminders-app/reminders-sorting/+merge/206819/comments/484963 [23:33] rpadovani: https://code.launchpad.net/~mzanetti/reminders-app/reminders-sorting/+merge/206819/comments/484963 [23:36] mzanetti, approved and top approved [23:36] rpadovani: thanks :) [23:45] mzanetti, mhh, I'm travellink at ~200KB/s, I'll reflash and retest your branch tomorrow, I need to sleep [23:45] mzanetti, good night :-) [23:46] rpadovani: no problem. good night