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