[01:40] <ikt> hi
[02:24] <ikt> hello?
[08:24] <Akiva-Thinkpad> Why does the Ubuntu SDK tell me, “do not use comma expression”, and what should I use instead?
[09:43] <DanChapman> Good Morning all o/
[09:50] <rpadovani> Does anyone use bottomEdge with a pagestack? I'm trying to push on top of a pagestack a page with bottom edge, it works but there is a strange transition when the page is pushed
[10:10] <nikwen> Has anyone got the Qt.labs.settings to work in an Ubuntu app yet and can point me to a working example (which is not the API doc)?
[10:11] <nikwen> I'm stuck at getting it to work.
[10:29] <nikwen> Ok, this posts seems to exactly describe my problems: https://lists.launchpad.net/ubuntu-phone/msg09355.html
[10:30] <nikwen> Wouldn't it make sense to point this out in the documentation?
[10:35] <DanChapman> rpadovani, If i remember correctly the clock app and dialer app use a pagestack, but i think they don't push the page until the open animation is finished. I might be wrong though :-/
[10:36] <DanChapman> rpadovani, ahh or do you mean push a page "With a bottom edge" ontop of another page?
[10:36] <rpadovani> DanChapman, they don't have a bottomEdge in a page that as been pushed in the pagestack, they use bottomEdge only to push pages once
[10:36] <rpadovani> DanChapman, yap
[10:37] <rpadovani> DanChapman, but i solved making the bottomEdge invisible until all the page is loaded, thanks for your interesting!
[10:37] <DanChapman> rpadovani, ahh right, i have no idea on that one. For dekko I opted to use the panel component instead so I haven't seen issues with that.
[10:37] <DanChapman> rpadovani, cool :-)
[10:51] <nik90> DanChapman: Thnx, I removed the last duplicate status changed signal emission
[10:54] <DanChapman> nik90, :-) approved!
[10:55] <nik90> DanChapman: thnx. I will have to first merge the prerequisite branch before merging this one to trunk.
[11:03] <DanChapman> nik90, yw :-)
[11:23] <nik90> QML people, if you have time would mind reviewing the active branches in https://code.launchpad.net/~ubuntu-clock-dev/ubuntu-clock-app/utopic-3.0/+activereviews
[11:52] <ikt> hello :)
[12:32] <rpadovani> mzanetti, o/ I'm working on edit notebooks name but, mhh, doesn't work: I'm in the delegate, so to save the new title I use model.name = newName, but in notebook.cpp the setName function isn't called... what's wrong?
[13:04] <mzanetti> rpadovani: no... noet model.name =
[13:05] <mzanetti> rpadovani: model.get(index).name =
[13:05] <mzanetti> rpadovani: the model is read-only. if you want to modify the data you need to get the notebook object
[13:06] <mzanetti> I guess we could implement setData() in the model too... but I didn't bother so far
[13:28] <rpadovani> mzanetti, TypeError: Property 'get' of object QQmlDMAbstractItemModelData(0x1c693d0) is not a function
[13:29] <mzanetti> huh
[13:29] <mzanetti> lemme look up the code
[13:30] <mzanetti> rpadovani: notebook()
[13:30] <mzanetti> rpadovani: check out notebooks.h
[13:31] <rpadovani> mzanetti, mhh? Do you mean the roles?
[13:35] <mzanetti> rpadovani: Q_INVOKABLE Notebook* notebook(int index)
[13:36] <rpadovani> mzanetti, so should be notebook(index).name ?
[13:37] <mzanetti> yes :)
[13:38] <rpadovani> mzanetti, ReferenceError: notebook is not defined, and I imported Evernote 0.1
[13:40] <mzanetti> ah... sorry
[13:40] <mzanetti> well... the "Notebooks" class in c++ is the model in qml
[13:40] <mzanetti> so you'd do model.notebook(index).name
[13:40] <mzanetti> or notebooks.notebook(index)... not sure how the model is called
[13:42] <rpadovani> mzanetti, TypeError: Property 'notebook' of object NotebooksDelegate_QMLTYPE_67(0x2728900) is not a function with model.notebook, and with notebooks.notebook I have no error but nothing happens
[13:43] <mzanetti> push the branch somewhere and let me see
[13:47] <rpadovani> mzanetti, https://code.launchpad.net/~rpadovani/reminders-app/editNotebooksName
[13:47] <rpadovani> mzanetti, the functions setName is called, but at the restart of the app the names disappear
[13:48] <rpadovani> * the new name there isn't
[13:57] <mzanetti> rpadovani: hmmm... indeed the setName is not finished yet
[13:57] <mzanetti> it doesn't save the notebook to the server
[13:58]  * mzanetti fires up an IDE
[14:02] <rpadovani> mzanetti, ok, if you want I'll try to take a look
[14:03] <mzanetti> rpadovani: I'm afraid that might be too much for you at this time... requires creating a new job which requires some knowledge about threads etc
[14:03] <mzanetti> rpadovani: I'm on it... shouldn't take too long
[14:03] <rpadovani> mzanetti, gotcha, thanks :-)
[14:21] <mzanetti> rpadovani: https://code.launchpad.net/~mzanetti/reminders-app/save-notebook/+merge/231123
[14:22] <mzanetti> rpadovani: just like with notes, you need to call save() now on the notebook in order to sync it to the server
[14:29] <rpadovani> mzanetti, line 57 of the diff
[14:29] <rpadovani> notebook.name = m_notebook->guid().toStdString();
[14:29] <rpadovani> should be m_notebook->name() I suppse
[14:29] <mzanetti> ouch
[14:29] <mzanetti> rpadovani: fixed
[14:31] <mzanetti> rpadovani: also note, this only saves the name atm
[14:31] <mzanetti> rpadovani: no support for publishing/sharing notebooks yet
[14:31] <rpadovani> mzanetti, works fine, thanks :-) Only other thing is copyright year, but we can change in future mr
[14:31] <rpadovani> mzanetti, got it, thanks
[14:32] <mzanetti> already updated that
[14:33] <rpadovani> approve and top approve then :-)
[14:37] <zyga> hello
[14:46] <rpadovani> mzanetti, could be a good sentece "Reminders doesn't find any account to use. Please configure one in the system settings." when there is no account? Has to be used  both with no account or no authorization
[14:46] <rpadovani> *sentence
[14:46] <mzanetti> rpadovani: you might want to ask popey about that... or some other native english speaker
[14:47] <mzanetti> but yeah, something along those lines
[14:47] <rpadovani> good point, so, popey, are you there? :=)
[16:44] <popey> rpadovani: hello
[16:47] <rpadovani> popey, hey :-) So, for reminders app, we need a phrase that could be used in two situations: (a) When there is no account and (b) when there is an account, but we have no authorization to use it. In both case, there is a button to open system settings. We have no way to know in which case we are, so we need something that fit both
[16:48] <popey> rpadovani: I'd just say "Please configure an Evernote account in System Settings".
[16:48] <popey> and "Please authorise the Evernote account in System Settings"
[16:48] <popey> or something like that
[16:49] <rpadovani> popey, yap, but these are 2 sentences. We need one that fit both
[16:49] <popey> "Please configure and authorise an Evernote account in System Settings"
[16:52] <rpadovani> Brilliant.
[17:26] <popey> rpadovani: renatu found https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1357983 ..
[17:32] <rpadovani> popey, thanks, the bug is a bit different, I added a comment. I'll try to fix asap
[17:32] <popey> thanks rpadovani, I've marked it critical
[17:42] <popey> nik90: gonna shut down the box I was developing the geonames stuff on, assuming you aren't using it now we have it deployed
[17:43] <nik90> popey: +
[19:49] <ybon> is there an event I can register to in order to know when the app is being quit?
[20:35] <labsin> ybon, you mean not focused any more?
[20:38] <ybon> labsin: no, I meant quit by user
[20:39] <labsin> ybon, you can use Component.onDestruction
[20:40] <labsin> But I think you don't have much processing time before it get SIGKILL'ed
[20:41] <ybon> ok
[20:41] <ybon> I will try
[20:41] <ybon> My need is to save map view
[20:43] <ybon> I don't want to issue a SQL request each time user move the map
[20:43] <ybon> too bad that StateSaver only work when the app is abnormaly killed
[20:43] <ybon> works*
[20:46] <labsin> I don't know about StateSaver
[20:50] <ybon> is there a way to have more debug when running the app on device from QtCreator? When it starts and encounter an error (like a missing id), it justs gives me "Received a failed event"
[20:51] <labsin> ybon, It should (I think). Is the build type debug?
[20:51] <labsin> Most time I make such an error, it gives the line nr etc.
[20:52] <labsin> I don't know about the "on the device" part
[20:53] <ybon> labsin: I mean when running the app on my phone from QtCreator
[20:53] <ybon> when I run it on the Desktop, I have more details
[20:54] <labsin> ybon, that, I don't know
[20:54] <ybon> but now my desktop is on 14.04 and I need 14.10
[20:54] <ybon> so can only run the app on the phone or an emulator ;)
[20:55] <ybon> I don't know about the build type
[20:55] <ybon> where can I set that?
[20:56] <ybon> oh ok
[20:57] <ybon> If I click on the green arrow with the "bug"
[20:59] <labsin> ybon, Yes, It that on release or debug?